[BZ #14898]
[glibc.git] / ChangeLog
blob80c873c43670df8f57dbcbf6d7e00a2f2f60953a
1 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3         [BZ #14898]
4         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5         Change to -1.
7 2012-12-07  David S. Miller  <davem@davemloft.net>
9         * po/libc.pot: Update.
11 2012-12-07  Richard Henderson  <rth@redhat.com>
13         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14         normal/normal case to before the switch.
15         (_FP_DIV): Likewise.
17 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18             Mike Frysinger  <vapier@gentoo.org>
20         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21         check for __NR_fadvise64_64.
23 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26         0, not just to plain "0" as a statement.
27         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28         with cw.
30 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32         * NEWS: Use sourceware.org in Bugzilla URL.
34 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39         * stdio-common/tst-put-error.c (do_test): Add newline to the
40         padded test to ensure flush.
42 2012-12-05  Jeff Law  <law@redhat.com>
44         * sunrpc/etc.rpc (fedfs_admin): Add entry.
46 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48         * README: Don't refer to ports add-on as distributed separately.
49         Mention AArch64 in list of systems supported in the ports add-on.
51         * LICENSES: Add more non-FSF copyright and license notices.
53         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54         ((unused)).
56         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59         10000 as width of padded output.
61 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
63         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66         variable LX with __attribute__ ((unused)).
67         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
68         Likewise.
69         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
70         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
72         with __attribute__ ((unused)).
74 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
76         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
78 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
80         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
81         (CFLAGS-nldbl-acos.c): New variable.
82         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
83         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
84         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
85         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
86         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
87         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
88         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
89         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
90         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
91         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
92         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
93         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
94         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
95         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
96         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
97         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
98         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
99         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
100         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
101         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
102         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
103         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
104         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
105         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
106         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
107         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
108         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
109         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
110         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
111         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
112         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
113         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
114         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
115         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
116         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
117         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
118         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
119         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
120         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
121         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
122         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
123         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
124         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
125         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
126         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
127         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
128         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
129         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
130         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
131         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
132         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
133         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
134         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
135         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
136         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
137         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
138         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
139         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
140         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
141         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
142         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
143         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
144         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
145         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
146         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
147         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
148         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
149         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
150         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
151         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
152         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
153         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
154         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
155         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
156         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
157         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
158         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
159         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
160         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
161         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
162         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
163         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
164         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
165         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
166         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
167         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
168         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
169         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
170         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
171         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
172         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
173         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
174         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
175         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
176         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
177         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
178         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
181         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
183         [BZ #14914]
184         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
185         whole low double instead of just low 47 bits when splitting values
186         into two parts.
188 2012-12-03  Allan McRae  <allan@archlinux.org>
190         * manual/stdio.texi (Predefined Printf Handlers): Remove
191         @hsep and @vsep usage.
193 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
195         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
196         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
198 2012-12-03  Jeff Law  <law@redhat.com>
200         * time/sys/time.h (settimeofday): Do not mark TV argument
201         as __nonnull.
203 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
205         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
206         when currently writing and seek to current position when not.
207         * libio/Makefile (tests): Remove bug-fclose1.
208         * libio/bug-fclose1.c: Delete.
210 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
212         * manual/arith.texi (feenableexcept): Fix typo.
213         (fedisableexcept): Likewise.
215 2012-11-30  Roland McGrath  <roland@hack.frob.com>
217         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
218         second, differently-typed declaration, rather than a cast.
220 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
222         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
223         * include/rpc/svc.h: ... here.
225 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
227         [BZ #13013]
228         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
229         depending n and resplen2 to catch cases where answer
230         equals answerp2.
232 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
234         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
235         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
237 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
239         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
241 2012-11-29  Roland McGrath  <roland@hack.frob.com>
243         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
245 2012-11-28  Jeff Law  <law@redhat.com>
247         [BZ #13761]
248         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
249         dataset_temporary.  Track alloca usage into alloca_used.
250         If dataset is large allocate and release it via malloc/free.
252 2012-06-04  Florian Weimer  <fweimer@redhat.com>
254         [BZ #14197]
255         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
257 2012-11-28  David S. Miller  <davem@davemloft.net>
259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
261 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
263         [BZ #14803]
264         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
265         of pi/2 rounded to nearest to 64 bits.
266         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
267         nearest to 64 bits.
268         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
269         bits.
271 2012-11-28  Jeff Law <law@redhat.com>
272             Martin Osvald <mosvald@redhat.com>
274         [BZ #14889]
275         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
276         * sunrpc/svc.c: Include time.h.
277         (__svc_accept_failed): New function.
278         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
279         any reason other than EINTR, call __svc_accept_failed.
280         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
281         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
283 2012-11-28  Andreas Schwab  <schwab@suse.de>
285         * scripts/abilist.awk: Also handle indirect functions in .opd
286         section.
288 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
290         [BZ #13881]
291         * sysdeps/x86/fpu/powl_helper.c: New file.
292         * sysdeps/x86/fpu/Makefile: Likewise.
293         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
294         (p3): New object.
295         (__ieee754_powl): Use __powl_helper for finite arguments except
296         integer exponents below 8.
297         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
298         (p3): New object.
299         (__ieee754_powl): Use __powl_helper for finite arguments except
300         integer exponents below 8.
301         * math/libm-test.inc (pow_test): Add more tests and enable some
302         previously disabled tests.
303         * sysdeps/i386/fpu/libm-test-ulps: Update.
304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
307             Carlos O'Donell  <carlos_odonell@mentor.com>
309         * nss/makedb.c (is_prime): Assert that input is odd and greater
310         than 4.  Note that fact in a comment too.
311         (next_prime): Add 4 to input.
313 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
315         [BZ #11741]
316         * libio/Makefile (tests): Add test case tst-fwrite-error.
317         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
318         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
319         * libio/tst-fwrite-error.c: New test case.
321 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
323         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
324         before casting to void *.
325         * include/libc-internal.h (__pointer_type): New macro.
326         (__integer_if_pointer_type_sub): Likewise.
327         (__integer_if_pointer_type): Likewise.
328         (cast_to_integer): Likewise.
329         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
330         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
331         before casting to atomic64_t.
332         (atomic_exchange_acq): Likewise.
333         (__arch_exchange_and_add_body): Likewise.
334         (__arch_add_body): Likewise.
335         (atomic_add_negative): Likewise.
336         (atomic_add_zero): Likewise.
338 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
340         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
341         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
342         (add_fdes): Likewise.
343         (linear_search_fdes): Likewise.
344         (binary_search_unencoded_fdes): Likewise.
346 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
348         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
350 2012-11-24  Adam Conrad  <adconrad@0c3.net>
352         * configure.in: Autodetect C++ header directories.
353         * configure: Regenerated.
355 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
357         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
359 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
363 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
365         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
366         LDBL_MANT_DIG == 106]: Disable some tests.
367         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
368         Likewise.
369         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
370         Likewise.
372         [BZ #14871]
373         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
374         input for small inputs.  Return +/- pi/2 for large inputs.
375         * math/libm-test.inc (atan_test): Add more tests.
377         * sysdeps/generic/unwind-dw2-fde-glibc.c
378         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
379         __attribute__ ((unused)).
381         [BZ #14645]
382         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
383         x * y if x and y are nonzero and z is zero.
385         [BZ #14811]
386         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
387         nonzero exponents with absolute value below 0x1p-117 to +/-
388         0x1p-117.
390         [BZ #14869]
391         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
392         up arguments below 2**-450, not just those below 2**-500.
393         * math/libm-test.inc (hypot_test): Add another test.
395         [BZ #14868]
396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
397         Return a+b for ratio over 2**120, not 2**60.
398         * math/libm-test.inc (hypot_test): Add another test.
400         * math/libm-test.inc (clog_test): Use
401         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
402         (clog10_test): Likewise.
404         [BZ #6778]
405         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
407 2012-11-22  Andreas Schwab  <schwab@suse.de>
409         * sysdeps/i386/fpu/libm-test-ulps: Update.
411 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
413         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
414         printf output with newline.
416 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
418         [BZ #14865]
419         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
420         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
421         -z nodlopen, -z initfirst and -z execstack support.
422         * configure: Regenerated.
424         * elf/elf.h (DF_1_NODIRECT): New macro.
425         (DF_1_IGNMULDEF): Likewise.
426         (DF_1_NOKSYMS): Likewise.
427         (DF_1_NOHDR): Likewise.
428         (DF_1_EDITED): Likewise.
429         (DF_1_NORELOC): Likewise.
430         (DF_1_SYMINTPOSE): Likewise.
431         (DF_1_GLOBAUDIT): Likewise.
432         (DF_1_SINGLETON): Likewise.
433         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
434         DT_1_SUPPORTED_MASK bits.
435         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
437 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
439         * sysdeps/unix/make-syscalls.sh: Document prefixes.
441 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
443         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
444         macro.
446         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
447         (sendmmsg): Move declarations...
448         * socket/sys/socket.h: ... here.
449         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
450         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
451         include it from...
452         * socket/recvmmsg.c: ... this new file.
453         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
454         (sendmmsg): Rename to __sendmmsg, create weak alias and make
455         definition of __sendmmsg hidden.
456         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
457         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
458         Move ENOSYS stub into and include it from...
459         * socket/sendmmsg.c: ... this new file.
460         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
461         (sysdep_routines): Move recvmmsg and sendmmsg...
462         * socket/Makefile (routines): ... here.
463         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
464         (GLIBC_PRIVATE): Add __sendmmsg.
465         * include/sys/socket.h (__sendmmsg): Add declarations.
466         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
467         sendmmsg.
469 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
471         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
472         variable I1 with __attribute__ ((unused)).
473         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
475 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
477         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
478         DUMMY variables with __attribute__ ((unused)).
480         * bits/byteswap.h: Include <bits/types.h>.
481         (__bswap_64): Use __uint64_t instead of unsigned long long int.
483 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
485         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
486         string_t.  Do not manually set errno.
487         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
488         length with __strnlen.  Make sure to both set errno and return it on
489         failure.
491 2012-11-19  David S. Miller  <davem@davemloft.net>
493         With help from Joseph Myers.
494         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
495         very large arguments properly.
496         * math/libm-test.inc (atan_test): New tests.
497         (atan2_test): New tests.
498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
501 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
503         [BZ #14856]
504         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
505         Define to 3.
507         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
508         [POSIX] (EADDRNOTAVAIL): Likewise.
509         [POSIX] (EAFNOSUPPORT): Likewise.
510         [POSIX] (EALREADY): Likewise.
511         [POSIX] (ECONNABORTED): Likewise.
512         [POSIX] (ECONNREFUSED): Likewise.
513         [POSIX] (ECONNRESET): Likewise.
514         [POSIX] (EDESTADDRREQ): Likewise.
515         [POSIX] (EDQUOT): Likewise.
516         [POSIX] (EHOSTUNREACH): Likewise.
517         [POSIX] (EIDRM): Likewise.
518         [POSIX] (EISCONN): Likewise.
519         [POSIX] (ELOOP): Likewise.
520         [POSIX] (EMULTIHOP): Likewise.
521         [POSIX] (ENETDOWN): Likewise.
522         [POSIX] (ENETUNREACH): Likewise.
523         [POSIX] (ENOBUFS): Likewise.
524         [POSIX] (ENODATA): Likewise.
525         [POSIX] (ENOLINK): Likewise.
526         [POSIX] (ENOMSG): Likewise.
527         [POSIX] (ENOPROTOOPT): Likewise.
528         [POSIX] (ENOSR): Likewise.
529         [POSIX] (ENOSTR): Likewise.
530         [POSIX] (ENOTCONN): Likewise.
531         [POSIX] (ENOTSOCK): Likewise.
532         [POSIX] (EOPNOTSUPP): Likewise.
533         [POSIX] (EOVERFLOW): Likewise.
534         [POSIX] (EPROTO): Likewise.
535         [POSIX] (EPROTONOSUPPORT): Likewise.
536         [POSIX] (EPROTOTYPE): Likewise.
537         [POSIX] (ESTALE): Likewise.
538         [POSIX] (ETIME): Likewise.
539         [POSIX] (ETXTBSY): Likewise.
540         [POSIX] (EWOULDBLOCK): Likewise.
541         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
542         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
543         [POSIX] (SEEK_CUR): Likewise.
544         [POSIX] (SEEK_END): Likewise.
545         [POSIX || UNIX98] (mode_t): Do not require.
546         [POSIX] (off_t): Likewise.
547         [POSIX] (pid_t): Likewise.
548         [POSIX] (sys/stat.h): Do not allow header.
549         [POSIX] (unistd.h): Likewise.
550         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
551         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
552         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
553         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
554         require.
555         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
556         sigevent): Specify elements.
557         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
558         entry.
559         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
560         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
562         * conform/data/cpio.h-data [POSIX]: Disable whole file.
563         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
564         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
565         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
566         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
567         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
568         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
569         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
570         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
571         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
572         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
573         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
574         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
575         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
576         Likewise.
577         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
578         Likewise.
579         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
580         Likewise.
581         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
582         Likewise.
583         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
584         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
585         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
586         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
587         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
588         Specify lower bound on value.
589         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
590         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
591         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
592         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
593         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
594         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
595         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
596         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
597         value.
598         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
599         as optional.
600         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
601         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
602         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
603         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
604         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
605         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
606         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
607         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
608         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
609         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
610         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
611         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
612         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
613         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
614         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
615         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
616         entry.
617         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
618         optional.
619         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
620         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
621         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
622         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
623         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
624         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
625         Likewise.
626         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
627         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
628         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
629         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
630         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
631         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
632         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
633         as optional.
634         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
635         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
636         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
637         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
638         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
639         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
640         specify as optional.
641         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
642         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
643         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
644         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
645         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
646         [XPG3] (NL_LANGMAX): Likewise.
647         [POSIX || XPG3] (NL_MSGMAX): Likewise.
648         [POSIX || XPG3] (NL_NMAX): Likewise.
649         [POSIX || XPG3] (NL_SETMAX): Likewise.
650         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
651         [XPG3] (NZERO): Likewise.
652         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
653         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
654         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
655         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
656         (REG_ERANGE): Expect.
657         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
658         optional-constant.
659         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
660         Use (void) in prototype.
661         [POSIX] (*_t): Allow.
662         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
663         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
664         (WRDE_BADVAL): Expect.
666         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
667         expect.
668         [XPG3 || XPG4] (O_RSYNC): Likewise.
669         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
670         Likewise.
671         [XPG3 || XPG4] (pthread_sigmask): Likewise.
672         [XPG3 || XPG4] (sigqueue): Likewise.
673         [XPG3 || XPG4] (sigtimedwait): Likewise.
674         [XPG3 || XPG4] (sigwaitinfo): Likewise.
675         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
676         [XPG3 || XPG4] (vsnprintf): Likewise.
677         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
678         Likewise.
679         [XPG3 || XPG4] (blksize_t): Likewise.
680         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
681         Likewise.
682         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
683         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
684         [XPG3 || XPG4] (struct itimerspec): Likewise.
685         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
686         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
687         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
688         [XPG3 || XPG4] (clockid_t): Likewise.
689         [XPG3 || XPG4] (timer_t): Likewise.
690         [XPG3 || XPG4] (clock_getres): Likewise.
691         [XPG3 || XPG4] (clock_gettime): Likewise.
692         [XPG3 || XPG4] (clock_settime): Likewise.
693         [XPG3 || XPG4] (nanosleep): Likewise.
694         [XPG3 || XPG4] (timer_create): Likewise.
695         [XPG3 || XPG4] (timer_delete): Likewise.
696         [XPG3 || XPG4] (timer_gettime): Likewise.
697         [XPG3 || XPG4] (timer_getoverrun): Likewise.
698         [XPG3 || XPG4] (timer_settime): Likewise.
699         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
700         [XPG3 || XPG4] (getlogin_r): Likewise.
701         [XPG3 || XPG4] (pread): Likewise.
702         [XPG3 || XPG4] (pthread_atfork): Likewise.
703         [XPG3 || XPG4] (pwrite): Likewise.
705         [BZ #14835]
706         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
707         <bits/siginfo.h>.
709 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
711         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
712         finalizing MALLSTREAM.
714         * sysdeps/mach/hurd/syncfs.c: New file.
716 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
718         [BZ #14719]
719         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
720         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
721         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
722         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
723         (_nss_dns_gethostbyname4_r): Likewise.
724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
725         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
727 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
729         [BZ #13763]
730         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
732 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
734         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
735         * elf/cache.c (print_entry): Print ",AArch64" for
736         FLAG_AARCH64_LIB64
738         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
739         * elf/cache.c (print_entry): Print ",hard-float" for
740         FLAG_ARM_LIBHF.
742 2012-11-18  David S. Miller  <davem@davemloft.net>
744         With help from Joseph Myers.
745         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
746         cutoff to 2**-13.
747         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
748         cutoff to 2**-25.
749         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
750         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
751         small.
752         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
753         * math/libm-test.inc (y0_test): New tests.
754         (y1_test): New tests.
755         * sysdeps/i386/fpu/libm-test-ulps: Update.
756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
759 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
761         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
762         64-bit targets.
763         * configure: Regenerated.
765 2012-11-17  David S. Miller  <davem@davemloft.net>
767         [BZ #14811]
768         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
769         nonzero exponents with absolute value below 0x1p-128 to +/-
770         0x1p-128.
772 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
774         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
776         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
778         * posix/getconf-speclist.c: New file.
779         * posix/posix-envs.def: Likewise.
780         * posix/confstr.c (START_ENV_GROUP): New macro.
781         (END_ENV_GROUP): Likewise.
782         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
783         (KNOWN_PRESENT_ENV_STRING): Likewise.
784         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
785         (UNKNOWN_ENVIRONMENT): Likewise.
786         (confstr): Include posix-envs.def instead of handling
787         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
788         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
789         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
790         (END_ENV_GROUP): Likewise.
791         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
792         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
793         (UNKNOWN_ENVIRONMENT): Likewise.
794         (__sysconf): Include posix-envs.def instead of handling associated
795         cases directly here.
796         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
797         preprocessing getconf-speclist.c rather than running getconf or
798         generating empty file.
800 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
802         * scripts/check-local-headers.sh: Ignore 'mach' headers.
804 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
806         [BZ #14672]
807         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
809 2012-11-16  David S. Miller  <davem@davemloft.net>
811         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
812         smaller than LDBL_EPSILON/2.0L, just return xm1.
814 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
816         * elf/tst-array1.c (init): Set constructor priority to 1000.
817         (fini): Set destructor priority to 1000.
818         * elf/tst-array2dep.c: Likewise.
820 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
822         [BZ #11741]
823         * libio/fileops.c (_IO_new_file_write): Correctly return error.
824         (_IO_new_file_xsputn): Also return EOF if none of the input
825         data was written when overflow failed.
826         * libio/iopadn.c (_IO_padn): Likewise.
827         * libio/iowpadn.c (_IO_wpadn): Likewise.
828         * stdio-common/tst-put-error.c: Add copyright notice.
829         (do_test): Add case for printing padded string.
830         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
831         _IO_padn returned error.
832         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
833         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
834         return EOF.
836 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
838         * libio/libioP.h: Add comment note that the references to C++
839         bits are now obsolete.
841 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
843         * math/libm-test.inc (check_complex): Use asprintf.
845 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
847         * debug/pcprofiledump.c (print_version): Update copyright year.
848         * malloc/memusagestat.c (print_version): Likewise.
850 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
852         [BZ #14831]
853         * elf/Makefile (tests): Add tst-audit8.
854         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
855         ($(objpfx)tst-audit8.out): New target.
856         (tst-audit8-ENV): New variable.
857         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
858         audit if l_reloc_result is NULL.
859         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
860         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
861         * elf/tst-audit8.c: New file.
863 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
865         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
866         * misc/Makefile (CFLAGS-select.c): Define.
867         * posix/Makefile (CFLAGS-pause.c): Define.
869 2012-11-13  David S. Miller  <davem@davemloft.net>
871         * crypt/Makefile: Move test targets after toplevel Rules
872         inclusion.  Grab any necessary sysdep routines when linking.
873         * crypt/md5.c (md5_process_block): Remove define, we will always
874         name it __md5_process_block.
875         (md5_finish_ctx): Update md5_process_block call.
876         (md5_stream): Likewise.
877         (md5_process_bytes): Likewise.
878         (md5_process_block): Rename to __md5_process_block and move to ...
879         * crypt/md5-block.c: ... here.
880         * crypt/sha256.c (sha256_process_block): Move to ...
881         * crypt/sha256-block.c: ... here.
882         * crypt/sha512.c (sha512_process_block): Move to ...
883         * crypt/sha512-block.c: ... here.
884         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
885         path.
886         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
887         * sysdeps/sparc/sparc64/multiarch/Makefile
888         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
889         crypt subdir.
890         (localedef-aux): Add md5 crypto assembler when in locale subdir.
891         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
892         multiarch changes.
893         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
894         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
895         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
896         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
897         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
898         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
899         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
900         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
901         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
902         file.
903         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
904         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
905         file.
906         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
908 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
910         * timezone/tzselect.ksh: Update from tzcode git revision
911         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
912         * timezone/zdump.c: Likewise.
913         * timezone/zic.c: Likewise.
914         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
915         in TZVERSION setting, not $(PKGVERSION).
916         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
917         REPORT_BUGS_TO settings.
919         [BZ #14838]
920         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
921         macro.
923 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
925         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
926         detection to immediately after _FP_ROUND().
927         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
928         bits are 0.
930 2012-11-11  David S. Miller  <davem@davemloft.net>
932         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
933         inttypes.h
934         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
935         __close rather than their public counterparts.
937 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
939         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
940         file.
941         [UNIX98] (sem_timedwait): Do not expect.
942         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
943         [XPG4 || UNIX98] (sockatmark): Do not expect.
944         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
945         (clock_getcpuclockid): Do not expect.
946         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
947         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
948         Do not expect.
949         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
950         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
951         [UNIX98] (vwscanf): Likewise.
952         [UNIX98] (vswscanf): Likewise.
954 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
956         * timezone/version.h: Remove file.
957         * timezone/README: Do not refer to version.h.
958         * timezone/Makefile ($(objpfx)zic.o): New dependency on
959         $(objpfx)version.h.
960         ($(objpfx)zdump.o): Likewise.
961         ($(objpfx)version.h): New target.
963         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
964         2012i.
965         * timezone/README: Don't mention modification to tzselect.ksh.
966         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
967         work on unmodified tzselect.ksh.  Substitute version numbers in
968         tzselect.ksh.
970         * Makefile (format-me): Remove.
971         (INSTALL): Adjust indentation.  Use commands directly instead of
972         using $(format-me).
974         * aclocal.m4 (ACX_PKGVERSION): New macro.
975         (ACX_BUGURL): Likewise.
976         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
977         (PKGVERSION): New AC_DEFINE_UNQUOTED.
978         (REPORT_BUGS_TO): Likewise.
979         * configure: Regenerated.
980         * config.h.in (PKGVERSION): New macro.
981         (REPORT_BUGS_TO): Likewise.
982         * config.make.in (PKGVERSION): New variable.
983         (PKGVERSION_TEXI): Likewise.
984         (REPORT_BUGS_TO): Likewise.
985         (REPORT_BUGS_TEXI): Likewise.
986         * Makefile (format-me): Use -I$(common-objpfx)manual.
987         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
988         ($(common-objpfx)manual/%): New target.
989         (manual/%): Remove target.
990         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
991         (print_version): Use PKGVERSION.
992         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
993         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
994         and REPORT_BUGS_TO.
995         ($(objpfx)xtrace): Likewise.
996         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
997         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
998         (print_version): Use PKGVERSION.
999         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1000         (do_version): Use PKGVERSION.
1001         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1002         REPORT_BUGS_TO.
1003         (common-ldd-rewrite): Likewise.
1004         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1005         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1006         (print_version): Use PKGVERSION.
1007         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1008         * elf/pldd.c (argp_program_bug_address): Remove variable.
1009         (more_help): New function.
1010         (argp): Use more_help.
1011         (print_version): Use PKGVERSION.
1012         * elf/sln.c (main): Use PKGVERSION.
1013         (usage): Use REPORT_BUGS_TO.
1014         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1015         (top level): Use PKGVERSION.
1016         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1017         (print_version): Use PKGVERSION.
1018         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1019         (print_version): Use PKGVERSION.
1020         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1021         (print_version): Use PKGVERSION.
1022         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1023         (print_version): Use PKGVERSION.
1024         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1025         (print_version): Use PKGVERSION.
1026         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1027         (print_version): Use PKGVERSION.
1028         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1029         and BUGURL.
1030         ($(objpfx)memusage): Likewise.
1031         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1032         (do_version): Use PKGVERSION.
1033         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1034         (print_version): Use PKGVERSION.
1035         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1036         ($PKGVERSION): New variable.
1037         ($REPORT_BUGS_TO): Likewise.
1038         (usage): Use $REPORT_BUGS_TO.
1039         (top level): Use $PKGVERSION.
1040         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1041         ($(objpfx)pkgvers.texi): New rule.
1042         ($(objpfx)stamp-pkgvers): Likewise.
1043         * manual/install.texi: Include pkgvers.texi.
1044         (--with-pkgversion): Document new configure option.
1045         (--with-bugurl): Likewise.
1046         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1047         than necessarily for this particular distribution.  Use
1048         REPORT_BUGS_TO for where to report bugs.
1049         * INSTALL: Regenerated.
1050         * manual/libc.texinfo: Include pkgvers.texi.
1051         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1052         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1053         (print_version): Use PKGVERSION.
1054         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1055         (print_version): Use PKGVERSION.
1056         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1057         (print_version): Use PKGVERSION.
1058         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1059         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1060         macro.
1061         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1062         (print_version): Use PKGVERSION.
1063         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1064         (print_version): Use PKGVERSION.
1065         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1066         and PKGVERSION.
1068         * timezone/checktab.awk: Update from tzcode 2012i.
1069         * timezone/ialloc.c: Likewise.
1070         * timezone/private.h: Likewise.
1071         * timezone/scheck.c: Likewise.
1072         * timezone/tzfile.h: Likewise.
1073         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1074         (TZVERSION): Hardcode tzcode version number.
1075         * timezone/zdump.c: Update from tzcode 2012i.
1076         * timezone/zic.c: Likewise.
1077         * timezone/version.h: New file.
1078         * timezone/README: Describe version.h.  Update upstream location.
1080         [BZ #14824]
1081         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1082         (mktemp): Enable declaration.
1083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1085         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1087         Likewise.
1088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1089         Likewise.
1090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1091         Likewise.
1092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1093         Likewise.
1094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1095         Likewise.
1096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1097         Likewise.
1099         [BZ #14821]
1100         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1101         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1102         for copies of such integer values.
1103         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1104         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1106 2012-11-09  Andreas Jaeger  <aj@suse.de>
1108         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1109         definitions and declarations that are provided by
1110         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1112 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1114         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1115         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1116         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1117         definition.
1119 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1121         * elf/elf.h: Update comment before AArch64 relocations.
1123 2012-11-07  David S. Miller  <davem@davemloft.net>
1125         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1126         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1127         (__start_context): Declare.
1128         (__makecontext_ret): Delete.
1129         (__makecontext): Hook up __start_context instead of
1130         __makecontext_ret.
1131         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1132         (sysdep_routines): Add __start_context when in stdlib.
1134 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1136         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1137         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1138         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1139         hardcoded "nm".
1140         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1141         (READELF): New variable.  Use it instead of hardcoded "readelf".
1143 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1145         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1146         * sysdeps/x86/Makefile: Here.
1147         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1148         * sysdeps/x86/tst-xmmymm.sh: This.
1150 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1152         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1153         expectations.
1154         [UNIX98] (pthread_barrier_t): Do not expect.
1155         [UNIX98] (pthread_barrierattr_t): Likewise.
1156         [UNIX98] (pthread_spinlock_t): Likewise.
1157         [UNIX98] (pthread_barrier_destroy): Likewise.
1158         [UNIX98] (pthread_barrier_init): Likewise.
1159         [UNIX98] (pthread_barrier_wait): Likewise.
1160         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1161         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1162         [UNIX98] (pthread_barrierattr_init): Likewise.
1163         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1164         [UNIX98] (pthread_getcpuclockid): Likewise.
1165         [UNIX98] (pthread_mutex_timedlock): Likewise.
1166         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1167         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1168         [UNIX98] (pthread_sigmask): Likewise.
1169         [UNIX98] (pthread_spin_destroy): Likewise.
1170         [UNIX98] (pthread_spin_init): Likewise.
1171         [UNIX98] (pthread_spin_lock): Likewise.
1172         [UNIX98] (pthread_spin_trylock): Likewise.
1173         [UNIX98] (pthread_spin_unlock): Likewise.
1174         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1175         Do not expect.
1176         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1177         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1178         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1179         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1180         [XPG3 || XPG4] (pthread_key_t): Likewise.
1181         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1182         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1183         [XPG3 || XPG4] (pthread_once_t): Likewise.
1184         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1185         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1186         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1187         [XPG3 || XPG4] (pthread_t): Likewise.
1189         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1190         not expect.
1191         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1193         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1194         Change function return type to int.
1196         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1197         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1198         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1199         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1200         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1201         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1202         [!POSIX] (posix_madvise): Likewise.
1203         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1204         && !UNIX98].
1205         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1206         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1207         (mode_t): Likewise.
1208         (posix_mem_offset): Likewise.
1209         (posix_typed_mem_get_info): Likewise.
1210         (posix_typed_mem_open): Likewise.
1212         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1213         Change condition to [XOPEN2K8].
1215         * conform/conformtest.pl: Preprocess allow-header data with -x c
1216         instead of from stdin.
1217         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1218         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1219         [C99-based standards] (cerfc): Likewise.
1220         [C99-based standards] (cexp2): Likewise.
1221         [C99-based standards] (cexpm1): Likewise.
1222         [C99-based standards] (clog10): Likewise.
1223         [C99-based standards] (clog1p): Likewise.
1224         [C99-based standards] (clog2): Likewise.
1225         [C99-based standards] (clgamma): Likewise.
1226         [C99-based standards] (ctgamma): Likewise.
1227         [C99-based standards] (cerff): Likewise.
1228         [C99-based standards] (cerfcf): Likewise.
1229         [C99-based standards] (cexp2f): Likewise.
1230         [C99-based standards] (cexpm1f): Likewise.
1231         [C99-based standards] (clog10f): Likewise.
1232         [C99-based standards] (clog1pf): Likewise.
1233         [C99-based standards] (clog2f): Likewise.
1234         [C99-based standards] (clgammaf): Likewise.
1235         [C99-based standards] (ctgammaf): Likewise.
1236         [C99-based standards] (cerfl): Likewise.
1237         [C99-based standards] (cerfcl): Likewise.
1238         [C99-based standards] (cexp2l): Likewise.
1239         [C99-based standards] (cexpm1l): Likewise.
1240         [C99-based standards] (clog10l): Likewise.
1241         [C99-based standards] (clog1pl): Likewise.
1242         [C99-based standards] (clog2l): Likewise.
1243         [C99-based standards] (clgammal): Likewise.
1244         [C99-based standards] (ctgammal): Likewise.
1245         * conform/data/inttypes.h-data [C99-based standards]: Include
1246         stdint.h-data.  Remove all expectations for stdint.h contents.
1247         [C99-based standards] (PRI*): Do not allow.
1248         [C99-based standards] (SCN*): Likewise.
1249         [C99-based standards] (*_t): Likewise.
1250         [C99-based-standards] (PRId8): Expect macro.
1251         [C99-based-standards] (PRIi8): Likewise.
1252         [C99-based-standards] (PRIo8): Likewise.
1253         [C99-based-standards] (PRIu8): Likewise.
1254         [C99-based-standards] (PRIx8): Likewise.
1255         [C99-based-standards] (PRIX8): Likewise.
1256         [C99-based-standards] (SCNd8): Likewise.
1257         [C99-based-standards] (SCNi8): Likewise.
1258         [C99-based-standards] (SCNo8): Likewise.
1259         [C99-based-standards] (SCNu8): Likewise.
1260         [C99-based-standards] (SCNx8): Likewise.
1261         [C99-based-standards] (PRIdLEAST8): Likewise.
1262         [C99-based-standards] (PRIiLEAST8): Likewise.
1263         [C99-based-standards] (PRIoLEAST8): Likewise.
1264         [C99-based-standards] (PRIuLEAST8): Likewise.
1265         [C99-based-standards] (PRIxLEAST8): Likewise.
1266         [C99-based-standards] (PRIXLEAST8): Likewise.
1267         [C99-based-standards] (SCNdLEAST8): Likewise.
1268         [C99-based-standards] (SCNiLEAST8): Likewise.
1269         [C99-based-standards] (SCNoLEAST8): Likewise.
1270         [C99-based-standards] (SCNuLEAST8): Likewise.
1271         [C99-based-standards] (SCNxLEAST8): Likewise.
1272         [C99-based-standards] (PRIdFAST8): Likewise.
1273         [C99-based-standards] (PRIiFAST8): Likewise.
1274         [C99-based-standards] (PRIoFAST8): Likewise.
1275         [C99-based-standards] (PRIuFAST8): Likewise.
1276         [C99-based-standards] (PRIxFAST8): Likewise.
1277         [C99-based-standards] (PRIXFAST8): Likewise.
1278         [C99-based-standards] (SCNdFAST8): Likewise.
1279         [C99-based-standards] (SCNiFAST8): Likewise.
1280         [C99-based-standards] (SCNoFAST8): Likewise.
1281         [C99-based-standards] (SCNuFAST8): Likewise.
1282         [C99-based-standards] (SCNxFAST8): Likewise.
1283         [C99-based-standards] (PRId16): Likewise.
1284         [C99-based-standards] (PRIi16): Likewise.
1285         [C99-based-standards] (PRIo16): Likewise.
1286         [C99-based-standards] (PRIu16): Likewise.
1287         [C99-based-standards] (PRIx16): Likewise.
1288         [C99-based-standards] (PRIX16): Likewise.
1289         [C99-based-standards] (SCNd16): Likewise.
1290         [C99-based-standards] (SCNi16): Likewise.
1291         [C99-based-standards] (SCNo16): Likewise.
1292         [C99-based-standards] (SCNu16): Likewise.
1293         [C99-based-standards] (SCNx16): Likewise.
1294         [C99-based-standards] (PRIdLEAST16): Likewise.
1295         [C99-based-standards] (PRIiLEAST16): Likewise.
1296         [C99-based-standards] (PRIoLEAST16): Likewise.
1297         [C99-based-standards] (PRIuLEAST16): Likewise.
1298         [C99-based-standards] (PRIxLEAST16): Likewise.
1299         [C99-based-standards] (PRIXLEAST16): Likewise.
1300         [C99-based-standards] (SCNdLEAST16): Likewise.
1301         [C99-based-standards] (SCNiLEAST16): Likewise.
1302         [C99-based-standards] (SCNoLEAST16): Likewise.
1303         [C99-based-standards] (SCNuLEAST16): Likewise.
1304         [C99-based-standards] (SCNxLEAST16): Likewise.
1305         [C99-based-standards] (PRIdFAST16): Likewise.
1306         [C99-based-standards] (PRIiFAST16): Likewise.
1307         [C99-based-standards] (PRIoFAST16): Likewise.
1308         [C99-based-standards] (PRIuFAST16): Likewise.
1309         [C99-based-standards] (PRIxFAST16): Likewise.
1310         [C99-based-standards] (PRIXFAST16): Likewise.
1311         [C99-based-standards] (SCNdFAST16): Likewise.
1312         [C99-based-standards] (SCNiFAST16): Likewise.
1313         [C99-based-standards] (SCNoFAST16): Likewise.
1314         [C99-based-standards] (SCNuFAST16): Likewise.
1315         [C99-based-standards] (SCNxFAST16): Likewise.
1316         [C99-based-standards] (PRId32): Likewise.
1317         [C99-based-standards] (PRIi32): Likewise.
1318         [C99-based-standards] (PRIo32): Likewise.
1319         [C99-based-standards] (PRIu32): Likewise.
1320         [C99-based-standards] (PRIx32): Likewise.
1321         [C99-based-standards] (PRIX32): Likewise.
1322         [C99-based-standards] (SCNd32): Likewise.
1323         [C99-based-standards] (SCNi32): Likewise.
1324         [C99-based-standards] (SCNo32): Likewise.
1325         [C99-based-standards] (SCNu32): Likewise.
1326         [C99-based-standards] (SCNx32): Likewise.
1327         [C99-based-standards] (PRIdLEAST32): Likewise.
1328         [C99-based-standards] (PRIiLEAST32): Likewise.
1329         [C99-based-standards] (PRIoLEAST32): Likewise.
1330         [C99-based-standards] (PRIuLEAST32): Likewise.
1331         [C99-based-standards] (PRIxLEAST32): Likewise.
1332         [C99-based-standards] (PRIXLEAST32): Likewise.
1333         [C99-based-standards] (SCNdLEAST32): Likewise.
1334         [C99-based-standards] (SCNiLEAST32): Likewise.
1335         [C99-based-standards] (SCNoLEAST32): Likewise.
1336         [C99-based-standards] (SCNuLEAST32): Likewise.
1337         [C99-based-standards] (SCNxLEAST32): Likewise.
1338         [C99-based-standards] (PRIdFAST32): Likewise.
1339         [C99-based-standards] (PRIiFAST32): Likewise.
1340         [C99-based-standards] (PRIoFAST32): Likewise.
1341         [C99-based-standards] (PRIuFAST32): Likewise.
1342         [C99-based-standards] (PRIxFAST32): Likewise.
1343         [C99-based-standards] (PRIXFAST32): Likewise.
1344         [C99-based-standards] (SCNdFAST32): Likewise.
1345         [C99-based-standards] (SCNiFAST32): Likewise.
1346         [C99-based-standards] (SCNoFAST32): Likewise.
1347         [C99-based-standards] (SCNuFAST32): Likewise.
1348         [C99-based-standards] (SCNxFAST32): Likewise.
1349         [C99-based-standards] (PRId64): Likewise.
1350         [C99-based-standards] (PRIi64): Likewise.
1351         [C99-based-standards] (PRIo64): Likewise.
1352         [C99-based-standards] (PRIu64): Likewise.
1353         [C99-based-standards] (PRIx64): Likewise.
1354         [C99-based-standards] (PRIX64): Likewise.
1355         [C99-based-standards] (SCNd64): Likewise.
1356         [C99-based-standards] (SCNi64): Likewise.
1357         [C99-based-standards] (SCNo64): Likewise.
1358         [C99-based-standards] (SCNu64): Likewise.
1359         [C99-based-standards] (SCNx64): Likewise.
1360         [C99-based-standards] (PRIdLEAST64): Likewise.
1361         [C99-based-standards] (PRIiLEAST64): Likewise.
1362         [C99-based-standards] (PRIoLEAST64): Likewise.
1363         [C99-based-standards] (PRIuLEAST64): Likewise.
1364         [C99-based-standards] (PRIxLEAST64): Likewise.
1365         [C99-based-standards] (PRIXLEAST64): Likewise.
1366         [C99-based-standards] (SCNdLEAST64): Likewise.
1367         [C99-based-standards] (SCNiLEAST64): Likewise.
1368         [C99-based-standards] (SCNoLEAST64): Likewise.
1369         [C99-based-standards] (SCNuLEAST64): Likewise.
1370         [C99-based-standards] (SCNxLEAST64): Likewise.
1371         [C99-based-standards] (PRIdFAST64): Likewise.
1372         [C99-based-standards] (PRIiFAST64): Likewise.
1373         [C99-based-standards] (PRIoFAST64): Likewise.
1374         [C99-based-standards] (PRIuFAST64): Likewise.
1375         [C99-based-standards] (PRIxFAST64): Likewise.
1376         [C99-based-standards] (PRIXFAST64): Likewise.
1377         [C99-based-standards] (SCNdFAST64): Likewise.
1378         [C99-based-standards] (SCNiFAST64): Likewise.
1379         [C99-based-standards] (SCNoFAST64): Likewise.
1380         [C99-based-standards] (SCNuFAST64): Likewise.
1381         [C99-based-standards] (SCNxFAST64): Likewise.
1382         [C99-based-standards] (PRIdMAX): Likewise.
1383         [C99-based-standards] (PRIiMAX): Likewise.
1384         [C99-based-standards] (PRIoMAX): Likewise.
1385         [C99-based-standards] (PRIuMAX): Likewise.
1386         [C99-based-standards] (PRIxMAX): Likewise.
1387         [C99-based-standards] (PRIXMAX): Likewise.
1388         [C99-based-standards] (SCNdMAX): Likewise.
1389         [C99-based-standards] (SCNiMAX): Likewise.
1390         [C99-based-standards] (SCNoMAX): Likewise.
1391         [C99-based-standards] (SCNuMAX): Likewise.
1392         [C99-based-standards] (SCNxMAX): Likewise.
1393         [C99-based-standards] (PRIdPTR): Likewise.
1394         [C99-based-standards] (PRIiPTR): Likewise.
1395         [C99-based-standards] (PRIoPTR): Likewise.
1396         [C99-based-standards] (PRIuPTR): Likewise.
1397         [C99-based-standards] (PRIxPTR): Likewise.
1398         [C99-based-standards] (PRIXPTR): Likewise.
1399         [C99-based-standards] (SCNdPTR): Likewise.
1400         [C99-based-standards] (SCNiPTR): Likewise.
1401         [C99-based-standards] (SCNoPTR): Likewise.
1402         [C99-based-standards] (SCNuPTR): Likewise.
1403         [C99-based-standards] (SCNxPTR): Likewise.
1404         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1405         allow.
1406         * conform/data/stdint.h-data: Update comments to clarify
1407         requirements.
1408         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1409         type.
1410         [C99-based standards] (INT8_MAX): Likewise.
1411         [C99-based standards] (INT16_MIN): Likewise.
1412         [C99-based standards] (INT16_MAX): Likewise.
1413         [C99-based standards] (INT32_MIN): Likewise.
1414         [C99-based standards] (INT32_MAX): Likewise.
1415         [C99-based standards] (INT64_MIN): Likewise.
1416         [C99-based standards] (INT64_MAX): Likewise.
1417         [C99-based standards] (UINT8_MAX): Likewise.
1418         [C99-based standards] (UINT16_MAX): Likewise.
1419         [C99-based standards] (UINT32_MAX): Likewise.
1420         [C99-based standards] (UINT64_MAX): Likewise.
1421         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1422         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1423         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1424         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1425         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1426         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1427         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1428         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1429         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1430         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1431         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1432         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1433         [C99-based standards] (INT_FAST8_MIN): Likewise.
1434         [C99-based standards] (INT_FAST8_MAX): Likewise.
1435         [C99-based standards] (INT_FAST16_MIN): Likewise.
1436         [C99-based standards] (INT_FAST16_MAX): Likewise.
1437         [C99-based standards] (INT_FAST32_MIN): Likewise.
1438         [C99-based standards] (INT_FAST32_MAX): Likewise.
1439         [C99-based standards] (INT_FAST64_MIN): Likewise.
1440         [C99-based standards] (INT_FAST64_MAX): Likewise.
1441         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1442         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1443         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1444         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1445         [C99-based standards] (INTPTR_MIN): Likewise.
1446         [C99-based standards] (INTPTR_MAX): Likewise.
1447         [C99-based standards] (UINTPTR_MAX): Likewise.
1448         [C99-based standards] (INTMAX_MIN): Likewise.
1449         [C99-based standards] (INTMAX_MAX): Likewise.
1450         [C99-based standards] (UINTMAX_MAX): Likewise.
1451         [C99-based standards] (PTRDIFF_MIN): Likewise.
1452         [C99-based standards] (PTRDIFF_MAX): Likewise.
1453         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1454         [C99-based standards] (SIZE_MAX): Likewise.
1455         [C99-based standards] (WCHAR_MAX): Likewise.
1456         [C99-based standards] (WINT_MAX): Likewise.
1457         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1458         constraint on value.
1459         [C99-based standards] (WCHAR_MIN): Likewise.
1460         [C99-based standards] (WINT_MIN): Likewise.
1461         [C99-based standards] (*_t): Allow.
1462         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1463         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1464         Include math.h-data and complex.h-data.  Remove all expectations
1465         of math.h and complex.h contents.
1466         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1467         at end of line.
1468         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1469         (struct tm): Expect tag.
1470         [C99-based-standards] (wcstof): Expect function.
1471         [C99-based-standards] (wcstold): Likewise.
1472         [C99-based-standards] (wcstoll): Likewise.
1473         [C99-based-standards] (wcstoull): Likewise.
1474         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1475         macro-int-constant.  Specify type.
1476         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1477         constraint on value.
1478         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1479         Specify type.
1480         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1481         Specify value.
1482         [ISO C standards]: Do not allow headers.
1483         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1484         wcs[abcdefghijklmnopqrstuvwxyz]*.
1485         [ISO C standards] (*_t): Do not allow.
1486         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1487         Expect function.
1488         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1489         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1490         Specify type.
1491         [ISO C standards]: Do not allow headers.
1492         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1493         is[abcdefghijklmnopqrstuvwxyz]*.
1494         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1495         to[abcdefghijklmnopqrstuvwxyz]*.
1496         [ISO C standards] (*_t): Do not allow.
1497         * conform/data/stdalign.h-data: New file.
1498         * conform/data/stdbool.h-data: Likewise.
1499         * conform/data/stdnoreturn.h-data: Likewise.
1501 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1503         [BZ #14815]
1504         * manual/filesys.texi (Directory Entries): Typo fix.
1505         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1507 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1509         * elf/elf.h (EM_AARCH64): New macro.
1510         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1511         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1512         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1513         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1514         (R_AARCH64_TLSDESC): Likewise.
1515         (NT_ARM_TLS): Likewise.
1516         (NT_ARM_HW_BREAK): Likewise.
1517         (NT_ARM_HW_WATCH): Likewise.
1519 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1521         [BZ #14811]
1522         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1523         (__ieee754_powl): Saturate nonzero exponents with absolute value
1524         below 0x1p-79 to +/- 0x1p-79.
1525         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1526         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1527         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1528         nonzero exponents with absolute value below 0x1p-32 to +/-
1529         0x1p-32.
1530         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1531         (__ieee754_powl): Saturate nonzero exponents with absolute value
1532         below 0x1p-79 to +/- 0x1p-79.
1533         * math/libm-test.inc (pow_test): Add more tests.
1535 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1537         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1538         _dl_s390_cap_flags with kernel. Increase string length.
1539         (_dl_s390_platforms): Add z196 and zEC12.
1541 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1543         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1544         Change XOPEN21K to XOPEN2K.
1546 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1548         * string/memmove.c: Use memcpy when possible.
1550 2012-11-06  Andreas Jaeger  <aj@suse.de>
1552         * po/eo.po: Update from translation team.
1554 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #14793]
1557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1558         exponent and small x and y exponents, scale x or y up.  Increase
1559         by 2 the exponent used in scaling up.
1560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1561         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1562         * math/libm-test.inc (fma_test): Add more tests.
1563         (fma_test_towardzero): Likewise.
1564         (fma_test_downward): Likewise.
1565         (fma_test_upward): Likewise.
1567 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
1569         [BZ #14805]
1570         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1571         fenv_t *.
1573         [BZ #14801]
1574         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1575         namespace for names of struct fields.
1576         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1577         fenv_t fields.
1578         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1579         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1581 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1583         [BZ #3665]
1584         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1586 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1588         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1589         PTR_DEMANGLE.
1591         [BZ #5246]
1592         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1593         PTR_DEMANGLE.
1595 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
1597         [BZ #14797]
1598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1599         definitely overflow as x * y not x * y + z.
1600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1602         * math/libm-test.inc (fma_test): Add more tests.
1603         (fma_test_towardzero): Likewise.
1604         (fma_test_downward): Likewise.
1605         (fma_test_upward): Likewise.
1607 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1609         [BZ #157]
1611         * include/stub-tag.h: Remove file.
1612         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1613         '#include' of it.
1614         * manual/maint.texi (Porting): Don't reference it.
1615         * Makerules ($(objpfx)stubs): Likewise.
1616         * dirent/closedir.c: Don't include <stub-tag.h>.
1617         * dirent/dirfd.c: Likewise.
1618         * dirent/fdopendir.c: Likewise.
1619         * dirent/getdents.c: Likewise.
1620         * dirent/getdents64.c: Likewise.
1621         * dirent/opendir.c: Likewise.
1622         * dirent/readdir.c: Likewise.
1623         * dirent/readdir64.c: Likewise.
1624         * dirent/readdir64_r.c: Likewise.
1625         * dirent/readdir_r.c: Likewise.
1626         * dirent/rewinddir.c: Likewise.
1627         * dirent/seekdir.c: Likewise.
1628         * dirent/telldir.c: Likewise.
1629         * gmon/profil.c: Likewise.
1630         * grp/setgroups.c: Likewise.
1631         * inet/if_index.c: Likewise.
1632         * io/access.c: Likewise.
1633         * io/chdir.c: Likewise.
1634         * io/chmod.c: Likewise.
1635         * io/chown.c: Likewise.
1636         * io/close.c: Likewise.
1637         * io/dup.c: Likewise.
1638         * io/dup2.c: Likewise.
1639         * io/dup3.c: Likewise.
1640         * io/euidaccess.c: Likewise.
1641         * io/faccessat.c: Likewise.
1642         * io/fchdir.c: Likewise.
1643         * io/fchmod.c: Likewise.
1644         * io/fchmodat.c: Likewise.
1645         * io/fchown.c: Likewise.
1646         * io/fchownat.c: Likewise.
1647         * io/fcntl.c: Likewise.
1648         * io/flock.c: Likewise.
1649         * io/fstatfs.c: Likewise.
1650         * io/fstatfs64.c: Likewise.
1651         * io/fstatvfs.c: Likewise.
1652         * io/fstatvfs64.c: Likewise.
1653         * io/futimens.c: Likewise.
1654         * io/fxstat.c: Likewise.
1655         * io/fxstat64.c: Likewise.
1656         * io/fxstatat.c: Likewise.
1657         * io/fxstatat64.c: Likewise.
1658         * io/getcwd.c: Likewise.
1659         * io/isatty.c: Likewise.
1660         * io/lchmod.c: Likewise.
1661         * io/lchown.c: Likewise.
1662         * io/link.c: Likewise.
1663         * io/linkat.c: Likewise.
1664         * io/lseek.c: Likewise.
1665         * io/lseek64.c: Likewise.
1666         * io/lxstat64.c: Likewise.
1667         * io/mkdir.c: Likewise.
1668         * io/mkdirat.c: Likewise.
1669         * io/mkfifo.c: Likewise.
1670         * io/mkfifoat.c: Likewise.
1671         * io/open.c: Likewise.
1672         * io/open64.c: Likewise.
1673         * io/openat.c: Likewise.
1674         * io/openat64.c: Likewise.
1675         * io/pipe.c: Likewise.
1676         * io/pipe2.c: Likewise.
1677         * io/poll.c: Likewise.
1678         * io/posix_fadvise.c: Likewise.
1679         * io/posix_fadvise64.c: Likewise.
1680         * io/posix_fallocate.c: Likewise.
1681         * io/posix_fallocate64.c: Likewise.
1682         * io/read.c: Likewise.
1683         * io/readlink.c: Likewise.
1684         * io/readlinkat.c: Likewise.
1685         * io/rmdir.c: Likewise.
1686         * io/sendfile.c: Likewise.
1687         * io/sendfile64.c: Likewise.
1688         * io/statfs.c: Likewise.
1689         * io/statfs64.c: Likewise.
1690         * io/statvfs.c: Likewise.
1691         * io/statvfs64.c: Likewise.
1692         * io/symlink.c: Likewise.
1693         * io/symlinkat.c: Likewise.
1694         * io/ttyname.c: Likewise.
1695         * io/ttyname_r.c: Likewise.
1696         * io/umask.c: Likewise.
1697         * io/unlink.c: Likewise.
1698         * io/unlinkat.c: Likewise.
1699         * io/utime.c: Likewise.
1700         * io/utimensat.c: Likewise.
1701         * io/write.c: Likewise.
1702         * io/xmknod.c: Likewise.
1703         * io/xmknodat.c: Likewise.
1704         * io/xstat.c: Likewise.
1705         * io/xstat64.c: Likewise.
1706         * login/getpt.c: Likewise.
1707         * login/grantpt.c: Likewise.
1708         * login/unlockpt.c: Likewise.
1709         * math/e_acoshl.c: Likewise.
1710         * math/e_acosl.c: Likewise.
1711         * math/e_asinl.c: Likewise.
1712         * math/e_atan2l.c: Likewise.
1713         * math/e_atanhl.c: Likewise.
1714         * math/e_coshl.c: Likewise.
1715         * math/e_expl.c: Likewise.
1716         * math/e_fmodl.c: Likewise.
1717         * math/e_gammal_r.c: Likewise.
1718         * math/e_hypotl.c: Likewise.
1719         * math/e_j0l.c: Likewise.
1720         * math/e_j1l.c: Likewise.
1721         * math/e_jnl.c: Likewise.
1722         * math/e_lgammal_r.c: Likewise.
1723         * math/e_log10l.c: Likewise.
1724         * math/e_log2l.c: Likewise.
1725         * math/e_logl.c: Likewise.
1726         * math/e_powl.c: Likewise.
1727         * math/e_rem_pio2l.c: Likewise.
1728         * math/e_sinhl.c: Likewise.
1729         * math/e_sqrtl.c: Likewise.
1730         * math/fclrexcpt.c: Likewise.
1731         * math/fedisblxcpt.c: Likewise.
1732         * math/feenablxcpt.c: Likewise.
1733         * math/fegetenv.c: Likewise.
1734         * math/fegetexcept.c: Likewise.
1735         * math/fegetround.c: Likewise.
1736         * math/feholdexcpt.c: Likewise.
1737         * math/fesetenv.c: Likewise.
1738         * math/fesetround.c: Likewise.
1739         * math/feupdateenv.c: Likewise.
1740         * math/fgetexcptflg.c: Likewise.
1741         * math/fraiseexcpt.c: Likewise.
1742         * math/fsetexcptflg.c: Likewise.
1743         * math/ftestexcept.c: Likewise.
1744         * math/k_cosl.c: Likewise.
1745         * math/k_rem_pio2l.c: Likewise.
1746         * math/k_sinl.c: Likewise.
1747         * math/k_tanl.c: Likewise.
1748         * math/s_asinhl.c: Likewise.
1749         * math/s_atanl.c: Likewise.
1750         * math/s_cbrtl.c: Likewise.
1751         * math/s_erfl.c: Likewise.
1752         * math/s_expm1l.c: Likewise.
1753         * math/s_log1pl.c: Likewise.
1754         * math/s_tanhl.c: Likewise.
1755         * misc/acct.c: Likewise.
1756         * misc/brk.c: Likewise.
1757         * misc/chflags.c: Likewise.
1758         * misc/chroot.c: Likewise.
1759         * misc/fchflags.c: Likewise.
1760         * misc/fgetxattr.c: Likewise.
1761         * misc/flistxattr.c: Likewise.
1762         * misc/fremovexattr.c: Likewise.
1763         * misc/fsetxattr.c: Likewise.
1764         * misc/fsync.c: Likewise.
1765         * misc/ftruncate.c: Likewise.
1766         * misc/futimes.c: Likewise.
1767         * misc/futimesat.c: Likewise.
1768         * misc/getdomain.c: Likewise.
1769         * misc/getdtsz.c: Likewise.
1770         * misc/gethostid.c: Likewise.
1771         * misc/gethostname.c: Likewise.
1772         * misc/getloadavg.c: Likewise.
1773         * misc/getpagesize.c: Likewise.
1774         * misc/getsysstats.c: Likewise.
1775         * misc/getxattr.c: Likewise.
1776         * misc/gtty.c: Likewise.
1777         * misc/ioctl.c: Likewise.
1778         * misc/lgetxattr.c: Likewise.
1779         * misc/listxattr.c: Likewise.
1780         * misc/llistxattr.c: Likewise.
1781         * misc/lremovexattr.c: Likewise.
1782         * misc/lsetxattr.c: Likewise.
1783         * misc/lutimes.c: Likewise.
1784         * misc/madvise.c: Likewise.
1785         * misc/mincore.c: Likewise.
1786         * misc/mlock.c: Likewise.
1787         * misc/mlockall.c: Likewise.
1788         * misc/mmap.c: Likewise.
1789         * misc/mprotect.c: Likewise.
1790         * misc/msync.c: Likewise.
1791         * misc/munlock.c: Likewise.
1792         * misc/munlockall.c: Likewise.
1793         * misc/munmap.c: Likewise.
1794         * misc/preadv.c: Likewise.
1795         * misc/preadv64.c: Likewise.
1796         * misc/ptrace.c: Likewise.
1797         * misc/pwritev.c: Likewise.
1798         * misc/pwritev64.c: Likewise.
1799         * misc/readv.c: Likewise.
1800         * misc/reboot.c: Likewise.
1801         * misc/remap_file_pages.c: Likewise.
1802         * misc/removexattr.c: Likewise.
1803         * misc/revoke.c: Likewise.
1804         * misc/select.c: Likewise.
1805         * misc/setdomain.c: Likewise.
1806         * misc/setegid.c: Likewise.
1807         * misc/seteuid.c: Likewise.
1808         * misc/sethostid.c: Likewise.
1809         * misc/sethostname.c: Likewise.
1810         * misc/setregid.c: Likewise.
1811         * misc/setreuid.c: Likewise.
1812         * misc/setxattr.c: Likewise.
1813         * misc/sstk.c: Likewise.
1814         * misc/stty.c: Likewise.
1815         * misc/swapoff.c: Likewise.
1816         * misc/swapon.c: Likewise.
1817         * misc/sync.c: Likewise.
1818         * misc/syncfs.c: Likewise.
1819         * misc/syscall.c: Likewise.
1820         * misc/truncate.c: Likewise.
1821         * misc/ualarm.c: Likewise.
1822         * misc/usleep.c: Likewise.
1823         * misc/ustat.c: Likewise.
1824         * misc/utimes.c: Likewise.
1825         * misc/vhangup.c: Likewise.
1826         * misc/writev.c: Likewise.
1827         * posix/_exit.c: Likewise.
1828         * posix/alarm.c: Likewise.
1829         * posix/execve.c: Likewise.
1830         * posix/fexecve.c: Likewise.
1831         * posix/fork.c: Likewise.
1832         * posix/fpathconf.c: Likewise.
1833         * posix/getaddrinfo.c: Likewise.
1834         * posix/getegid.c: Likewise.
1835         * posix/geteuid.c: Likewise.
1836         * posix/getgid.c: Likewise.
1837         * posix/getgroups.c: Likewise.
1838         * posix/getlogin.c: Likewise.
1839         * posix/getlogin_r.c: Likewise.
1840         * posix/getpgid.c: Likewise.
1841         * posix/getpid.c: Likewise.
1842         * posix/getppid.c: Likewise.
1843         * posix/getresgid.c: Likewise.
1844         * posix/getresuid.c: Likewise.
1845         * posix/getsid.c: Likewise.
1846         * posix/getuid.c: Likewise.
1847         * posix/glob64.c: Likewise.
1848         * posix/nanosleep.c: Likewise.
1849         * posix/pathconf.c: Likewise.
1850         * posix/pause.c: Likewise.
1851         * posix/posix_madvise.c: Likewise.
1852         * posix/pread.c: Likewise.
1853         * posix/pread64.c: Likewise.
1854         * posix/pwrite.c: Likewise.
1855         * posix/pwrite64.c: Likewise.
1856         * posix/sched_getaffinity.c: Likewise.
1857         * posix/sched_getp.c: Likewise.
1858         * posix/sched_gets.c: Likewise.
1859         * posix/sched_primax.c: Likewise.
1860         * posix/sched_primin.c: Likewise.
1861         * posix/sched_rr_gi.c: Likewise.
1862         * posix/sched_setaffinity.c: Likewise.
1863         * posix/sched_setp.c: Likewise.
1864         * posix/sched_sets.c: Likewise.
1865         * posix/sched_yield.c: Likewise.
1866         * posix/setgid.c: Likewise.
1867         * posix/setlogin.c: Likewise.
1868         * posix/setpgid.c: Likewise.
1869         * posix/setresgid.c: Likewise.
1870         * posix/setresuid.c: Likewise.
1871         * posix/setsid.c: Likewise.
1872         * posix/setuid.c: Likewise.
1873         * posix/sleep.c: Likewise.
1874         * posix/spawni.c: Likewise.
1875         * posix/sysconf.c: Likewise.
1876         * posix/times.c: Likewise.
1877         * posix/wait.c: Likewise.
1878         * posix/wait3.c: Likewise.
1879         * posix/wait4.c: Likewise.
1880         * posix/waitpid.c: Likewise.
1881         * resolv/gai_sigqueue.c: Likewise.
1882         * resource/getpriority.c: Likewise.
1883         * resource/getrlimit.c: Likewise.
1884         * resource/getrusage.c: Likewise.
1885         * resource/nice.c: Likewise.
1886         * resource/setpriority.c: Likewise.
1887         * resource/setrlimit.c: Likewise.
1888         * resource/ulimit.c: Likewise.
1889         * rt/aio_cancel.c: Likewise.
1890         * rt/aio_fsync.c: Likewise.
1891         * rt/aio_read.c: Likewise.
1892         * rt/aio_sigqueue.c: Likewise.
1893         * rt/aio_suspend.c: Likewise.
1894         * rt/aio_write.c: Likewise.
1895         * rt/clock_getres.c: Likewise.
1896         * rt/clock_gettime.c: Likewise.
1897         * rt/clock_nanosleep.c: Likewise.
1898         * rt/clock_settime.c: Likewise.
1899         * rt/lio_listio.c: Likewise.
1900         * rt/mq_close.c: Likewise.
1901         * rt/mq_getattr.c: Likewise.
1902         * rt/mq_notify.c: Likewise.
1903         * rt/mq_open.c: Likewise.
1904         * rt/mq_receive.c: Likewise.
1905         * rt/mq_send.c: Likewise.
1906         * rt/mq_setattr.c: Likewise.
1907         * rt/mq_timedreceive.c: Likewise.
1908         * rt/mq_timedsend.c: Likewise.
1909         * rt/mq_unlink.c: Likewise.
1910         * rt/shm_open.c: Likewise.
1911         * rt/shm_unlink.c: Likewise.
1912         * rt/timer_create.c: Likewise.
1913         * rt/timer_delete.c: Likewise.
1914         * rt/timer_getoverr.c: Likewise.
1915         * rt/timer_gettime.c: Likewise.
1916         * rt/timer_settime.c: Likewise.
1917         * setjmp/__longjmp.c: Likewise.
1918         * setjmp/setjmp.c: Likewise.
1919         * signal/kill.c: Likewise.
1920         * signal/killpg.c: Likewise.
1921         * signal/raise.c: Likewise.
1922         * signal/sigaction.c: Likewise.
1923         * signal/sigaltstack.c: Likewise.
1924         * signal/sigblock.c: Likewise.
1925         * signal/sigignore.c: Likewise.
1926         * signal/sigintr.c: Likewise.
1927         * signal/signal.c: Likewise.
1928         * signal/sigpause.c: Likewise.
1929         * signal/sigpending.c: Likewise.
1930         * signal/sigqueue.c: Likewise.
1931         * signal/sigreturn.c: Likewise.
1932         * signal/sigset.c: Likewise.
1933         * signal/sigsetmask.c: Likewise.
1934         * signal/sigstack.c: Likewise.
1935         * signal/sigsuspend.c: Likewise.
1936         * signal/sigtimedwait.c: Likewise.
1937         * signal/sigvec.c: Likewise.
1938         * signal/sigwait.c: Likewise.
1939         * signal/sigwaitinfo.c: Likewise.
1940         * signal/sysv_signal.c: Likewise.
1941         * socket/accept.c: Likewise.
1942         * socket/accept4.c: Likewise.
1943         * socket/bind.c: Likewise.
1944         * socket/connect.c: Likewise.
1945         * socket/getpeername.c: Likewise.
1946         * socket/getsockname.c: Likewise.
1947         * socket/getsockopt.c: Likewise.
1948         * socket/isfdtype.c: Likewise.
1949         * socket/listen.c: Likewise.
1950         * socket/recv.c: Likewise.
1951         * socket/recvfrom.c: Likewise.
1952         * socket/recvmsg.c: Likewise.
1953         * socket/send.c: Likewise.
1954         * socket/sendmsg.c: Likewise.
1955         * socket/sendto.c: Likewise.
1956         * socket/setsockopt.c: Likewise.
1957         * socket/shutdown.c: Likewise.
1958         * socket/sockatmark.c: Likewise.
1959         * socket/socket.c: Likewise.
1960         * socket/socketpair.c: Likewise.
1961         * stdio-common/ctermid.c: Likewise.
1962         * stdio-common/cuserid.c: Likewise.
1963         * stdio-common/remove.c: Likewise.
1964         * stdio-common/rename.c: Likewise.
1965         * stdio-common/renameat.c: Likewise.
1966         * stdio-common/tempname.c: Likewise.
1967         * stdlib/getcontext.c: Likewise.
1968         * stdlib/makecontext.c: Likewise.
1969         * stdlib/setcontext.c: Likewise.
1970         * stdlib/swapcontext.c: Likewise.
1971         * stdlib/system.c: Likewise.
1972         * streams/fattach.c: Likewise.
1973         * streams/fdetach.c: Likewise.
1974         * streams/getmsg.c: Likewise.
1975         * streams/getpmsg.c: Likewise.
1976         * streams/putmsg.c: Likewise.
1977         * streams/putpmsg.c: Likewise.
1978         * sysdeps/unix/bsd/getpt.c: Likewise.
1979         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1980         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1981         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1983         Likewise.
1984         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1985         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1986         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1987         * sysvipc/msgctl.c: Likewise.
1988         * sysvipc/msgget.c: Likewise.
1989         * sysvipc/msgrcv.c: Likewise.
1990         * sysvipc/msgsnd.c: Likewise.
1991         * sysvipc/semctl.c: Likewise.
1992         * sysvipc/semget.c: Likewise.
1993         * sysvipc/semop.c: Likewise.
1994         * sysvipc/semtimedop.c: Likewise.
1995         * sysvipc/shmat.c: Likewise.
1996         * sysvipc/shmctl.c: Likewise.
1997         * sysvipc/shmdt.c: Likewise.
1998         * sysvipc/shmget.c: Likewise.
1999         * termios/tcdrain.c: Likewise.
2000         * termios/tcflow.c: Likewise.
2001         * termios/tcflush.c: Likewise.
2002         * termios/tcgetattr.c: Likewise.
2003         * termios/tcgetpgrp.c: Likewise.
2004         * termios/tcsendbrk.c: Likewise.
2005         * termios/tcsetattr.c: Likewise.
2006         * termios/tcsetpgrp.c: Likewise.
2007         * time/adjtime.c: Likewise.
2008         * time/clock.c: Likewise.
2009         * time/getitimer.c: Likewise.
2010         * time/gettimeofday.c: Likewise.
2011         * time/setitimer.c: Likewise.
2012         * time/settimeofday.c: Likewise.
2013         * time/stime.c: Likewise.
2014         * time/time.c: Likewise.
2016 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2018         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2019         /usr/old/bin.
2021         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2022         instead of spaces.
2023         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2025 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2027         [BZ #14796]
2028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2029         FE_TONEAREST before applying Dekker multiplication and Knuth
2030         addition.  Clear inexact exceptions and check for exact zero
2031         results afterwards.
2032         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2033         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2034         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2035         * math/libm-test.inc (fma_test): Add more tests.
2036         (fma_test_towardzero): Likewise.
2037         (fma_test_downward): Likewise.
2038         (fma_test_upward): Likewise.
2039         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2040         function.
2041         (libc_fesetround): New macro.
2042         (libc_fesetroundf): Likewise.
2043         (libc_fesetroundl): Likewise.
2044         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2045         function.
2046         (libc_fesetround_387): Likewise.
2047         (libc_fesetroundf): New macro.
2048         (libc_fesetround): Likewise.
2049         (libc_fesetroundl): Likewise.
2050         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2051         function.
2052         (libc_fesetroundf): New macro.
2053         (libc_fesetround): Likewise.
2054         (libc_fesetroundl): Likewise.
2055         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2056         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2057         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2058         libm_hidden_ver.
2059         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2060         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2061         libm_hidden_def.
2062         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2063         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2064         libm_hidden_ver.
2065         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2066         libm_hidden_def.
2068         [BZ #3439]
2069         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2070         integer constant usable in #if and use that to give value to enum
2071         constant.
2072         (FE_DIVBYZERO): Likewise.
2073         (FE_UNDERFLOW): Likewise.
2074         (FE_OVERFLOW): Likewise.
2075         (FE_INVALID): Likewise.
2076         (FE_INVALID_SNAN): Likewise.
2077         (FE_INVALID_ISI): Likewise.
2078         (FE_INVALID_IDI): Likewise.
2079         (FE_INVALID_ZDZ): Likewise.
2080         (FE_INVALID_IMZ): Likewise.
2081         (FE_INVALID_COMPARE): Likewise.
2082         (FE_INVALID_SOFTWARE): Likewise.
2083         (FE_INVALID_SQRT): Likewise.
2084         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2085         (FE_TONEAREST): Likewise.
2086         (FE_TOWARDZERO): Likewise.
2087         (FE_UPWARD): Likewise.
2088         (FE_DOWNWARD): Likewise.
2089         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2090         (FE_DIVBYZERO): Likewise.
2091         (FE_OVERFLOW): Likewise.
2092         (FE_UNDERFLOW): Likewise.
2093         (FE_INEXACT): Likewise.
2094         (FE_TONEAREST): Likewise.
2095         (FE_DOWNWARD): Likewise.
2096         (FE_UPWARD): Likewise.
2097         (FE_TOWARDZERO): Likewise.
2098         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2099         (FE_UNDERFLOW): Likewise.
2100         (FE_OVERFLOW): Likewise.
2101         (FE_DIVBYZERO): Likewise.
2102         (FE_INVALID): Likewise.
2103         (FE_TONEAREST): Likewise.
2104         (FE_TOWARDZERO): Likewise.
2105         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2106         (FE_OVERFLOW): Likewise.
2107         (FE_UNDERFLOW): Likewise.
2108         (FE_DIVBYZERO): Likewise.
2109         (FE_INEXACT): Likewise.
2110         (FE_TONEAREST): Likewise.
2111         (FE_TOWARDZERO): Likewise.
2112         (FE_UPWARD): Likewise.
2113         (FE_DOWNWARD): Likewise.
2114         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2115         (FE_DIVBYZERO): Likewise.
2116         (FE_OVERFLOW): Likewise.
2117         (FE_UNDERFLOW): Likewise.
2118         (FE_INEXACT): Likewise.
2119         (FE_TONEAREST): Likewise.
2120         (FE_DOWNWARD): Likewise.
2121         (FE_UPWARD): Likewise.
2122         (FE_TOWARDZERO): Likewise.
2124 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2126         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2128 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2130         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2131         commands.  Quote $PWD.
2132         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2133         -x" by "export".
2134         (remove_newlines): Remove.
2136 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2138         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2139         * stdlib/stdlib.h (atof): Moved to ...
2140         * include/bits/stdlib-float.h: Here.  New file.
2141         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2142         * stdlib/bits/stdlib-float.h: New file.
2143         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2144         -mno-sse -mno-mmx.
2145         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2146         <xmmintrin.h>.
2148 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2150         * conform/conformtest.pl (@headers): Add fenv.h.
2151         * conform/data/fenv.h-data: New file.
2152         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2153         include of <math/fenv.h>.
2155         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2156         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2157         && !UNIX98].  Enables tests for XOPEN2K8.
2158         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2159         POSIX2008]: Likewise.
2161         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2162         (struct rusage): Do not expect type or its members.
2164         [BZ #3439]
2165         * math/math.h (FP_NAN): Define macro to integer constant usable in
2166         #if and use that to give value to enum constant.
2167         (FP_INFINITE): Likewise.
2168         (FP_ZERO): Likewise.
2169         (FP_SUBNORMAL): Likewise.
2170         (FP_NORMAL): Likewise.
2172 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2174         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2175         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2176         arguments.
2178 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2180         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2181         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2182         autoconf-time if not.
2183         * configure.in: Remove AC_PREREQ.
2185 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2187         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2188         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2189         of the internal implementation.
2191 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2193         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2194         except include of <misc/sys/syslog.h>.
2196 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2199         function returns with a NULL context exit with zero.
2201 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2203         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2205 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2207         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2208         (run_program_cmd): This.
2209         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2210         (tst_langinfo): New variable.  Use it.
2212 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2214         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2215         floating point opcodes.
2217 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2219         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2220         variable.
2222         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2224         * sysdeps/mach/hurd/powerpc: Remove directory.
2225         * sysdeps/mach/powerpc: Likewise.
2227 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2229         * scripts/check-local-headers.sh: Ignore c++ headers.
2231 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2233         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2234         __libc_cleanup_region_start argument.
2236 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2238         [BZ #14784]
2239         [BZ #14785]
2240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2241         x * y using scaling, not as x * y + z.
2242         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2243         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2244         * math/libm-test.inc (fma_test): Add more tests.
2245         (fma_test_towardzero): Likewise.
2246         (fma_test_downward): Likewise.
2247         (fma_test_upward): Likewise.
2249 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2251         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2253 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2255         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2256         New variable.
2258 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2260         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2262 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2265         Fix sort order.
2266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2267         Likewise.
2269 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2272         Fix the order of the list for glibc 2.17.
2273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2274         Likewise.
2276 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2280 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2282         [BZ #14610]
2283         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2284         for low part of x being zero before using __atanl (y).
2285         * math/libm-test.inc (atan2_test): Add another test.
2287         * manual/install.texi (Configuring and compiling): Document
2288         general use of test-wrapper and test-wrapper-env.
2289         * INSTALL: Regenerated.
2291         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2292         (__fma): Do not extract and scale down low bits on after-rounding
2293         systems when result rounded to normal precision would have normal
2294         exponent.
2295         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2296         (__fmal): Do not extract and scale down low bits on after-rounding
2297         systems when result rounded to normal precision would have normal
2298         exponent.
2299         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2300         (__fmal): Do not extract and scale down low bits on after-rounding
2301         systems when result rounded to normal precision would have normal
2302         exponent.
2303         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2304         macro.
2305         (fma_test): Add more tests.
2306         (fma_test_towardzero): Likewise.
2307         (fma_test_downward): Likewise.
2308         (fma_test_upward): Likewise.
2310 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2312         * sysdeps/i386/tininess.h: Renamed to ...
2313         * sysdeps/x86/tininess.h: This.
2314         * sysdeps/x86_64/tininess.h: Removed.
2316 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2318         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2319         input.  Use $(build-program-cmd).
2320         ($(objpfx)tst-array1-static.out): Likewise.
2321         ($(objpfx)tst-array2.out): Likewise.
2322         ($(objpfx)tst-array3.out): Likewise.
2323         ($(objpfx)tst-array4.out): Likewise.
2324         ($(objpfx)tst-array5.out): Likewise.
2325         ($(objpfx)tst-array5-static.out): Likewise.
2327 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2329         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2330         if defined.
2332         * nss/nsswitch.h (nss_interface_function): Provide new
2333         macro for use with NSS functions.
2334         * grp/initgroups.c: Use new macro.
2335         * nss/getXXbyYY.c: Likewise.
2336         * nss/getXXbyYY_r.c: Likewise.
2337         * nss/getXXent.c: Likewise.
2338         * nss/getXXent_r.c: Likewise.
2339         * sysdeps/posix/getaddrinfo.c: Likewise.
2341 2012-10-30  Andreas Jaeger  <aj@suse.de>
2343         * po/ru.po: Update Russion translation from translation project.
2345 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2347         [BZ #14152]
2348         [BZ #14783]
2349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2350         result and shift together with sticky bit instead of replicating
2351         round-to-nearest rounding.
2352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2354         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2355         missing underflow exceptions.
2356         (fma_test_towardzero): Add more tests.
2357         (fma_test_downward): Likewise.
2358         (fma_test_upward): Likewise.
2360         [BZ #14047]
2361         * sysdeps/generic/tininess.h: New file.
2362         * sysdeps/i386/tininess.h: Likewise.
2363         * sysdeps/sh/tininess.h: Likewise.
2364         * sysdeps/x86_64/tininess.h: Likewise.
2365         * stdlib/tst-strtod-underflow.c: Likewise.
2366         * stdlib/tst-tininess.c: Likewise.
2367         * stdlib/strtod_l.c: Include <tininess.h>.
2368         (round_and_return): Do not set errno for exact underflow cases.
2369         Force an underflow exception when setting errno for underflow.
2370         Determine underflow based on rounding to normal precision if
2371         TININESS_AFTER_ROUNDING.
2372         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2373         ERANGE for exact underflow cases.
2374         * stdlib/Makefile (tests): Add tst-tininess and
2375         tst-strtod-underflow.
2376         ($(objpfx)tst-tininess): Use $(link-libm).
2377         ($(objpfx)tst-strtod-underflow): Likewise.
2379 2012-10-30  Andreas Jaeger  <aj@suse.de>
2381         [BZ#14767]
2382         * elf/Makefile (tests): Remove conditional for have-initfini-array
2383         since this is now always required and the variable does not exist
2384         anymore.
2385         (tests-static): Likewise.
2386         (modules-names): Likewise.
2388         * po/eo.po: Add Esperanto translation from translation project.
2390         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2391         merged with constructor/destructor.
2392         (init_array): Likewise.
2393         * elf/tst-array2dep.c (fini_array): Likewise.
2394         (init_array): Likewise.
2396 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2398         * manual/message.texi: Delete @cartouche tags.
2400 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2402         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2403         EOPNOTSUPP.
2404         * sysdeps/mach/hurd/fsync.c: Likewise.
2406         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2407         [_POSIX_REALTIME_SIGNALS]: Change condition to
2408         [_POSIX_REALTIME_SIGNALS > 0].
2410 2012-10-27  Andreas Jaeger  <aj@suse.de>
2412         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2413         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2414         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2415         [__WORDSIZE != 64]: Likewise.
2417 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2419         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2420         *  iconvdata/tst-tables.sh: Likewise.
2422 2012-10-25  David S. Miller  <davem@davemloft.net>
2424         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2425         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2426         of strtoull.
2428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2429         ifunc-impl-list.c
2430         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2431         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2432         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2433         file.
2435 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2437         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2438         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2439         __getdirentries.
2441 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2442             Jim Blandy  <jimb@codesourcery.com>
2444         * scripts/cross-test-ssh.sh: New file.
2445         * manual/install.texi (Configuring and compiling): Document use of
2446         cross-test-ssh.sh.
2447         * INSTALL: Regenerated.
2449 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2451         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2452         EOPNOTSUPP.
2454 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2456         * Makeconfig (run-program-prefix): Fix comment.
2458 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2459             Jim Blandy  <jimb@codesourcery.com>
2461         * Makeconfig (test-wrapper): New variable,
2462         (test-wrapper-env): Likewise.
2463         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2464         (run-built-tests): Define to yes.
2465         (run-program-prefix): Use $(test-wrapper).
2466         (built-program-cmd): Likewise.
2467         * Rules (make-test-out): Use $(test-wrapper-env) and
2468         $(host-built-program-cmd).
2469         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2470         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2471         tst-pathopt.sh.
2472         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2473         $(test-wrapper-env) to tst-rtld-load-self.sh.
2474         ($(objpfx)order2.out): Use $(test-wrapper).
2475         ($(objpfx)tst-initorder.out): Likewise.
2476         ($(objpfx)tst-initorder2.out): Likewise.
2477         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2478         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2479         (test_wrapper_env): New variable.  Use it to run ld.so.
2480         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2481         Use it to run ld.so.
2482         (test_wrapper_env): Likewise.
2483         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2484         $(test-wrapper) to run-iconv-test.sh.
2485         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2486         (ICONV): Use $test_wrapper.
2487         * posix/Makefile ($(objpfx)globtest.out): Pass
2488         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2489         globtest.sh, not $(run-program-prefix).
2490         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2491         (test_wrapper): Likewise.
2492         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2493         set together with run_via_rtld_prefix.
2494         (run_program_prefix): Define in terms of test_wrapper and
2495         run_via_rtld_prefix.
2497 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2499         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2500         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2501         Targets removed.
2503         [BZ #14743]
2504         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2505         Declare __clock_getres, __clock_gettime, __clock_settime,
2506         __clock_nanosleep, and __clock_getcpuclockid.
2507         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2508         Remove librt_hidden_def (clock_gettime).
2509         * sysdeps/unix/clock_gettime.c: Likewise.
2510         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2511         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2512         * rt/clock_getres.c: Define __clock_getres as an alias.
2513         * sysdeps/posix/clock_getres.c: Likewise.
2514         * rt/clock_settime.c: Define __clock_settime as an alias.
2515         * sysdeps/unix/clock_settime.c: Likewise.
2516         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2517         * sysdeps/unix/clock_nanosleep.c: Likewise.
2518         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2519         * rt/clock-compat.c: New file.
2520         * rt/Makefile (librt-routines): Add clock-compat and move
2521         $(clock-routines) to ...
2522         (routines): ... here, new variable.
2523         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2524         Don't add get_clockfreq here.
2525         * rt/Versions (libc: GLIBC_2.17): New version set.
2526         Add clock_* symbols here.
2527         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2528         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2529         (GLIBC_2.17): Add clock_* symbols.
2530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2532         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2534         Likewise.
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2536         Likewise.
2537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2541         * NEWS: Mention the move.
2543         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2544         Use __open, __read, __close rather than their public counterparts.
2545         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2546         (__get_clockfreq_via_cpuinfo): Likewise.
2547         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2548         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2550         * config.h.in (HAVE_IFUNC): New #undef.
2551         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2552         was successful.
2553         * configure: Regenerated.
2555 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2557         * configure.in: Move READELF check to start of file.
2558         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2559         libc_cv_asm_gnu_indirect_function in the process.
2560         * configure: Regenerated.
2562 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2564         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2565         send the output to /dev/null.
2566         (libc_cv_cc_with_libunwind): Likewise.
2567         (libc_cv_as_noexecstack): Likewise.
2568         * configure: Regenerate.
2570 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2572         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2574         * posix/globtest.sh (TMPDIR): Do not set.
2575         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2576         (testout): Likewise.
2578 2012-10-24  Andreas Jaeger  <aj@suse.de>
2580         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2581         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2582         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2583         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2584         posix_fadvise64, posix_fallocate64.
2586         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2587         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2588         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2589         Likewise.
2590         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2591         Likewise.
2592         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2594         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2595         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2596         <bits/fcntl-linux.h>.
2597         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2599         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2600         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2601         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2602         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2603         [__WORDSIZE != 64]: Likewise.
2605 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2607         * Makeconfig (run-built-tests): New variable.
2608         * Rules [$(cross-compiling) = yes]: Change condition to
2609         [$(run-built-tests) = no].
2610         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2611         to [$(run-built-tests) = yes].
2612         * elf/Makefile [$(cross-compiling) = no]: Likewise
2613         * grp/Makefile [$(cross-compiling) = no]: Likewise.
2614         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2615         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2616         * intl/Makefile [$(cross-compiling) = no]: Likewise.
2617         * io/Makefile [$(cross-compiling) = no]: Likewise.
2618         * libio/Makefile [$(cross-compiling) = no]: Likewise.
2619         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2620         * misc/Makefile [$(cross-compiling) = no]: Likewise.
2621         * posix/Makefile [$(cross-compiling) = no]: Likewise.
2622         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2623         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2624         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2625         * string/Makefile [$(cross-compiling) = no]: Likewise.
2627         * posix/Makefile ($(objpfx)globtest.out): Pass
2628         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2629         $(rtld-installed-name).
2630         * posix/globtest.sh (elf_objpfx): Remove variable.
2631         (rtld_installed_name): Likewise.
2632         (library_path): Likewise.
2633         (run_program_prefix): New variable.  Use for running globtest
2634         binary.
2636 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
2637             Joseph Myers  <joseph@codesourcery.com>
2639         * Makeconfig (host-built-program-cmd): New variable.
2640         * elf/Makefile (tst-stackguard1-ARGS): Use
2641         $(host-built-program-cmd).
2642         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2643         (tst-spawn-ARGS): Likewise.
2644         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2646 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2647             Jim Blandy  <jimb@codesourcery.com>
2649         * Makeconfig (run-via-rtld-prefix): New variable.
2650         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2651         (built-program-cmd): Likewise.
2653 2012-10-22  Andreas Jaeger  <aj@suse.de>
2655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2656         __O_RSYNC if it exists, otherwise to O_SYNC.
2658 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
2659             Joseph Myers  <joseph@codesourcery.com>
2661         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2662         /dev/null.
2663         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2664         from /dev/null
2665         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2666         /dev/null.
2668 2012-10-22  Andreas Jaeger  <aj@suse.de>
2670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2671         Define always.
2672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2675         bits/fcntl-linux.h.
2677         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2678         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2681         to __O_LARGEFILE.
2682         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2683         to __O_LARGEFILE.
2685 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
2686             Joseph Myers  <joseph@codesourcery.com>
2688         * config.make.in (NM): New variable.
2690 2012-10-21  Andreas Jaeger  <aj@suse.de>
2692         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2693         definitions and declarations that are provided by
2694         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2696 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2698         [BZ #14683]
2699         * elf/Makefile (tests-static): Add tst-leaks1-static.
2700         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2701         ($(objpfx)tst-leaks1-static): New rule.
2702         ($(objpfx)tst-leaks1-static-mem): Likewise.
2703         (tst-leaks1-static-ENV): New macro.
2704         * elf/dl-open.c (dl_open_worker): Check the main application
2705         only if SHARED is defined.
2706         * elf/tst-leaks1-static.c: New file.
2708 2012-10-20  Andreas Jaeger  <aj@suse.de>
2710         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2711         generic values for Linux.
2712         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2713         and declarations that are provided by <bits/fcntl-linux.h> and
2714         include <bits/fcntl-linux.h>.
2715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2716         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2718 2012-10-20  Roland McGrath  <roland@hack.frob.com>
2720         * io/fcntl.h: Move include of <bits/types.h> to the top and
2721         include it unconditionally.
2723 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2725         * wcsmbs/Makefile (tests-ifunc): New variable.
2726         (tests): Add $(tests-ifunc).
2727         * wcsmbs/test-wcschr-ifunc.c: New file.
2728         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2729         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2730         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2731         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2732         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2734         * string/Makefile (tests-ifunc): New variable.
2735         (tests): Add $(tests-ifunc).
2736         * string/test-memccpy.c (TEST_NAME): New macro.
2737         * string/test-memchr.c (TEST_NAME): Likewise.
2738         * string/test-memcmp.c (TEST_NAME): Likewise.
2739         * string/test-memcpy.c (TEST_NAME): Likewise.
2740         * string/test-memmem.c (TEST_NAME): Likewise.
2741         * string/test-memmove.c (TEST_NAME): Likewise.
2742         * string/test-memset.c (TEST_NAME): Likewise.
2743         * string/test-rawmemchr.c (TEST_NAME): Likewise.
2744         * string/test-stpcpy.c (TEST_NAME): Likewise.
2745         * string/test-stpncpy.c (TEST_NAME): Likewise.
2746         * string/test-strcasecmp.c (TEST_NAME): Likewise.
2747         * string/test-strcasestr.c (TEST_NAME): Likewise.
2748         * string/test-strcat.c (TEST_NAME): Likewise.
2749         * string/test-strchr.c (TEST_NAME): Likewise.
2750         * string/test-strcmp.c(TEST_NAME): Likewise.
2751         * string/test-strcpy.c (TEST_NAME): Likewise.
2752         * string/test-strcspn.c (TEST_NAME): Likewise.
2753         * string/test-strlen.c (TEST_NAME): Likewise.
2754         * string/test-strncasecmp.c (TEST_NAME): Likewise.
2755         * string/test-strncmp.c (TEST_NAME): Likewise.
2756         * string/test-strncpy.c (TEST_NAME): Likewise.
2757         * string/test-strnlen.c (TEST_NAME): Likewise.
2758         * string/test-strpbrk.c (TEST_NAME): Likewise.
2759         * string/test-strrchr.c (TEST_NAME): Likewise.
2760         * string/test-strspn.c (TEST_NAME): Likewise.
2761         * string/test-strstr.c (TEST_NAME): Likewise.
2762         * string/test-bcopy-ifunc.c: New file.
2763         * string/test-bzero-ifunc.c: Likewise.
2764         * string/test-memccpy-ifunc.c: Likewise.
2765         * string/test-memchr-ifunc.c: Likewise.
2766         * string/test-memcmp-ifunc.c: Likewise.
2767         * string/test-memcpy-ifunc.c: Likewise.
2768         * string/test-memmem-ifunc.c: Likewise.
2769         * string/test-memmove-ifunc.c: Likewise.
2770         * string/test-mempcpy-ifunc.c: Likewise.
2771         * string/test-memset-ifunc.c: Likewise.
2772         * string/test-rawmemchr-ifunc.c: Likewise.
2773         * string/test-stpcpy-ifunc.c: Likewise.
2774         * string/test-stpncpy-ifunc.c: Likewise.
2775         * string/test-strcasecmp-ifunc.c: Likewise.
2776         * string/test-strcasestr-ifunc.c: Likewise.
2777         * string/test-strcat-ifunc.c: Likewise.
2778         * string/test-strchr-ifunc.c: Likewise.
2779         * string/test-strchrnul-ifunc.c: Likewise.
2780         * string/test-strcmp-ifunc.c: Likewise.
2781         * string/test-strcpy-ifunc.c: Likewise.
2782         * string/test-strcspn-ifunc.c: Likewise.
2783         * string/test-strlen-ifunc.c: Likewise.
2784         * string/test-strncasecmp-ifunc.c: Likewise.
2785         * string/test-strncat-ifunc.c: Likewise.
2786         * string/test-strncmp-ifunc.c: Likewise.
2787         * string/test-strncpy-ifunc.c: Likewise.
2788         * string/test-strnlen-ifunc.c: Likewise.
2789         * string/test-strpbrk-ifunc.c: Likewise.
2790         * string/test-strrchr-ifunc.c: Likewise.
2791         * string/test-strspn-ifunc.c: Likewise.
2792         * string/test-strstr-ifunc.c: Likewise.
2794         * debug/Makefile (tests-ifunc): New variable.
2795         (tests): Add $(tests-ifunc).
2796         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2797         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2798         * debug/test-stpcpy_chk-ifunc.c: New file.
2799         * debug/test-strcpy_chk-ifunc.c: Likewise.
2801 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2803         [BZ #13601]
2804         * elf/dl-load.c (open_verify): Retry read if the entire ELF
2805         header is not read in.
2807 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
2809         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
2810         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
2811         directly.  Pass built executable to script as
2812         $(built-program-cmd).
2813         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
2814         $testprogram without using LD_LIBRARY_PATH and $ldso.
2816         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2817         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2818         $(rtld-installed-name).
2819         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2820         (rtld_installed_name): Likewise.
2821         (library_path): Likewise.
2822         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
2823         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2824         $(run-program-prefix) to tst-tables.sh.
2825         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
2826         it to run tst-table-from and tst-table-to.
2827         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2828         Pass it to tst-table.sh.
2829         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2830         $(run-program-prefix) to tst-gettext.sh.
2831         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2832         tst-translit.sh.
2833         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2834         tst-gettext2.sh.
2835         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
2836         to run tst-gettext.
2837         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
2838         to run tst-gettext2.
2839         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
2840         to run tst-translit.
2841         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2842         $(run-program-prefix) to tst-mtrace.sh.
2843         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
2844         to run tst-mtrace.
2845         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2846         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2847         $(rtld-installed-name).
2848         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2849         (rtld_installed_name): Likewise.
2850         (run_program_prefix): New variable.  Use it to run wordexp-test.
2852         * Makeconfig (ARCH): Remove all definitions.
2853         (machine): Likewise.
2854         [ARCH]: Remove conditional code.
2855         [!objdir]: Give error.
2856         [!objdir] (objpfx): Remove.
2857         [!objdir] (common-objpfx): Likewise.
2858         [!objdir] (common-objdir): Likewise.
2859         * configure.in (config_makefile): Remove.  Hardcode Makefile in
2860         AC_CONFIG_FILES call.
2861         * configure: Regenerated.
2863         [BZ #13888]
2864         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2865         or TMPDIR.
2866         (testout): Likewise.
2868         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2869         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2870         $(rtld-installed-name).
2871         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2872         (rtld_installed_name): Likwise.
2873         (runit): Remove function.
2874         (run_getconf): New variable,  Use it for running getconf binary.
2876 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
2878         [BZ #14716]
2879         * string/test-memmem.c (check_result): New function.
2880         (do_one_test): Use it.
2881         (check1): New function.
2882         (test_main): Use it.
2884 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
2886         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2888 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
2890         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2891         (_G_LSEEK64): Likewise.
2892         (_G_MMAP64): Likewise.
2893         (_G_FSTAT64): Likewise.
2894         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2895         (_G_LSEEK64): Likewise.
2896         (_G_MMAP64): Likewise.
2897         (_G_FSTAT64): Likewise.
2898         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2899         unconditional.  Call __mmap64 directly.
2900         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2901         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
2902         __lseek64 directly.
2903         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2904         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
2905         __mmap64 directly.
2906         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2907         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2908         __lseek64 directly.
2909         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2910         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2911         __lseek64 directly.
2912         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2913         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
2914         __lseek64 directly.
2915         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2916         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
2917         __fxstat64 directly.
2918         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2919         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2920         unconditional.
2921         (freopen64) [!_G_OPEN64]: Remove conditional code.
2922         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2923         unconditional.
2924         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2925         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2926         unconditional.
2927         (ftello64) [!_G_LSEEK64]: Remove conditional code.
2928         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2929         unconditional.
2930         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2931         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2932         unconditional.
2933         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2934         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2935         unconditional.
2936         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2937         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2938         unconditional.
2939         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2940         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2941         unconditional.
2942         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2944 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2946         [BZ #12140]
2947         * manual/memory.texi (Malloc Tunable Parameters): Add note
2948         about free list pointers overwriting some perturb bytes.
2949         Wording suggested by Roland McGrath.
2951 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
2953         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2954         (lgamma_test): Likewise.
2955         (tgamma_test): Likewise.
2957 2012-10-16  Florian Weimer  <fweimer@redhat.com>
2959         [BZ #14700]
2960         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2961         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2963 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
2965         * NEWS: Mention BZ #14716.
2966         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2967         when removing AVAILABLE1_USES_J macro.
2969 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2971         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2972         (__bswap_64): __uint64_t for unsigned 64-bit int.
2974 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
2976         * include/string.h (memmem): Declare libc hidden alias.
2977         * string/memmem.c (memmem): Define libc hidden alias.
2978         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2979         __read, __close instead of open, read, close.
2981 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2984         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2985         global and hidden.
2986         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2987         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2988         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2989         Likewise.
2990         (__rawmemchr_sse2): Likewise.
2991         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2992         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2993         (__strchr_sse2): Likewise.
2994         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2995         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2996         (__strcasecmp_sse2): Likewise.
2997         (__strncasecmp_sse2): Likewise.
2998         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2999         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3000         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3001         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3002         (__strrchr_sse2): Likewise.
3003         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3004         ifunc-impl-list.c.
3005         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3006         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3007         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3008         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3009         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3010         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3011         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3012         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3013         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3014         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3015         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3016         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3017         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3018         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3019         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3020         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3021         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3022         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3023         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3024         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3025         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3026         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3027         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3028         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3029         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3030         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3031         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3032         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3033         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3034         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3036         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3037         global and hidden.
3038         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3039         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3040         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3041         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3042         Likewise.
3043         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3044         Likewise.
3045         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3046         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3047         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3048         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3049         ifunc-impl-list.c.
3050         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3051         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3052         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3053         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3054         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3055         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3056         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3057         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3058         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3059         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3060         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3061         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3062         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3063         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3064         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3065         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3066         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3067         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3068         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3069         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3070         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3071         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3072         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3073         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3074         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3075         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3076         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3077         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3078         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3079         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3080         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3081         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3082         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3083         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3084         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3085         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3086         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3087         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3088         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3089         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3090         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3092         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3093         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3094         * include/ifunc-impl-list.h: New file.
3095         * misc/ifunc-impl-list.c: Likewise.
3096         * misc/Makefile (routines): Add ifunc-impl-list.
3097         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3098         * string/test-string.h: Include <ifunc-impl-list.h>.
3099         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3100         impl_array): New variables.
3101         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3102         are defined.
3103         (test_init): Call __libc_ifunc_impl_list to initialize
3104         func_list if TEST_IFUNC and TEST_NAME are defined.
3106         * string/Makefile (strop-tests): Add bcopy and bzero.
3107         * string/test-bcopy.c: New file.
3108         * string/test-bzero.c: Likewise.
3109         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3110         defined.
3111         * string/test-memset.c: Support bzero test if TEST_BZERO is
3112         defined.
3113         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3114         __libc_memmove.
3115         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3116         __libc_memset.
3117         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3118         of memset.
3120 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3122         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3123         * configure: Regenerated.
3125         * Makeconfig (+link-static-before-libc): Don't include
3126         $(link-static-libc).
3128         * libio/libio.h (_IO_pos_t): Remove.
3130 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3132         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3133         McGrath.
3135 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3137         * crypt/crypt-entry.c: Include fips-private.h.
3138         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3139         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3140         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3141         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3143 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3145         * crypt/crypt-private.h: Include stdbool.h.
3146         (_ufc_setup_salt_r): Return bool.
3147         * crypt/crypt-entry.c: Include errno.h.
3148         (__crypt_r): Return NULL with EINVAL for bad salt.
3149         * crypt/crypt_util.c (bad_for_salt): New.
3150         (_ufc_setup_salt_r): Check that salt is long enough and within
3151         the specified alphabet.
3152         * crypt/badsalttest.c: New file.
3153         * crypt/Makefile (tests): Add it.
3154         ($(objpfx)badsalttest): New.
3156 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3158         * NEWS: Add entry for BZ #14602.
3160 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3162         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3163         type-generic.
3164         * math/libm-test.inc: Update comment listing what functions and
3165         macros are tested.
3166         (isgreater_test): New function.
3167         (isgreaterequal_test): Likewise.
3168         (isless_test): Likewise.
3169         (islessequal_test): Likewise.
3170         (islessgreater_test): Likewise.
3171         (isunordered_test): Likewise.
3172         (main): Call the new functions.
3174 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3176         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3177         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3178         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3179         * sysdeps/i386/configure: Regenerated.
3180         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3181         * sysdeps/mach/configure: Regenerated.
3182         * sysdeps/mach/hurd/configure: Regenerated.
3183         * sysdeps/powerpc/configure: Regenerated.
3184         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3185         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3186         * sysdeps/s390/s390-32/configure: Regenerated.
3187         * sysdeps/s390/s390-64/configure: Regenerated.
3188         * sysdeps/sh/configure: Regenerated.
3189         * sysdeps/sparc/configure: Regenerated.
3190         * sysdeps/unix/sysv/linux/configure: Regenerated.
3191         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3192         * sysdeps/x86_64/configure: Regenerated.
3194         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3195         defined.  Don't check if MAP is NULL.
3197 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3199         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3200         (_G_stat64): Likewise.
3201         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3202         (_G_stat64): Likewise.
3203         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3204         instead of struct _G_stat64.
3205         * libio/fileops.c (mmap_remap_check): Likewise.
3206         (decide_maybe_mmap): Likewise.
3207         (_IO_new_file_seekoff): Likewise.
3208         (_IO_file_stat): Likewise.
3209         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3210         _G_off64_t.
3211         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3212         instead of struct _G_stat64.
3213         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3215 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3217         [BZ #14602]
3218         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3219         Replace with ...
3220         (CHECK_EOL): New macro.
3221         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3222         CHECK_EOL.
3223         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3224         Replace with CHECK_EOL.
3225         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3226         Replace with CHECK_EOL.
3228 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3230         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3231         type-generic.
3232         * math/libm-test.inc: Update comment listing what functions and
3233         macros are tested.
3234         (finite_test): New function.
3235         (isinf_test): Likewise.
3236         (isnan_test): Likewise.
3237         (fpclassify_test): Test subnormal input.
3238         (isfinite_test): Likewise.
3239         (isnormal_test): Likewise.
3240         (main): Call the new functions.
3242 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3244         [BZ #14660]
3245         * Makerules (%.dynsym): Force C locale when running
3246         $(OBJDUMP) --dynamic-syms.
3248 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3250         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3251         <stdint.h>.
3253 2012-10-06  David S. Miller  <davem@davemloft.net>
3255         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3256         upper 32-bits of the length value in %o2 since we use branch-on-register
3257         tests which consider the entire 64-bit register.
3259 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3261         * string/test-strstr.c (check2): Add a test for page boundary.
3263 2012-10-05  David S. Miller  <davem@davemloft.net>
3265         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3266         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3267         file.
3268         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3269         sysdep_routines.
3270         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3271         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3272         and bzero when HWCAP_SPARC_CRYPTO is present.
3274 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3276         [BZ #14602]
3277         * string/test-strstr.c (check2): New function.
3278         (test_main): Call check2.
3280         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3281         and bug-strchr1.
3282         * string/bug-strcasestr1.c (do_test): Moved to ...
3283         * string/test-strcasestr.c (check1): Here.  New function.
3284         (do_one_test): Break out result checking code into ...
3285         (check_result): This.  New function.
3286         (do_one_test): Call check_result.
3287         (test_main): Call check1.
3288         * string/bug-strchr1.c (do_test): Moved to ...
3289         * string/test-strchr.c (check1): Here.  New function.
3290         (do_one_test): Break out result checking code into ...
3291         (check_result): This.  New function.
3292         (do_one_test): Call check_result.
3293         (test_main): Call check1.
3294         * string/bug-strstr1.c (main): Moved to ...
3295         * string/test-strchr.c (check1): Here.  New function.
3296         (do_one_test): Break out result checking code into ...
3297         (check_result): This.  New function.
3298         (do_one_test): Call check_result.
3299         (test_main): Call check1.
3300         * string/bug-strcasestr1.c: Removed.
3301         * string/bug-strchr1.c: Likewise.
3302         * string/bug-strstr1.c: Likewise.
3304         * elf/Makefile (dl-routines): Add hwcaps.
3305         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3306         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3307         (_dl_important_hwcaps): Moved to ...
3308         * elf/dl-hwcaps.c: Here.  New file.
3309         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3311         [BZ #14557]
3312         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3313         if IS_IN_rtld isn't defined.
3315         * elf/dl-support.c (_dl_sysinfo_map): New.
3316         Include "get-dynamic-info.h" and "setup-vdso.h".
3317         (_dl_non_dynamic_init): Call setup_vdso.
3318         * elf/dynamic-link.h: Don't include <assert.h>.
3319         (elf_get_dynamic_info): Moved to ...
3320         * elf/get-dynamic-info.h: Here.  New file.
3321         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3322         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3323         * elf/setup-vdso.h: Here.  New file.
3324         * elf/rtld.c: Include "setup-vdso.h".
3325         (dl_main): Call setup_vdso.
3327 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3329         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3330         creal in comment listing functions tested.  List finite, isinf,
3331         isnan, isless, islessequal, isgreater, isgreaterequal,
3332         islessgreater, isunordered, lgamma_r and pow10 as functions and
3333         macros not tested.  Mention which functions not tested are aliases
3334         for other functions.  Fix typo.  Note that signs of NaNs are not
3335         tested.
3337         * scripts/config.guess: Update from config.git.
3338         * scripts/config.sub: Likewise.
3340 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3342         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3343         * misc/madvise.c (madvise): Renamed to __madvise.
3344         Make madvise a weak alias.
3345         * include/sys/mman.h: Declare __madvise.
3346         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3347         * sysdeps/unix/syscalls.list
3348         (madvise): Make __madvise the strong name, and madvise a weak alias.
3349         * sysdeps/unix/sysv/linux/syscalls.list
3350         (madvise, mmap): Remove redundant entries.
3351         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3352         * malloc/malloc.c (mtrim): Likewise.
3353         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3355 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3357         * sysdeps/mach/hurd/dl-cache.c: File removed.
3358         * config.h.in (USE_LDCONFIG): New #undef.
3359         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3360         * configure: Regenerated.
3361         * elf/Makefile (dl-routines): Add dl-cache only under
3362         [$(use-ldconfig) = yes].
3363         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3364         cache on [USE_LDCONFIG].
3365         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3366         [USE_LDCONFIG].
3367         * elf/rtld.c (dl_main): Likewise.
3369 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3371         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3372         _SC_LEVEL4_CACHE_LINESIZE.
3374 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3376         * sysdeps/unix/bsd/confstr.h: File removed.
3378 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3380         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3381         sys/sdt-config.h.
3383 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3385         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3386         Make 'mapoff' field ElfW(Off) rather than off_t.
3388 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3390         * nscd/Makefile: Remove nscd-cflags and all its users.
3391         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3392         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3394         [BZ #10631]
3395         * malloc.c (malloc_printerr): Clarify error message.
3397 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3399         [BZ #14648]
3400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3401         Set bit_FMA_Usable if FMA is supported.
3402         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3403         macro.
3404         (bit_FMA4_Usable): Updated.
3405         (index_FMA_Usable): New macro.
3406         (CPUID_FMA): Likewise
3407         (HAS_FMA): Defined with bit_FMA_Usable.
3409 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3411         * bits/types.h (__swblk_t): Type removed.
3412         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3413         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3414         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3415         (__SWBLK_T_TYPE): Likewise.
3416         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3417         (__SWBLK_T_TYPE): Likewise.
3418         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3419         (__SWBLK_T_TYPE): Likewise.
3420         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3421         (__SWBLK_T_TYPE): Likewise.
3423 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3424             Honza Horak <hhorak@redhat.com>
3426         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3427         (xdr_mapname): Use YPMAXMAP as maxsize.
3428         (xdr_peername): Use YPMAXPEER as maxsize.
3429         (xdr_keydat): Use YPAXRECORD as maxsize.
3430         (xdr_valdat): Use YPMAXRECORD as maxsize.
3432 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3434         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3436         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3437         * csu/init-first.c: ... here.
3438         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3439         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3440         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3441         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3442         * sysdeps/i386/init-first.c: File removed.
3443         * sysdeps/sh/init-first.c: File removed.
3445 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3447         [BZ #14645]
3448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3449         if x * y might underflow to zero and z is zero.
3450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3452         * math/libm-test.inc (min_subnorm_value): New variable.
3453         (fma_test): Add more tests.
3454         (fma_test_towardzero): Likewise.
3455         (fma_test_downward): Likewise
3456         (fma_test_upward): Likewise.
3457         (initialize): Set min_subnorm_value.
3459 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3461         [BZ #14638]
3462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3463         0 + 0.
3464         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3465         mode for addition resulting in exact zero.
3466         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3468         exact 0 + 0.
3469         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3470         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3471         * math/libm-test.inc (fma_test): Add more tests.
3472         (fma_test_towardzero): New function.
3473         (fma_test_downward): Likewise.
3474         (fma_test_upward): Likewise.
3475         (main): Call the new functions.
3477 2012-09-28  David S. Miller  <davem@davemloft.net>
3479         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3481 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3483         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3484         instead of SIGALRM.
3486         * sysdeps/gnu/_G_config.h: Moved to ...
3487         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3488         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3489         * sysdeps/generic/_G_config.h: ... here.
3491         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3493         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3495         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3496         Conditionalize target on [libnss_test1.so-version].
3498         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3500         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3501         (elfobjdir): Move out of conditionals.
3503         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3504         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3505         (__nss_lookup_function): Conditionalize label remove_from_tree on
3506         [!DO_STATIC_NSS || SHARED], matching its only use.
3508 2012-09-28  David S. Miller  <davem@davemloft.net>
3510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3511         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3512         file.
3513         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3514         sysdep_routines.
3515         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3516         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3517         when HWCAP_SPARC_CRYPTO is present.
3519 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3521         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3523 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3525         [BZ #6530]
3526         * stdio-common/vfprintf.c (process_string_arg): Revert
3527         2000-07-22 change.
3529 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3531         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3532         for testcase.
3533         * stdio-common/tst-sprintf.c: Include <locale.h>
3534         (main): Test sprintf's handling of incomplete multibyte
3535         characters.
3537 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3539         * elf/dl-runtime.c (VERSYMIDX): Removed.
3540         * elf/dl-version.c (VERSYMIDX): Likewise.
3541         * elf/do-rel.h (VERSYMIDX): Likewise.
3542         (VALIDX): Likewise.
3543         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3544         * elf/rtld.c (VALIDX): Likewise.
3545         (ADDRIDX): Likewise.
3546         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3547         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3548         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3549         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3550         (VALIDX): Likewise.
3551         (ADDRIDX): Likewise.
3553 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3555         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3557 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3559         [BZ #11438]
3560         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3561         to global scope.
3562         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3563         addresses are in the same scope as 192.0.2/24.
3564         * posix/gai.conf: Document new scope table defaults.
3566 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3568         [BZ #5298]
3569         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3570         for ftell.  Compute offsets from write pointers instead.
3571         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3573 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3575         [BZ #14543]
3576         * libio/Makefile (tests): New test case tst-fseek.
3577         * libio/tst-fseek.c: New test case to verify that fseek/ftell
3578         combination works in wide mode.
3579         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3580         state when the external buffer state changes.
3582 2012-09-27  David S. Miller  <davem@davemloft.net>
3584         [BZ #14376]
3585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3586         pass reloc->r_addend in as the 'high' argument to
3587         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3591 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3593         * rt/tst-aio2.c: Include <pthread.h>.
3594         * rt/tst-aio3.c: Likewise.
3596 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3598         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3600 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3602         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3603         contents on [SHARED].
3605 2012-09-26  Marek Polacek  <polacek@redhat.com>
3607         [BZ #14530]
3608         [BZ #13741]
3609         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3610         for C++ and GCC <4.3 as well as for non GCC compilers.
3612 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3614         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3616 2012-09-25  Roland McGrath  <roland@hack.frob.com>
3618         * Makefile.in (all, install): Declare with .PHONY.
3619         Reported by Michael Hope <michael.hope@linaro.org>.
3621 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3623         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3624         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3625         system header.
3626         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3627         Likewise.
3628         (sydep_routines): Add the new and the internal functions.
3629         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3630         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3632         (GLIBC_2.17): Add the new function.
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3634         (GLIBC_2.17): Likewise.
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3636         (GLIBC_2.17): Likewise.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3638         (GLIBC_2.17): Likewise.
3639         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3641 2012-09-25  Alan Modra  <amodra@gmail.com>
3643         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3644         Add release barrier before setting once_control to say
3645         initialisation is done.  Add hints on lwarx.  Use macro in
3646         place of isync.
3647         (clear_once_control): Add release barrier.
3649 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3651         [BZ #13629]
3652         * math/s_clog.c (__clog): Handle more values close to |z| = 1
3653         specially.
3654         * math/s_clog10.c (__clog10): Likewise.
3655         * math/s_clog10f.c (__clog10f): Likewise.
3656         * math/s_clog10l.c (__clog10l): Likewise.
3657         * math/s_clogf.c (__clogf): Likewise.
3658         * math/s_clogl.c (__clogl): Likewise.
3659         * math/Makefile (libm-calls): Add x2y2m1.
3660         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3661         (__x2y2m1): Likewise.
3662         (__x2y2m1l): Likewise.
3663         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3664         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3665         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3666         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3667         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3668         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3669         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3670         * sysdeps/i386/fpu/libm-test-ulps: Update.
3671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673         [BZ #14621]
3674         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3675         int as type of variable DEPTH.
3676         (glob): Use size_t instead of int as type of variables NEWCOUNT
3677         and OLD_PATHC.
3679 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3681         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3682         Add s_sincosf-sse2.
3683         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3684         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3685         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3686         macros for using routine as __sincosf_ia32.
3687         Use macro for function declaration and weak_alias.
3688         * sysdeps/i386/fpu/libm-test-ulps: Update.
3690         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3693         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3694         subnormal argument.
3695         * math/s_cexpf.c (__cexpf): Likewise.
3696         * math/s_csinf.c (__csinf): Likewise.
3697         * math/s_csinhf.c (__csinhf): Likewise.
3698         * math/s_ctanf.c (__ctanf): Likewise.
3699         * math/s_ctanhf.c (__ctanhf): Likewise.
3700         * math/s_ccosh.c (__ccoshf): Likewise.
3701         * math/s_cexp.c (__cexpl): Likewise.
3702         * math/s_csin.c (__csin): Likewise.
3703         * math/s_csinh.c (__csinh): Likewise.
3704         * math/s_ctan.c (__ctan): Likewise.
3705         * math/s_ctanh.c (ctanh): Likewise.
3706         * math/s_ccoshl.c (__ccoshl): Likewise.
3707         * math/s_cexpl.c (__cexpl): Likewise.
3708         * math/s_csinl.c (__csinl): Likewise.
3709         * math/s_csinhl.c (__csinhl): Likewise.
3710         * math/s_ctanl.c (__ctanl): Likewise.
3711         * math/s_ctanhl.c (__ctanhl): Likewise.
3713 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3715         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3716         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3717         (_IO_off_t): Define to __off_t, not _G_off_t.
3718         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3719         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3720         (_IO_wint_t): Define to wint_t, not _G_wint_t.
3721         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3722         type of __dummy and __dummy2 fields.
3723         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3724         (_G_ssize_t): Likewise.
3725         (_G_off_t): Likewise.
3726         (_G_pid_t): Likewise.
3727         (_G_uid_t): Likewise.
3728         (_G_wchar_t): Likewise.
3729         (_G_wint_t): Likewise.
3730         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3731         (_G_ssize_t): Likewise.
3732         (_G_off_t): Likewise.
3733         (_G_pid_t): Likewise.
3734         (_G_uid_t): Likewise.
3735         (_G_wchar_t): Likewise.
3736         (_G_wint_t): Likewise.
3737         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3738         (_G_ssize_t): Likewise.
3739         (_G_off_t): Likewise.
3740         (_G_pid_t): Likewise.
3741         (_G_uid_t): Likewise.
3742         (_G_wchar_t): Likewise.
3743         (_G_wint_t): Likewise.
3745 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3747         * malloc/arena.c: Include malloc-sysdep.h.
3748         (shrink_heap): Use check_may_shrink_heap to decide if madvise
3749         is sufficient to shrink the heap or an unmap is needed.
3750         * sysdeps/generic/malloc-sysdep.h: New file.  Define
3751         new function check_may_shrink_heap.
3752         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
3753         new function check_may_shrink_heap.
3755 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3757         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3758         comments.
3760 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
3762         * catgets/test-gencat.sh: Add "set -e".
3763         * elf/tst-pathopt.sh: Likewise.
3764         * grp/tst_fgetgrent.sh: Likewise.
3765         * iconvdata/run-iconv-test.sh: Likewise.
3766         * intl/tst-gettext.sh: Likewise.
3767         * intl/tst-gettext2.sh: Likewise.
3768         * intl/tst-gettext4.sh: Likewise.
3769         * intl/tst-gettext6.sh: Likewise.
3770         * intl/tst-translit.sh: Likewise.
3771         * io/ftwtest-sh: Likewise.
3772         * libio/test-freopen.sh: Likewise.
3773         * malloc/tst-mtrace.sh: Likewise.
3774         * posix/globtest.sh: Likewise.
3775         * posix/tst-getconf.sh: Likewise.
3776         * posix/wordexp-tst.sh: Likewise.
3777         * stdio-common/tst-printf.sh: Likewise.
3778         * stdio-common/tst-unbputc.sh: Likewise.
3779         * stdlib/tst-fmtmsg.sh: Likewise.
3780         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3781         * catgets/Makefile: Do not specify -e option when running
3782         testsuite shell scripts.
3783         * elf/Makefile: Likewise.
3784         * grp/Makefile: Likewise.
3785         * iconvdata/Makefile: Likewise.
3786         * intl/Makefile: Likewise.
3787         * io/Makefile: Likewise.
3788         * libio/Makefile: Likewise.
3789         * malloc/Makefile: Likewise.
3790         * posix/Makefile: Likewise.
3791         * stdio-common/Makefile: Likewise.
3792         * stdlib/Makefile: Likewise.
3793         * sysdeps/x86_64/Makefile: Likewise.
3795         * io/ftwtest-sh: Add copyright header.
3796         * posix/globtest.sh: Likewise.
3797         * posix/tst-getconf.sh: Likewise.
3798         * posix/wordexp-tst.sh: Likewise.
3799         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3801 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
3803         [BZ #13679]
3804         * Makeconfig (+link): Defined as $(+link-static) if
3805         $(build-shared) isn't yes.
3806         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3807         isn't yes.
3808         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3810         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3812         [BZ #14562]
3813         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3814         new chunk size with MALLOC_ALIGN_MASK.
3816 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
3818         [BZ #5044]
3819         * stdio-common/printf_fphex.c: Include <stdbool.h> and
3820         <rounding-mode.h>.
3821         (__printf_fphex): Determine rounding using get_rounding_mode and
3822         round_away.
3823         * stdio-common/tst-printf-round.c (struct hex_test): New
3824         structure.
3825         (hex_tests): New variable.
3826         (test_hex_in_one_mode): New function.
3827         (do_test): Also run tests for hex float output.
3829 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
3831         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3832         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3833         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3834         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3835         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3836         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3837         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3838         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3840 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
3842         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3843         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3844         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3845         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3847 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
3849         [BZ #14579]
3850         * elf/rtld.c (dl_main): Limit the check for self loading to normal
3851         mode only.
3852         * elf/tst-rtld-load-self.sh: New test.
3853         * elf/Makefile: Run it.
3855 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
3857         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3858         (tst-writev-ENV): Remove.
3859         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3861 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
3863         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3865 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
3867         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3868         unconditional.
3869         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3870         Likewise.
3871         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3872         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3873         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3874         Likewise.
3876 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3878         [BZ #14587]
3879         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3880         * config.make.in (have-cpp-asm-debuginfo): Removed.
3881         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3882         * configure: Regenerated.
3884 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
3886         [BZ #5044]
3887         * stdio-common/printf_fp.c: Include <stdbool.h> and
3888         <rounding-mode.h>.
3889         (___printf_fp): Determine rounding using get_rounding_mode and
3890         round_away.
3891         * stdio-common/tst-printf-round.c: New file.
3892         * stdio-common/Makefile (tests): Add tst-printf-round.
3893         (link-libm): New variable.
3894         ($(objpfx)tst-printf-round): Depend in $(link-libm).
3896 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
3898         [BZ #14576]
3899         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3900         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3901         Likewise.
3902         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3903         Likewise.
3905 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
3907         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3908         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3909         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3910         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3912 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
3914         [BZ #14518]
3915         * include/rounding-mode.h: New file.
3916         * sysdeps/generic/get-rounding-mode.h: Likewise.
3917         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3918         * stdlib/strtod_l.c: Include <rounding-mode.h>.
3919         (MAX_VALUE): New macro.
3920         (MIN_VALUE): Likewise.
3921         (overflow_value): New function.
3922         (underflow_value): Likewise.
3923         (round_and_return): Use overflow_value and underflow_value to
3924         determine return values in overflow and underflow cases.  Use
3925         round_away to determine rounding depending on rounding mode.
3926         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3927         determine return values in overflow and underflow cases.
3928         * stdlib/tst-strtod-round.c: Include <fenv.h>.
3929         (struct test_results): New structure.
3930         (struct test): Use struct test_results to store expected results
3931         for all rounding modes.
3932         (TEST): Include expected results for all rounding modes.
3933         (test_in_one_mode): New function.
3934         (do_test): Use test_in_one_mode to compute and check results.
3935         Check results for all rounding modes.
3936         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3937         $(link-libm).
3939 2012-12-09  Allan McRae  <allan@archlinux.org>
3941         * sysdeps/i386/fpu/libm-test-ulps: Update
3943 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
3945         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3946         (_G_int32_t): Likewise.
3947         (_G_uint16_t): Likewise.
3948         (_G_uint32_t): Likewise.
3949         (_G_HAVE_BOOL): Likewise.
3950         (_G_HAVE_ATEXIT): Likewise.
3951         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3952         (_G_HAVE_IO_FILE_OPEN): Likewise.
3953         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3954         (_G_int32_t): Likewise.
3955         (_G_uint16_t): Likewise.
3956         (_G_uint32_t): Likewise.
3957         (_G_HAVE_BOOL): Likewise.
3958         (_G_HAVE_ATEXIT): Likewise.
3959         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3960         (_G_HAVE_IO_FILE_OPEN): Likewise.
3961         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3962         (_G_int32_t): Likewise.
3963         (_G_uint16_t): Likewise.
3964         (_G_uint32_t): Likewise.
3965         (_G_HAVE_BOOL): Likewise.
3966         (_G_HAVE_ATEXIT): Likewise.
3967         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3968         (_G_HAVE_IO_FILE_OPEN): Likewise.
3970 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
3972         * csu/libc-tls.c: Update copyright years.
3974 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
3976         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3977         [!_G_USING_THUNKS]: Remove conditional code.
3978         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3979         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3981         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3982         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3983         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3984         (_G_VTABLE_LABEL_PREFIX): Likewise.
3985         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3986         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3987         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3988         (_G_VTABLE_LABEL_PREFIX): Likewise.
3989         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3990         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3991         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3992         (_G_VTABLE_LABEL_PREFIX): Likewise.
3993         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3995 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
3997         * libio/Makefile: Include ../Makeconfig before tests.
3998         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3999         only if $(build-shared) is yes.
4001         * iconv/gconv_db.c: Update copyright years.
4003 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4005         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4006         unwind info if defined PIC. Fix special cases description.
4007         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4009         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4010         DP_HI_MASK entry.
4011         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4013 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4015         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4017         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4018         is NULL.
4020         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4021         (LDLIBS-tst-chk4): This.
4022         (LDFLAGS-tst-chk5): Renamed to ...
4023         (LDLIBS-tst-chk5): This.
4024         (LDFLAGS-tst-chk6): Renamed to ...
4025         (LDLIBS-tst-chk6): This.
4026         (LDFLAGS-tst-lfschk4): Renamed to ...
4027         (LDLIBS-tst-lfschk4): This.
4028         (LDFLAGS-tst-lfschk5): Renamed to ...
4029         (LDLIBS-tst-lfschk5): This.
4030         (LDFLAGS-tst-lfschk6): Renamed to ...
4031         (LDLIBS-tst-lfschk6): This.
4033         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4034         on $(common-objpfx)soversions.mk.
4036 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4038         [BZ #10014]
4039         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4040         example host name.
4042 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4044         * malloc/arena.c (arena_get_retry): New function that gets
4045         another arena for the caller to try its request on.
4046         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4047         current arena cannot fulfill the request.
4048         (__libc_memalign): Likewise.
4049         (__libc_memalign): Likewise.
4050         (__libc_pvalloc): Likewise.
4051         (__libc_calloc): Likewise.
4053 2012-09-05  John Tobey  <john.tobey@gmail.com>
4055         [BZ #13542]
4056         * manual/arith.texi (Operations on Complex): Fix description
4057         of carg branch cut.
4059 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4061         [BZ #10014]
4062         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4063         host name.
4065         [BZ #10038]
4066         * manual/memory.texi (Memory): Make order of menu items match
4067         order of sections.
4069 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4071         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4072         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4073         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4075 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4077         * csu/libc-tls.c (static_dtv): Renamed to ...
4078         (_dl_static_dtv): This.  Make it global.
4079         (_dl_initial_dtv): Removed.
4080         (__libc_setup_tls): Updated.
4081         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4082         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4083         DL_INITIAL_DTV.
4085 2012-09-06  Petr Machata  <pmachata@redhat.com>
4087         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4088         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4089         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4090         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4092 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4094         [BZ #14545]
4095         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4096         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4097         freeing dtv[-1].
4099 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4101         [BZ #14544]
4102         * Makeconfig (link-static-before-libc): Replace $(+prector)
4103         with $(+prectorT).
4104         (link-static-after-libc): Replace $(+postctor) with
4105         $(+postctorT).
4106         (link-bounded): Replace $(+prector)/$(+postctor) with
4107         $(+prectorT)/$(+postctorT).
4108         (+prectorT): New macro.
4109         (+postctorT): Likewise.
4111 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4113         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4114         (round_str): Handle values above the maximum for IBM long double
4115         as inexact.
4116         * stdlib/tst-strtod-round.c (tests): Regenerated.
4118 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4120         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4121         assembler flag.
4122         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4123         zarch_nohighgprs around the zarch optimized routines.
4124         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4125         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4126         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4127         for zarch.
4129 2012-09-05  David S. Miller  <davem@davemloft.net>
4131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4133         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4134         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4135         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4136         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4137         entries.
4139 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4141         * malloc/arena.c: Fold copyright years.
4142         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4144 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4146         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4148 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4150         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4152 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4154         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4155         change internal state upon failure.
4157 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4159         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4160         * malloc/memusage.c (mmap): Likewise.
4161         (mmap64, mremap): Likewise.  Adjust name in comment.
4163 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4165         * libio/fileops.c: Fix typos in comments.
4166         * libio/oldfileops.c: Likewise.
4167         * libio/wfileops.c: Likewise.
4169 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4171         [BZ #1349]
4172         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4173         (tst-malloc-usable-ENV): Set environment for test case.
4174         * malloc/hooks.c (malloc_check_get_size): New function to get
4175         requested size.
4176         * malloc/malloc.c (musable): Use malloc_check_get_size.
4177         * malloc/tst-malloc-usable.c: New test case.
4179 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4181         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4183 2012-09-05  Allan McRae  <allan@archlinux.org>
4185         [BZ #13966]
4186         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4187         determine header location.
4188         * configure: Regenerated.
4190 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4192         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4193         float format.
4194         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4195         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4196         format.
4197         (test): Regenerate.
4199 2012-09-04  David S. Miller  <davem@davemloft.net>
4201         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4202         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4203         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4205 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4207         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4208         failures.
4210         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4212 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4214         [BZ #9914]
4215         * libio/iogetdelim.c: Include <limits.h>.
4216         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4217         + len + 1 would overflow.
4219 2012-09-03  Andreas Jaeger  <aj@suse.de>
4221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4222         * sysdeps/i386/fpu/libm-test-ulps: Update.
4224 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4226         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4227         Add s_sinf-sse2, s_conf-sse2.
4229         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4230         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4231         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4232         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4234         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4235         for using routine as __sinf_ia32.
4236         Use macro for function declaration and weak_alias.
4237         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4238         for using routine as __cosf_ia32.
4239         Use macro for function declaration and weak_alias.
4241         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4242         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4244         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4245         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4248         * math/libm-test.inc (cos_test): Add more test cases.
4249         (sin_test): Likewise.
4250         (sincos_test): Likewise.
4252 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4254         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4255         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4256         hidden.
4257         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4259 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4261         [BZ #14538]
4262         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4263         first element of the GOT.
4264         (elf_machine_load_address): Return the difference between
4265         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4267 2012-09-01  Allan McRae  <allan@archlinux.org>
4269         [BZ #13412]
4270         * configure.in (AWK): Require gawk version 3.0 or later.
4271         * configure: Regenerated.
4273 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4275         * sysdeps/unix/sysv/linux/kernel-features.h
4276         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4278         [__NR_clock_getres]: Make code unconditional.
4279         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4280         (clock_getcpuclockid): Remove code left unreachable by removal of
4281         conditionals.
4282         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4283         code unconditional.
4284         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4285         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4286         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4287         Make code unconditional.
4288         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4289         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4290         * sysdeps/unix/sysv/linux/clock_settime.c
4291         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4292         conditional code.
4293         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4294         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4296 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4298         [BZ #14476]
4299         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4300         scripts/test-installation.pl.
4302         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4303         and $ld_so_version if it is set.
4305 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4307         [BZ #14516]
4308         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4309         failure if reading from procfs failed.
4310         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4312 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4314         * sysdeps/unix/sysv/linux/kernel-features.h
4315         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4316         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4317         Remove conditional code.
4318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4319         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4320         Remove conditional code.
4321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4322         * sysdeps/unix/sysv/linux/i386/fxstat.c
4323         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4325         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4326         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4328         * sysdeps/unix/sysv/linux/i386/lxstat.c
4329         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4331         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4332         Remove conditional code.
4333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4334         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4335         Remove conditional code.
4336         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4337         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4338         <kernel-features.h>.
4339         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4340         Remove.
4341         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4342         Remove conditional code.
4343         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4344         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4345         Remove conditional.
4347 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4349         [BZ #5400]
4350         * NEWS: Add fixed bug number.
4352 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4354         [BZ #14519]
4355         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4356         underflowing exponent in case of negative sign.
4357         * stdlib/tst-strtod-round-data: Add more tests.
4358         * stdlib/tst-strtod-round.c (tests): Regenerated.
4360         [BZ #3479]
4361         * stdlib/strtod_l.c (NDIG): Remove.
4362         (HEXNDIG): Likewise.
4363         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4364         smallest representable value.
4365         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4366         lie within an exact representation of 1/2 ulp of the result.
4367         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4368         unconditionally.
4369         (TENS_P9_IDX): Define unconditionally.
4370         (TENS_P9_SIZE): Likewise.
4371         (TENS_P10_IDX): Likewise.
4372         (TENS_P10_SIZE): Likewise.
4373         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4374         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4375         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4376         entries for 10^2^13 and 10^2^14.
4377         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4378         (TENS_P13_IDX): Define.
4379         (TENS_P13_SIZE): Likewise.
4380         (TENS_P14_IDX): Likewise.
4381         (TENS_P14_SIZE): Likewise.
4382         (_fpioconst_pow10): Change array size to
4383         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4384         unconditional.
4385         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4386         1024]: Add entries for 10^2^13 and 10^2^14.
4387         [LAST_POW10 > _LAST_POW10]: Remove #error.
4388         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4389         (_fpioconst_pow10): Change array size to
4390         FPIOCONST_POW10_ARRAY_SIZE.
4391         * stdlib/gen-fpioconst.c: New file.
4392         * stdlib/gen-tst-strtod-round.c: Likewise.
4393         * stdlib/tst-strtod-round-data: Likewise.
4394         * stdlib/tst-strtod-round.c: Likewise.
4395         * stdlib/Makefile (tests): Add tst-strtod-round.
4397         [BZ #14459]
4398         * stdlib/strtod_l.c: Include <stdint.h>.
4399         (NDEBUG): Do not define.
4400         (round_and_return): Change EXPONENT parameter to type intmax_t.
4401         Rearrange calculations to avoid internal overflow possibilities.
4402         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4403         Rearrange calculations to avoid internal overflow possibilities.
4404         Assert that number fits inside MPNSIZE limbs.
4405         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4406         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4407         calculations and add assertions to avoid internal overflow
4408         possibilities.  Add casts to avoid signed/unsigned operations.
4409         * stdlib/tst-strtod-overflow.c: New file.
4410         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4412 2012-08-25  Marek Polacek  <polacek@redhat.com>
4414         * time/time.h: Fix some typos in comments.
4416 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4418         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4419         * posix/tst-rfc3484-2.c: Likewise.
4420         * posix/tst-rfc3484-3.c: Likewise.
4422 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4424         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4425         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4427 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4429         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4430         #include of fxstatat64.c.
4432 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4434         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4435         * shadow/getspent_r.c: Likewise.
4436         * shadow/getspnam.c: Likewise.
4437         * shadow/getspnam_r.c: Likewise.
4438         * gshadow/getsgent.c: Likewise.
4439         * gshadow/getsgent_r.c: Likewise.
4440         * gshadow/getsgnam.c: Likewise.
4441         * gshadow/getsgnam_r.c: Likewise.
4442         * inet/getnetbyad.c: Likewise.
4443         * inet/getnetbyad_r.c: Likewise.
4444         * inet/getnetbynm.c: Likewise.
4445         * inet/getnetbynm_r.c: Likewise.
4446         * inet/getnetent.c: Likewise.
4447         * inet/getnetent_r.c: Likewise.
4448         * inet/getproto.c: Likewise.
4449         * inet/getproto_r.c: Likewise.
4450         * inet/getprtent.c: Likewise.
4451         * inet/getprtent_r.c: Likewise.
4452         * inet/getprtname.c: Likewise.
4453         * inet/getprtname_r.c: Likewise.
4454         * inet/getrpcbyname.c: Likewise.
4455         * inet/getrpcbyname_r.c: Likewise.
4456         * inet/getrpcbynumber.c: Likewise.
4457         * inet/getrpcbynumber_r.c: Likewise.
4458         * inet/getrpcent.c: Likewise.
4459         * inet/getrpcent_r.c: Likewise.
4460         * inet/getaliasent.c: Likewise.
4461         * inet/getaliasent_r.c: Likewise.
4462         * inet/getaliasname.c: Likewise.
4463         * inet/getaliasname_r.c: Likewise.
4464         * nscd/getgrgid_r.c: Likewise.
4465         * nscd/getgrnam_r.c: Likewise.
4466         * nscd/gethstbyad_r.c: Likewise.
4467         * nscd/gethstbynm3_r.c: Likewise.
4468         * nscd/getpwnam_r.c: Likewise.
4469         * nscd/getpwuid_r.c: Likewise.
4470         * nscd/getsrvbynm_r.c: Likewise.
4471         * nscd/getsrvbypt_r.c: Likewise.
4472         * nscd/gai.c: Likewise.
4474         * configure.in (build_nscd): New substituted variable, set
4475         by --disable-build-nscd and defaults to $use_nscd.
4476         * configure: Regenerated.
4477         * config.make.in (build-nscd): New substituted variable.
4478         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4479         Change conditional to require [$(build-nscd) = yes] as well.
4480         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4482         [BZ# 13696]
4483         * configure.in (use_nscd): New substituted variable, set by
4484         --disable-nscd.  If enabled, define USE_NSCD.
4485         * configure: Regenerated.
4486         * config.h.in: Add USE_NSCD.
4487         * config.make.in (use-nscd): New substituted variable.
4488         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4489         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4490         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4491         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4492         (CFLAGS-getgrnam_r.c): Likewise.
4493         (CFLAGS-initgroups.c): Likewise.
4494         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4495         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4496         Variables removed.
4497         * inet/getnetgrent_r.c
4498         (nscd_setnetgrent): New function, broken out of ...
4499         (setnetgrent): ... here.  Call it.
4500         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4501         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4502         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4503         * nscd/Makefile (routines, aux): Move definitions after include of
4504         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4505         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4506         Conditionalize on [USE_NSCD].
4507         (is_nscd, nscd_init_cb): Likewise.
4508         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4509         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4510         * nss/nss_db/db-init.c: Likewise.
4511         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4512         [USE_NSCD].
4513         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4514         (make_request): Use it.
4515         (cache_valid_p): New function.
4516         (__check_pf): Use it.
4517         * NEWS: Add item for --disable-nscd.
4519 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4521         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4522         to support sed >= 4.2.1-20-ga9bf076.
4523         * configure: Regenerated.
4525 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4527         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4528         Conditionalize whole body on [IREL].
4530 2012-08-22  Jeff Law <law@redhat.com>
4532         [BZ #14505]
4533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4534         if the family is PF_UNSPEC.
4536 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4538         * Makerules (lib-version): Rename from V.
4539         (install-lib-nosubdir): Change V to lib-version.
4541 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4543         [BZ #14252]
4544         * powerpc32/power6/wcschr.c: New file.
4545         * powerpc32/power6/wcscpy.c: New file.
4546         * powerpc32/power6/wcsrchr.c: New file.
4547         * powerpc64/power6/wcschr.c: New file.
4548         * powerpc64/power6/wcscpy.c: New file.
4549         * powerpc64/power6/wcsrchr.c: New file.
4551 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4553         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4554         (two_way_short_needle): Use it.
4555         * string/strstr.c (AVAILABLE1_USES_J): Define.
4556         * string/strcasestr.c: Likewise.
4558         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4559         array references.
4560         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4562         [BZ #11607]
4563         * NEWS: Add an entry.
4564         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4565         define their defaults.
4566         (two_way_short_needle): Detect end-of-string on-the-fly.
4567         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4568         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4569         * string/bug-strcasestr1.c: New test.
4570         * string/Makefile: Run it.
4572 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4574         [BZ #11607]
4575         * string/str-two-way.h (two_way_short_needle): Optimize matching of
4576         the first character.
4578 2012-08-21  Roland McGrath  <roland@hack.frob.com>
4580         * csu/elf-init.c (__libc_csu_irel): Function removed.
4581         * csu/libc-start.c (apply_irel): New function.
4582         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4584 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
4586         * sysdeps/unix/sysv/linux/kernel-features.h
4587         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4588         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4589         <kernel-features.h>.
4590         [__NR_fadvise64_64]: Make code unconditional.
4591         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4592         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4593         !__NR_fadvise64_64)]: Likewise.
4594         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4595         !__NR_fadvise64_64))]: Likewise.
4596         [__NR_fadvise64]: Make code unconditional.
4597         [!__NR_fadvise64]: Remove conditional code.
4598         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4599         <kernel-features.h>.
4600         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4601         unconditional.
4602         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4603         conditional code.
4604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4605         not include <kernel-features.h>.
4606         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4607         unconditional.
4608         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4609         conditional code.
4610         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4611         include <kernel-features.h>.
4612         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4613         unconditional.
4614         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4615         conditional code.
4617 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4619         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4620         slight instruction rearrangements per scrollpipe analysis.
4621         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4623 2012-08-20  Roland McGrath  <roland@hack.frob.com>
4625         * manual/syslog.texi (syslog; vsyslog, closelog):
4626         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4627         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4629         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4630         DSOCAPS to match condition on defining it.
4632 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
4634         * sysdeps/unix/sysv/linux/kernel-features.h
4635         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4637         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4638         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4640         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4641         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4643         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4644         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4646         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4647         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4649         * sysdeps/unix/sysv/linux/kernel-features.h
4650         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4651         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4652         unconditional.
4653         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4654         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4655         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4656         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4657         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4658         Make code unconditional.
4659         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4660         (__mmap64) [!__NR_mmap2]: Likewise.
4661         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4662         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4663         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4664         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4665         [__NR_mmap2]: Make code unconditional.
4666         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4667         (__mmap64) [!__NR_mmap2]: Likewise.
4669 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4671         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4673 2012-08-18  Andreas Jaeger  <aj@suse.de>
4675         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4677 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4679         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4680         * include/unistd.h (__have_sock_cloexec): Likewise.
4681         (__have_pipe2): Likewise.
4682         (__have_dup3): Likewise.
4684 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4686         [BZ #9685]
4687         * include/unistd.h (__have_pipe2): Change define into an extern int.
4688         (__have_dup3): Likewise.
4689         * socket/have_sock_cloexec.c: Include fcntl.h.
4690         (__have_pipe2): New variable.
4691         (__have_dup3): Likewise.
4693 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
4695         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4697 2012-08-17  Marek Polacek  <polacek@redhat.com>
4699         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4700         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4702 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4704         * configure.in: Add AC_SUBST for sysheaders.
4705         * configure: Regenerated.
4706         * config.make.in (sysheaders): New substituted variable.
4708         * sysdeps/unix/mkfifo.c: Moved ...
4709         * sysdeps/posix/mkfifo.c: ... here.
4710         * sysdeps/unix/mkfifoat.c: Moved ...
4711         * sysdeps/posix/mkfifoat.c: ... here.
4713         * sysdeps/unix/utime.c: Moved ...
4714         * sysdeps/posix/utime.c: ... here.
4716         * sysdeps/unix/time.c: Moved ...
4717         * sysdeps/posix/time.c: ... here.
4718         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4719         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4721         * sysdeps/unix/nice.c: Moved ...
4722         * sysdeps/posix/nice.c: ... here.
4724         * sysdeps/unix/alarm.c: Moved ...
4725         * sysdeps/posix/alarm.c: ... here.
4727         * intl/Makefile ($(codeset_mo)): Depend on the input file.
4729 2012-08-17  Jeff Law <law@redhat.com>
4731         * intl/Makefile (codeset_mo): New variable.
4732         ($(codeset_mo)): New target.
4733         (tst-codeset.out): Depend on that.  Remove explicit rule.
4734         (tst-gettext3.out, tst-gettext5.out): Likewise.
4735         (LOCPATH-ENV, tst-codeset-ENV): New variables.
4736         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4737         * intl/tst-codeset.sh: Remove.
4738         * intl/tst-gettext3.sh: Likewise.
4739         * intl/tst-gettext5.sh: Likewise.
4741 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4743         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
4744         * sysdeps/unix/syscalls.list: ... here.
4746         * sysdeps/posix/getaddrinfo.c
4747         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4748         (gaiconf_init, gaiconf_reload): Use them.
4749         [!_STATBUF_ST_NSEC]
4750         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4751         Define using time_t rather than struct timespec.
4753         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4754         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4755         Macros removed.
4756         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4757         [!NO_THREADS].
4758         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4759         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4760         Likewise.
4762         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4763         __libc_cleanup_push argument.
4765         * bits/param.h: New file.
4766         * misc/sys/param.h: New file.
4767         * include/sys/param.h: New file.
4768         * misc/Makefile (headers): Add bits/param.h.
4769         * sysdeps/generic/sys/param.h: File removed.
4770         * sysdeps/unix/sysv/linux/bits/param.h: New file.
4771         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4772         * sysdeps/mach/hurd/bits/param.h: New file.
4773         * sysdeps/mach/hurd/sys/param.h: File removed.
4775         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4776         last change.
4778         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4779         [_IO_MTSAFE_IO].
4780         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4781         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4782         New macros.
4784         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4785         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4786         rather than -D_IO_MTSAFE_IO conditionally.
4787         * stdio-common/Makefile (CPPFLAGS): Likewise.
4788         * wcsmbs/Makefile (CPPFLAGS): Likewise.
4789         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4790         Use $(libio-mtsafe).
4791         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4792         of -D_IO_MTSAFE_IO.
4793         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4794         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4795         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4796         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4797         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4798         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4799         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4800         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4801         (CFLAGS-fread_u_chk.c): Likewise.
4802         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4803         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4804         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4805         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4806         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4807         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4808         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4809         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4810         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4812         * libio/Makefile: Test [$(libc-reentrant) = yes]
4813         instead of [$(filter %REENTRANT, $(defines)) nonempty].
4815         * Makeconfig
4816         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4817         * sysdeps/pthread/configure: File removed.
4818         * sysdeps/pthread/Makeconfig: New file.
4819         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4820         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4822 2012-08-16  Gary Benson  <gbenson@redhat.com>
4824         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4825         unmapping the first object in a namespace.
4827 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4829         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4830         (__internal_setnetgrent): ... this.  Add internal_function to
4831         definition.  Add libc_hidden_def.
4832         (setnetgrent): Update caller.
4833         (internal_endnetgrent): Renamed to ...
4834         (__internal_endnetgrent): ... this.  Add internal_function to
4835         definition.  Add libc_hidden_def.
4836         (endnetgrent): Update caller.
4837         (internal_getnetgrent_r): Renamed to ...
4838         (__internal_getnetgrent_r): ... this.  Add internal_function to
4839         definition.  Add libc_hidden_def.
4840         (__getnetgrent_r): Update caller.
4841         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
4843 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4845         * stdlib/longlong.h: Update from GCC.
4847 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4849         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4850         on _QL, which is set by umul_ppmm but never used.
4851         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4852         variables, which are set by GMP macros but never used.
4853         * stdio-common/_itowa.c (_itowa): Likewise.
4854         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4855         * stdlib/mod_1.c (mpn_mod_1): Likewise.
4857 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
4859         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4860         struct La_sh_regs is not constant.
4861         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4862         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4863         and struct La_sparc64_regs are not constant.
4865 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4867         * sysdeps/unix/sysv/linux/kernel-features.h
4868         (__ASSUME_POSIX_TIMERS): Remove.
4869         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4870         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4871         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4872         Make code unconditional.
4873         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4874         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4875         Make code unconditional.
4876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4877         * sysdeps/unix/sysv/linux/clock_nanosleep.c
4878         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4880         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4881         Make code unconditional.
4882         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4883         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4884         (__libc_missing_posix_timers): Remove.
4886 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4888         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4889         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4891         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4893         * elf/dl-sym.c: Include <stdlib.h>.
4895         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4896         constants, which avoids warnings in 32-bit builds.
4898         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4899         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4901         * misc/lseek.c: File moved to ...
4902         * io/lseek.c: ... here.
4904         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4906         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4907         shifting LEN more than 31 bits at once.
4909 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4911         [BZ #14195]
4912         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4913         segmentation fault for a case of two empty input strings.
4914         * string/test-strncasecmp.c (check1): Renamed to...
4915         (bz12205): ...this.
4916         (bz14195): Add new testcase for two empty input strings and N > 0.
4917         (test_main): Call new testcase, adapt for renamed function.
4919 2012-08-15  Andreas Jaeger  <aj@suse.de>
4921         [BZ #14090]
4922         * crypt/md5test2.c: New test, based on test supplied by Serge
4923         Belyshev <belyshev@depni.sinp.msu.ru>.
4924         * crypt/Makefile (xtests): Add md5test-giant..
4925         * crypt/Makefile ($(objpfx)md5test-giant): Add.
4927 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
4929         [BZ #14090]
4930         * crypt/md5.c (md5_process_block): Don't assume the buffer
4931         length is less than 2**32.
4932         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4933         length is less than 2**64.
4935 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4937         * string/str-two-way.h: Include <sys/param.h>.
4938         (MAX): Macro removed.
4940         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4941         Move #define and #undef of memmove to just before and after
4942         including <string.h>.
4944         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4945         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4946         and after including <string.h>.  Move declarations of
4947         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4948         to before #include "string/memmove.c".
4950         * include/dirent.h: Declare __getdirentries.
4952         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4953         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4955 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
4957         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4958         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4959         * sysdeps/i386/configure: Regenerated.
4960         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4961         STABS_CURRENT_FILE, and STABS_FUN.
4962         (END): Remove call to STABS_FUN_END.
4963         (STABS_CURRENT_FILE1): Delete.
4964         (STABS_CURRENT_FILE): Likewise.
4965         (STABS_FUN): Likewise.
4966         (STABS_FUN_END): Likewise.
4967         (STABS_FUN2): Likewise.
4968         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4969         * sysdeps/x86_64/configure: Regenerated.
4971 2012-08-14  Roland McGrath  <roland@hack.frob.com>
4973         * elf/dl-open.c: Include <atomic.h>.
4974         * elf/dl-lookup.c: Likewise.
4976 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
4978         * sysdeps/unix/sysv/linux/kernel-features.h
4979         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4980         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4981         unconditionally.
4982         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4983         unconditionally.
4984         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4985         condition on __ASSUME_CLONE_THREAD_FLAGS.
4987 2012-08-14  Andreas Jaeger  <aj@suse.de>
4989         * sysdeps/i386/fpu/libm-test-ulps: Update.
4991 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
4993         * include/atomic.h (atomic_exchange_and_add): Split into ...
4994         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4995         New atomic macros.
4997 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
4999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5001 2012-08-13  Jeff Law <law@redhat.com>
5003         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5004         null byte in the output string.
5006 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5008         * sysdeps/unix/sysv/linux/kernel-features.h
5009         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5010         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5011         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5012         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5013         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5014         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5015         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5017 2012-08-09  Jeff Law <law@redhat.com>
5019         [BZ #13939]
5020         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5021         When avoid_arena is set, don't retry in the that arena.  Pick the
5022         next one, whatever it might be.
5023         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5024         (arena_lock): Pass in new parameter to arena_get2.
5025         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5026         arena_get2.
5027         (__libc_malloc): Unify retrying after main arena failure with
5028         __libc_memalign version.
5029         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5031 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5033         [BZ #14166]
5034         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5035         to __redirect_strstr.
5036         (__strstr_sse42): Use typeof __redirect_strstr.
5037         (__strstr_ia32): Likewise.
5038         (__libc_strstr): New prototype.
5039         (strstr): Renamed to ...
5040         (__libc_strstr): This.
5041         (strstr): New strong alias of __libc_strstr.
5042         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5043         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5044         __redirect_time.
5045         Include <time.h>.
5046         (__libc_time): New prototype.
5047         (time_ifunc): Replace time with __libc_time.
5048         (time): New strong alias and hidden definition of __libc_time.
5049         (__GI_time): Remove strong alias.
5050         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5051         Include <stddef.h>.
5052         (memmove): Redefined to __redirect_memmove.
5053         (__memmove_sse2): Use typeof __redirect_memmove.
5054         (__memmove_ssse3): Likewise.
5055         (__memmove_ssse3_back): Likewise.
5056         (__libc_memmove): New prototype.
5057         (memmove): Renamed to ...
5058         (__libc_memmove): This.
5059         (memmove): New strong alias of __libc_memmove.
5061 2012-08-08  Mark Salter  <msalter@redhat.com>
5063         * elf/elf.h
5064         (R_MN10300_TLS_GD): Define.
5065         (R_MN10300_TLS_LD): Likewise.
5066         (R_MN10300_TLS_LDO): Likewise.
5067         (R_MN10300_TLS_GOTIE): Likewise.
5068         (R_MN10300_TLS_IE): Likewise.
5069         (R_MN10300_TLS_LE): Likewise.
5070         (R_MN10300_TLS_DTPMOD): Likewise.
5071         (R_MN10300_TLS_DTPOFF): Likewise.
5072         (R_MN10300_TLS_TPOFF): Likewise.
5073         (R_MN10300_SYM_DIFF): Likewise.
5074         (R_MN10300_ALIGN): Likewise.
5075         (R_MN10300_NUM): Update.
5077 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5079         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5080         Remove.
5082 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5084         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5086         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5087         sysdeps/unix -> sysdeps/posix move.
5088         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5090 2012-08-07      Allan McRae     <allan@archlinux.org>
5092         [BZ #14303]
5093         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5094         (SUNOS_CPP): Likewise.
5095         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5096         not found.
5097         (open_input): Call CPP using execvp.
5099 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5101         * sysdeps/unix/sysv/linux/kernel-features.h
5102         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5103         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5104         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5105         (__ASSUME_WAITID_SYSCALL): Likewise.
5106         * sysdeps/unix/sysv/linux/dl-execstack.c
5107         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5108         code unconditional.
5109         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5110         conditional code.
5111         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5112         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5113         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5114         code.
5115         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5116         unconditional.
5117         [__ASSUME_WAITID_SYSCALL]: Likewise.
5118         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5120 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5122         * sysdeps/unix/closedir.c: Renamed to ...
5123         * sysdeps/posix/closedir.c: ... here.
5124         * sysdeps/unix/dirfd.c: Renamed to ...
5125         * sysdeps/posix/dirfd.c: ... here.
5126         * sysdeps/unix/dirstream.h: Renamed to ...
5127         * sysdeps/posix/dirstream.h: ... here.
5128         * sysdeps/unix/fdopendir.c: Renamed to ...
5129         * sysdeps/posix/fdopendir.c: ... here.
5130         * sysdeps/unix/opendir.c: Renamed to ...
5131         * sysdeps/posix/opendir.c: ... here.
5132         * sysdeps/unix/readdir.c: Renamed to ...
5133         * sysdeps/posix/readdir.c: ... here.
5134         * sysdeps/unix/readdir_r.c: Renamed to ...
5135         * sysdeps/posix/readdir_r.c: ... here.
5136         * sysdeps/unix/rewinddir.c: Renamed to ...
5137         * sysdeps/posix/rewinddir.c: ... here.
5138         * sysdeps/unix/seekdir.c: Renamed to ...
5139         * sysdeps/posix/seekdir.c: ... here.
5140         * sysdeps/unix/telldir.c: Renamed to ...
5141         * sysdeps/posix/telldir.c: ... here.
5142         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5143         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5144         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5145         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5147         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5148         * bits/fcntl.h: ... here.
5150         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5151         not 0.
5152         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5153         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5154         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5155         (struct flock): Move l_start, l_len to the beginning.
5156         Use __pid_t for l_pid.
5157         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5158         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5159         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5160         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5161         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5162         [__USE_LARGEFILE64] (struct flock64): New type.
5163         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5165         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5166         * bits/dirent.h: ... here.
5168         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5169         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5171 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5173         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5174         Change from 2.6.0 to 2.6.16.
5175         * sysdeps/unix/sysv/linux/configure: Regenerated.
5176         * sysdeps/unix/sysv/linux/kernel-features.h
5177         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5178         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5179         version.
5180         (__ASSUME_UTIMES): Likewise.
5181         (__ASSUME_CLONE_STOPPED): Remove.
5182         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5183         architectures, not kernel version.
5184         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5185         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5186         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5187         (__ASSUME_WAITID_SYSCALL): Likewise.
5188         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5189         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5190         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5191         refer to older versions.
5193 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5195         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5196         Define alphasort64 as an alias.
5197         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5198         Define versionsort64 as an alias.
5199         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5200         Define scandir64 as an alias.
5201         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5202         Define scandirat64 as an alias.
5203         * dirent/alphasort64.c (alphasort64):
5204         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5205         * dirent/versionsort64.c: Likewise.
5206         * dirent/scandir64.c: Likewise.
5207         * dirent/scandirat64.c: Likewise.
5208         * sysdeps/wordsize-64/alphasort.c: File removed.
5209         * sysdeps/wordsize-64/alphasort64.c: File removed.
5210         * sysdeps/wordsize-64/scandir.c: File removed.
5211         * sysdeps/wordsize-64/scandir64.c: File removed.
5212         * sysdeps/wordsize-64/scandirat.c: File removed.
5213         * sysdeps/wordsize-64/scandirat64.c: File removed.
5214         * sysdeps/wordsize-64/versionsort.c: File removed.
5215         * sysdeps/wordsize-64/versionsort64.c: File removed.
5216         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5217         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5218         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5219         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5220         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5221         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5222         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5223         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5225         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5226         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5227         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5228         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5229         [defined __arch64__ || defined __sparcv9]
5230         (__INO_T_MATCHES_INO64_T): New macro.
5231         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5232         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5233         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5234         * sysdeps/unix/sysv/linux/bits/dirent.h
5235         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5236         (_DIRENT_MATCHES_DIRENT64): New macro.
5238         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5239         Define lockf64 as an alias.
5240         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5241         Define fseeko64 as an alias.
5242         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5243         Define ftello64 as an alias.
5244         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5245         Define _IO_fgetpos64 and fgetpos64 as aliases.
5246         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5247         Define _IO_fsetpos64 and fsetpos64 as aliases.
5248         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5249         Conditionalize body on this.
5250         * libio/fseeko64.c: Likewise.
5251         * libio/ftello64.c: Likewise.
5252         * libio/iofgetpos64.c: Likewise.
5253         * libio/iofsetpos64.c: Likewise.
5254         * sysdeps/wordsize-64/lockf.c: File removed.
5255         * sysdeps/wordsize-64/lockf64.c: File removed.
5256         * sysdeps/wordsize-64/fseeko.c: File removed.
5257         * sysdeps/wordsize-64/fseeko64.c: File removed.
5258         * sysdeps/wordsize-64/ftello.c: File removed.
5259         * sysdeps/wordsize-64/ftello64.c: File removed.
5260         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5261         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5262         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5263         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5264         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5265         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5266         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5267         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5268         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5269         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5270         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5271         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5272         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5273         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5275         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5276         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5277         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5278         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5279         [defined __arch64__ || defined __sparcv9]
5280         (__OFF_T_MATCHES_OFF64_T): New macro.
5281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5282         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5283         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5284         (__OFF_T_MATCHES_OFF64_T): New macro.
5286 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5288         * stdlib/secure-getenv.c (__secure_getenv): Replace
5289         GLIBC_2_16 with GLIBC_2_17.
5291 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5293         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5294         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5296 2012-08-03  David S. Miller  <davem@davemloft.net>
5298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5300 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5303         Remove.
5304         (__ASSUME_CORRECT_SI_PID): Likewise.
5305         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5306         (__ASSUME_TMPFS_NAME): Likewise.
5307         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5308         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5309         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5310         (HAVE_AUX_SECURE): Make definition unconditional.
5311         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5312         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5314 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5316         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5317         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5318         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5319         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5320         __eloop_threshold instead of SYMLOOP_MAX.
5322         * sysdeps/generic/eloop-threshold.h: New file.
5323         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5324         of MAXSYMLINKS.
5325         * elf/chroot_canon.c (chroot_canon): Likewise.
5327 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5329         [BZ #13717]
5330         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5331         Change to 2.6.0 everywhere.
5332         * sysdeps/unix/sysv/linux/configure: Regenerated.
5333         * sysdeps/unix/sysv/linux/kernel-features.h
5334         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5335         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5336         kernel versions.
5337         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5338         (__ASSUME_FUTEX_REQUEUE): Remove.
5339         (__ASSUME_STATFS64): Define unconditionally.
5340         (__ASSUME_AT_SECURE): Likewise.
5341         (__ASSUME_CORRECT_SI_PID): Likewise.
5342         (__ASSUME_TGKILL): Define without depending on kernel version for
5343         i386.
5344         (__ASSUME_UTIMES): Likewise.
5345         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5346         kernel version.
5347         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5348         (__ASSUME_TMPFS_NAME): Likewise.
5349         * README: Update reference to Linux kernel versions.
5351 2012-08-02  Marek Polacek  <polacek@redhat.com>
5353         [BZ# 14150]
5354         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5355         libc_cv_asm_type_prefix with %.
5356         * configure: Regenerated.
5357         * include/libc-symbols.h: Remove comment about
5358         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5359         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5360         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5361         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5362         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5363         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5364         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5365         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5366         * elf/tst-unique2mod1.c: Likewise.
5367         * elf/tst-unique1mod2.c: Likewise.
5368         * elf/tst-unique1mod1.c: Likewise.
5369         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5370         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5371         Replace ASM_TYPE_DIRECTIVE with .type.
5372         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5373         * sysdeps/i386/sysdep.h: Likewise.
5374         * sysdeps/x86_64/sysdep.h: Likewise.
5375         * sysdeps/sh/sysdep.h: Likewise.
5376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5377         Do not define ASM_TYPE_DIRECTIVE.
5378         * sysdeps/powerpc/sysdep.h: Likewise.
5379         * sysdeps/powerpc/powerpc32/sysdep.h:
5380         Replace ASM_TYPE_DIRECTIVE with .type.
5381         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5382         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5383         * sysdeps/i386/fpu/e_powf.S: Likewise.
5384         * sysdeps/i386/fpu/e_expl.S: Likewise.
5385         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5386         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5387         * sysdeps/i386/fpu/e_pow.S: Likewise.
5388         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5389         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5390         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5391         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5392         * sysdeps/i386/fpu/e_log2.S: Likewise.
5393         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5394         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5395         * sysdeps/i386/fpu/e_powl.S: Likewise.
5396         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5397         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5398         * sysdeps/i386/fpu/e_logl.S: Likewise.
5399         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5400         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5401         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5402         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5403         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5404         * sysdeps/i386/fpu/e_log.S: Likewise.
5405         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5406         * sysdeps/i386/fpu/e_logf.S: Likewise.
5407         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5408         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5409         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5410         * sysdeps/i386/fpu/e_log10.S: Likewise.
5411         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5412         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5413         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5414         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5415         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5416         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5417         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5418         * sysdeps/i386/i686/strtok.S: Likewise.
5419         * sysdeps/i386/i386-mcount.S: Likewise.
5420         * sysdeps/i386/strtok.S: Likewise.
5421         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5422         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5423         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5424         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5425         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5426         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5427         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5428         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5429         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5430         * sysdeps/x86_64/_mcount.S: Likewise.
5431         * sysdeps/x86_64/strtok.S: Likewise.
5432         * sysdeps/sh/_mcount.S: Likewise.
5434 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5436         * libio/iofopen.c: Include <fcntl.h>.
5437         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5438         (_IO_fopen64, fopen64): Define as aliases.
5439         * libio/iofopen64.c: Include <fcntl.h>.
5440         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5441         Conditionalize body on this.
5442         * sysdeps/wordsize-64/iofopen.c: File removed.
5443         * sysdeps/wordsize-64/iofopen64.c: File removed.
5445 2012-08-01  Marek Polacek  <polacek@redhat.com>
5447         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5448         Use dlfcn directly instead of a variable.
5449         (binfmt-subdir): Do not define.
5450         (dlfcn): Likewise.
5452 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5454         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5455         Remove all definitions.
5456         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5457         <kernel-features.h>.
5458         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5459         (miss_F_GETOWN_EX): Remove all definitions.
5460         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5461         macro definition.
5462         [!__ASSUME_FCNTL64]: Remove conditional code.
5463         [__ASSUME_FCNTL64]: Make code unconditional.
5464         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5465         <kernel-features.h>.
5466         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5467         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5468         (lockf64) [__NR_fcntl64]: Make code unconditional.
5469         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5471         * sysdeps/unix/sysv/linux/kernel-features.h
5472         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5473         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5474         Make code unconditional.
5475         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5476         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5478         [__NR_vfork]: Make code unconditional.
5479         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5480         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5482         [__NR_vfork]: Make code unconditional.
5483         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5484         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5486 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5488         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5489         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5491         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5492         Define mkstemp64 as an alias.
5493         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5494         Define mkstemps64 as an alias.
5495         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5496         Define mkostemp64 as an alias.
5497         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5498         Define mkostemps64 as an alias.
5499         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5500         Conditionalize body on this.
5501         * misc/mkostemp64.c: Likewise.
5502         * misc/mkostemps64.c: Likewise.
5503         * misc/mkstemps64.c: Likewise.
5504         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5505         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5506         * sysdeps/wordsize-64/mkostemp.c: File removed.
5507         * sysdeps/wordsize-64/mkstemp.c: File removed.
5508         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5509         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5510         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5511         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5513         [BZ #14138]
5514         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5515         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5516         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5517         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5519         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5520         compat_symbol macros from <shlib-compat.h> rather than the underlying
5521         default_symbol_version and symbol_version macros, so that DEFAULT
5522         lines in shlib-versions are respected.
5523         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5525 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5527         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5528         Declare with warn_unused_result.
5529         (setgid, setregid, setegid, setresgid): Likewise.
5530         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5531         Likewise.
5532         * WUR-REPORT: Remove set*id functions.
5534 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5536         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5538 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5540         * include/sys/socket.h (__libc_accept, __libc_accept4):
5541         Add attribute_hidden.
5542         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5544         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5545         use of PTR_MANGLE.
5546         * inet/getnetgrent_r.c (setup): Likewise.
5548         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5550 2012-07-31  David S. Miller  <davem@davemloft.net>
5552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5554 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5556         [BZ #13629]
5557         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5558         value between 1.0 and 2.0 and smaller part has absolute value less
5559         than 1.0.
5560         * math/s_clog10.c (__clog10): Likewise.
5561         * math/s_clog10f.c (__clog10f): Likewise.
5562         * math/s_clog10l.c (__clog10l): Likewise.
5563         * math/s_clogf.c (__clogf): Likewise.
5564         * math/s_clogl.c (__clogl): Likewise.
5565         * math/libm-test.inc (clog_test): Add more tests.
5566         (clog10_test): Likewise.
5567         * sysdeps/i386/fpu/libm-test-ulps: Update.
5568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570 2012-07-31  Florian Weimer  <fweimer@redhat.com>
5572         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5573         Exit with zero in case no suitable GID is found, and write a
5574         message to standard error.
5576 2012-07-30  Roland McGrath  <roland@hack.frob.com>
5578         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5579         rather than to 1.
5580         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5581         (MAXPATHLEN): Removed.
5582         (NOGROUP, NODEV): New macros.
5583         (setbit, clrbit, isset, isclr): New macros.
5584         (howmany, roundup, powerof2): New macros.
5585         (DEV_BSIZE): New macro.
5587         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5588         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5590         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5591         definition on [!__NO_LONG_DOUBLE_MATH].
5593         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5594         PTR_MANGLE and PTR_DEMANGLE.
5596         * socket/accept4.c (accept4): Rename to __libc_accept4.
5597         Define accept4 as a weak alias.
5599         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5600         on [_DIRENT_HAVE_D_TYPE].
5601         * io/ftw.c (ftw_dir): Likewise.
5603         * io/xmknod.c (__xmknod): Don't check PATH for being null.
5605         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5607         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5608         Use the BSD numbers rather than the arbitrary ones we had.
5609         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5610         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5611         (SIGXCPU, SIGXFSZ): New macros.
5612         (_NSIG): Now 32.
5614         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5615         initializer on [_LIBC_REENTRANT].
5617         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5618         definitions inside [_POSIX_MAPPED_FILES].
5620         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5622         * dirent/opendir.c: Include <fcntl.h>.
5624         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5625         (__libc_getspecific): Likewise.
5626         (__libc_key_create): Likewise.
5628         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5629         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5630         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5631         (tmpfile64): Define as alias.
5632         * sysdeps/wordsize-64/tmpfile.c: File removed.
5633         * sysdeps/wordsize-64/tmpfile64.c: File removed.
5634         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5635         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5637         * stdio-common/vfscanf.c: Include <stdbool.h>.
5638         * nss/makedb.c: Likewise.
5639         * stdio-common/_i18n_number.h: Likewise.
5640         * argp/argp-help.c: Likewise.
5641         * posix/wordexp.c: Likewise.
5642         * sysdeps/posix/spawni.c: Likewise.
5643         * nss/nss_files/files-initgroups.c: Likewise.
5644         * stdio-common/reg-modifier.c: Include <stdlib.h>.
5645         * nss/nss_files/files-initgroups.c: Likewise.
5646         * nss/nss_db/db-netgrp.c: Likewise.
5647         * nss/nss_db/db-initgroups.c: Likewise.
5648         * io/fchmodat.c: Include <sys/stat.h>.
5650         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5651         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5653         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5654         [HAVE_MMAP].
5656         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5657         Add multiple inclusion protection.
5659 2012-07-27  David S. Miller  <davem@davemloft.net>
5661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5663 2012-07-27  Gary Benson  <gbenson@redhat.com>
5665         [BZ #14298]
5666         * elf/rtld.c: Include <stap-probe.h>.
5667         (dl_main): Added static probes "init_start" and "init_complete".
5668         * elf/dl-load.c: Include <stap-probe.h>.
5669         (lose): Take new parameter "nsid".
5670         Added static probe "map_failed".
5671         (_dl_map_object_from_fd): Pass namespace id to lose.
5672         Added static probe "map_start".
5673         (open_verify): Pass namespace id to lose.
5674         * elf/dl-open.c: Include <stap-probe.h>.
5675         (dl_open_worker) Added static probes "map_complete", "reloc_start"
5676         and "reloc_complete".
5677         * elf/dl-close.c: Include <stap-probe.h>.
5678         (_dl_close_worker): Added static probes "unmap_start" and
5679         "unmap_complete".
5680         * elf/rtld-debugger-interface.txt: New file documenting the above.
5682 2012-07-26  Roland McGrath  <roland@hack.frob.com>
5684         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5685         rather than a string variable.
5686         * sunrpc/rpc_main.c (h_output): Likewise.
5687         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5689 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
5691         * inet/check_native.c: New file.
5693 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
5695         [BZ #13629]
5696         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5697         if larger part has absolute value 1.0.
5698         * math/s_clog10.c (__clog10): Likewise.
5699         * math/s_clog10f.c (__clog10f): Likewise.
5700         * math/s_clog10l.c (__clog10l): Likewise.
5701         * math/s_clogf.c (__clogf): Likewise.
5702         * math/s_clogl.c (__clogl): Likewise.
5703         * math/libm-test.inc (clog_test): Add more tests.
5704         (clog10_test): Likewise.
5705         * sysdeps/i386/fpu/libm-test-ulps: Update.
5706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5708         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5709         (pltexit): Likewise.
5710         (La_regs): Likewise.
5711         (La_retval): Likewise.
5712         (int_retval): Likewise.
5713         Update #error for removed macros to refer only to definitions in
5714         tst-audit.h.
5715         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5716         macro.
5717         (pltexit): Likewise.
5718         (La_regs): Likewise.
5719         (La_retval): Likewise.
5720         (int_retval): Likewise.
5721         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5722         macro.
5723         (pltexit): Likewise.
5724         (La_regs): Likewise.
5725         (La_retval): Likewise.
5726         (int_retval): Likewise.
5727         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5728         macro.
5729         (pltexit): Likewise.
5730         (La_regs): Likewise.
5731         (La_retval): Likewise.
5732         (int_retval): Likewise.
5733         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5734         macro.
5735         (pltexit): Likewise.
5736         (La_regs): Likewise.
5737         (La_retval): Likewise.
5738         (int_retval): Likewise.
5739         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5740         macro.
5741         (pltexit): Likewise.
5742         (La_regs): Likewise.
5743         (La_retval): Likewise.
5744         (int_retval): Likewise.
5745         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5746         macro.
5747         (pltexit): Likewise.
5748         (La_regs): Likewise.
5749         (La_retval): Likewise.
5750         (int_retval): Likewise.
5751         * sysdeps/generic/tst-audit.h: Update comment to refer only to
5752         macro definitions in tst-audit.h.
5753         * sysdeps/i386/tst-audit.h: New file.
5754         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5755         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5756         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5757         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5758         * sysdeps/sh/tst-audit.h: Likewise.
5759         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5760         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5761         * sysdeps/x86_64/tst-audit.h: Likewise.
5763 2012-07-26  Andreas Jaeger  <aj@suse.de>
5765         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5766         ptrace.
5768         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5769         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5770         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5771         PTRACE_O_MASK.
5772         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5773         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5774         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5776         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5777         value.
5779         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5780         _sigsys.
5781         (si_call_addr, si_syscall, si_arch): Define new macro.
5782         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5783         _sigsys.
5784         (si_call_addr, si_syscall, si_arch): Define new marcro.
5785         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5786         _sigsys.
5787         (si_call_addr, si_syscall, si_arch): Define new macro.
5788         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5789         _sigsys.
5790         (si_call_addr, si_syscall, si_arch): Define new macro.
5792 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
5794         [BZ #13717]
5795         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5796         Change to 2.4.21 where previously 2.4.1.
5797         * sysdeps/unix/sysv/linux/configure: Regenerated.
5798         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5799         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5800         Linux kernel version.
5801         (__ASSUME_STD_AUXV): Remove.
5802         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5803         kernel version.
5804         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5805         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5806         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5807         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5808         (__ASSUME_NETLINK_SUPPORT): Likewise.
5809         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5810         (__no_netlink_support): Remove conditional definition.
5811         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5812         Remove.
5813         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5814         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5815         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5816         (if_nameindex_ioctl): Remove.
5817         (if_nameindex_netlink): Do not handle __no_netlink_support.
5818         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5819         code.
5820         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5821         Remove conditional code.
5822         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5823         code.
5824         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5825         unconditional.
5826         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5827         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5828         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5829         Remove.
5830         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5831         [!__ASSUME_STD_AUXV]: Remove conditional code.
5832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5833         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5834         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5836         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5837         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5838         code.
5839         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5841         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5842         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5843         conditional code.
5844         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5846         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5847         code.
5848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5849         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5850         conditional code.
5851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5852         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5853         code unconditional.
5854         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5855         conditional code.
5856         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5857         unconditional.
5858         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5859         conditional code.
5860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5861         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5862         unconditional.
5863         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5864         conditional code.
5865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5866         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5867         code unconditional.
5868         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5869         conditional code.
5870         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5871         unconditional.
5872         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5873         conditional code.
5874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5875         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5876         code unconditional.
5877         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5878         conditional code.
5879         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5880         unconditional.
5881         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5882         conditional code.
5884 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5886         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5887         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5888         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5889         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5890         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5891         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5892         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5893         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5894         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5895         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5896         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5897         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5898         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5899         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5900         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5901         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5902         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5903         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5904         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5906         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5907         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5908         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5910 2012-07-25  Florian Weimer  <fweimer@redhat.com>
5912         * Versions.def: Add GLIBC_2.17.
5913         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5914         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5915         Introduce __libc_secure_getenv.
5916         * stdlib/Versions (2.17): Add secure_getenv
5917         (GLIBC_PRIVATE): Add __libc_secure_getenv.
5918         * stdlib/secure-getenv.c: Rename __secure_getenv to
5919         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
5920         symbol __secure_getenv for GLIBC_2.0.
5921         * stdlib/tst-secure-getenv.c: New.
5922         * stdlib/Makefile (tests): Add testcase.
5923         * manual/startup.texi (Environment Access): Document
5924         secure_getenv.
5925         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5926         __libc_secure_getenv.
5927         * inet/ruserpass.c (ruserpass): Likewise.
5928         * malloc/mtrace.c (mtrace): Likewise.
5929         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5930         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5931         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5932         * sysdeps/posix/tempname.c: Likewise.  Evaluate
5933         HAVE_SECURE_GETENV.
5934         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5935         __secure_getenv to __libc_secure_getenv.
5936         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5938         Likewise.
5939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5940         Likewise.
5941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5949 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
5951         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5952         (struct La_i86_retval): Likewise.
5953         (struct La_x86_64_regs): Likewise.
5954         (struct La_x86_64_retval): Likewise.
5955         (struct La_x32_regs): Likewise.
5956         (struct La_x32_retval): Likewise.
5957         (struct La_ppc32_regs): Likewise.
5958         (struct La_ppc32_retval): Likewise.
5959         (struct La_ppc64_regs): Likewise.
5960         (struct La_ppc64_retval): Likewise.
5961         (struct La_sh_regs): Likewise.
5962         (struct La_sh_retval): Likewise.
5963         (struct La_s390_32_regs): Likewise.
5964         (struct La_s390_32_retval): Likewise.
5965         (struct La_s390_64_regs): Likewise.
5966         (struct La_s390_64_retval): Likewise.
5967         (struct La_sparc32_regs): Likewise.
5968         (struct La_sparc32_retval): Likewise.
5969         (struct La_sparc64_regs): Likewise.
5970         (struct La_sparc64_retval): Likewise.
5971         (struct audit_ifaces): Remove architecture-specific pltenter and
5972         pltexit members.
5973         * sysdeps/i386/ldsodefs.h: New file.
5974         * sysdeps/powerpc/ldsodefs.h: Likewise.
5975         * sysdeps/s390/ldsodefs.h: Likewise.
5976         * sysdeps/sh/ldsodefs.h: Likewise.
5977         * sysdeps/sparc/ldsodefs.h: Likewise.
5978         * sysdeps/x86_64/ldsodefs.h: Likewise.
5980 2012-07-25  Marek Polacek  <polacek@redhat.com>
5982         [BZ #6808]
5983         * math/libm-test.inc (yn_test): Add another test.
5984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5985         to ERANGE when the result is +-Inf.
5986         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5987         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5988         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5989         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5991 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
5993         * conform/data/time.h-data (NULL): Use macro-constant.  Require
5994         equal to 0.
5995         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
5996         clock_t.
5997         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
5999 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6001         * configure.in <sysdeps resolving>: Correct printing
6002         Implies_before.
6003         * configure: Regenerate.
6005 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6007         * math/w_ilogb.c: Include <limits.h>.
6008         * math/w_ilogbl.c: Likewise.
6010 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6012         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6013         va_copy.  Document allowing for unavailable va_copy only as
6014         pre-C99 compatibility.
6015         * manual/string.texi (Copying and Concatenation): Use va_copy
6016         instead of __va_copy in concat example.
6018 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6020         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6021         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6022         it if not null.
6024         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6025         with O_NOLINK passed to __file_name_lookup.
6027         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6028         with O_NOLINK passed to __file_name_lookup.
6030         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6031         negative N or less than NGIDS.
6033         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6034         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6035         enough.  Use memcpy instead of strncpy.
6037 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6039         * elf/Makefile (check-data): Remove.
6040         (localplt.data): New vpath directive.
6041         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6042         instead of $(check-data).
6043         * scripts/data/localplt-generic.data: Move to ...
6044         * sysdeps/generic/localplt.data: ... here.
6045         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6046         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6047         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6049         ... here.
6050         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6052         ... here.
6053         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6055         ... here.
6056         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6058         ... here.
6059         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6061         ... here.
6062         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6064         ... here.
6066 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6068         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6069         PPC32 and PPC64 files.
6070         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6071         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6073 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6075         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6076         __makecontext_ret to ...
6077         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6078         ... here and call exit if uc_link is NULL.  New file.
6079         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6080         __makecontext_ret.S.
6081         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6082         __makecontext_ret to ...
6083         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6084         ... here and call exit if uc_link is NULL.  New file.
6085         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6086         __makecontext_ret.S.
6088 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6090         * elf/elf.h (R_390_IRELATIVE): New definition.
6091         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6092         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6093         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6094         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6095         (elf_machine_lazy_rel): Likewise.
6096         * sysdeps/s390/dl-irel.h: New file.
6097         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6098         * sysdeps/s390/s390-64/memset.S: New asm code.
6099         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6100         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6101         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6102         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6103         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6104         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6105         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6106         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6107         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6108         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6109         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6110         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6111         * sysdeps/s390/s390-32/memset.S: New asm code.
6112         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6114 2012-07-17  Marek Polacek  <polacek@redhat.com>
6116         [BZ #14349]
6117         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6118         * sysdeps/s390/s390-64/configure.in: Likewise.
6119         * sysdeps/sparc/configure.in: Likewise.
6120         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6121         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6122         * sysdeps/i386/configure.in: Likewise.
6123         * sysdeps/x86_64/configure.in: Likewise.
6124         * sysdeps/sh/configure.in: Likewise.
6125         * sysdeps/s390/s390-32/configure: Regenerated.
6126         * sysdeps/s390/s390-64/configure: Likewise.
6127         * sysdeps/x86_64/configure: Likewise.
6128         * sysdeps/sh/configure: Likewise.
6129         * sysdeps/powerpc/powerpc64/configure: Likewise.
6130         * sysdeps/powerpc/powerpc32/configure: Likewise.
6131         * sysdeps/sparc/configure: Likwise.
6132         * sysdeps/i386/configure: Likewise.
6134         * elf/dl-open.c: Comment fixes.
6136 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6138         * Makefile [CXX] (check-data): Remove.
6139         [CXX] (c++-types.data): New vpath directive.
6140         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6141         vpath.  Do not allow for C++ type data being missing.
6142         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6143         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6144         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6145         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6146         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6147         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6148         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6150         ... here.
6151         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6153         ... here.
6154         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6156         ... here.
6157         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6159         ... here.
6160         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6162         ... here.
6163         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6165         ... here.
6166         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6168         ... here.
6169         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6172         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6173         definitions to architecture-specific files.
6174         (TLS_IE): Likewise.
6175         (TLS_LD): Likewise.
6176         (TLS_GD): Likewise.
6177         * sysdeps/i386/tls-macros.h: New file.
6178         * sysdeps/powerpc/tls-macros.h: Likewise.
6179         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6180         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6181         * sysdeps/sh/tls-macros.h: Likewise.
6182         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6183         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6184         * sysdeps/x86_64/tls-macros.h: Likewise.
6186 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6188         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6189         zero value for regular exit case.
6191         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6192         (__start_context): Preserve zero value for regular exit case.
6194 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6195             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6197         * manual/setjmp.texi (setcontext): Clarify normal process
6198         termination when uc_link is the null pointer.
6199         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6200         exit call.
6202 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6204         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6205         preprocessor.  Test for each exception mask separately.
6207 2012-07-16  Andreas Jaeger  <aj@suse.de>
6209         * po/ru.po: Update from translation team.
6211 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6213         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6214         equal to 0.
6215         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6216         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6217         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6218         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6219         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6221 2012-07-13  Andreas Jaeger  <aj@suse.de>
6223         * po/fr.po: Update from translation team.
6225 2012-07-12  Marek Polacek  <polacek@redhat.com>
6227         [BZ #14173]
6228         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6229         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6230         loop condition.
6232 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6234         [BZ #13717]
6235         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6236         Change to 2.4.1 where previously 2.4.0.
6237         * sysdeps/unix/sysv/linux/configure: Regenerated.
6238         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6239         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6240         version.
6241         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6242         (__ASSUME_AT_CLKTCK): Remove.
6243         (__ASSUME_AT_PAGESIZE): Likewise.
6244         (__ASSUME_AT_XID): Likewise.
6245         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6246         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6247         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6248         unconditionally.
6249         (HAVE_AUX_PAGESIZE): Likewise.
6250         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6251         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6252         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6254 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6256         [BZ #14307]
6257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6258         the temporary buffer used to invoke __gethostbyname2_r,
6259         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6260         host_data / struct gaih_addrtuple.
6261         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6262         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6263         header file nss/nsswitch.h.
6264         * nss/nsswitch.h (global scope): Add definition of implementation
6265         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6266         resolv/nss_dns/dns-host.c).
6268 2012-07-11  Andreas Jaeger  <aj@suse.de>
6270         * po/fr.po: Update from translation team.
6272         * po/sv.po: Update from translation team
6273         * po/fr.po: Another update from translation team.
6275 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6277         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6278         for subnormals or multiply small sinh result by itself.
6279         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6282 2012-07-11  David S. Miller  <davem@davemloft.net>
6284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6286 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6288         [BZ #14347]
6289         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6290         (INTERNAL_MARK): Shift it here.
6292 2012-07-10  Marek Polacek  <polacek@redhat.com>
6294         [BZ #14151]
6295         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6296         libc_cv_asm_global_directive with .globl.
6297         * configure: Regenerated.
6298         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6299         with .globl.
6300         * sysdeps/i386/configure: Regenerated.
6301         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6302         with .globl.
6303         * sysdeps/x86_64/configure: Regenerated.
6304         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6305         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6306         * elf/tst-unique2mod2.c: Likewise.
6307         * elf/tst-unique2mod1.c: Likewise.
6308         * elf/tst-unique1mod2.c: Likewise.
6309         * elf/tst-unique1mod1.c: Likewise.
6310         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6311         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6312         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6313         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6314         * sysdeps/mach/sysdep.h: Likewise.
6315         * sysdeps/i386/sysdep.h: Likewise.
6316         * sysdeps/i386/i386-mcount.S: Likewise.
6317         * sysdeps/x86_64/_mcount.S: Likewise.
6318         * sysdeps/x86_64/sysdep.h: Likewise.
6319         * sysdeps/sh/_mcount.S: Likewise.
6320         * sysdeps/sh/sysdep.h: Likewise.
6321         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6322         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6323         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6324         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6325         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6326         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6327         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6328         * locale/localeinfo.h: Likewise.
6329         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6330         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6332 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6334         [BZ #14336]
6335         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6336         system".
6337         * manual/message.texi (The Uniforum approach): Likewise.
6338         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6339         (glibc iconv Implementation): Likewise.
6341 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6343         [BZ #14337]
6344         * math/s_clog.c (__clog): Avoid scaling a value down where that
6345         could result in underflow.
6346         * math/s_clog10.c (__clog10): Likewise.
6347         * math/s_clog10f.c (__clog10f): Likewise.
6348         * math/s_clog10l.c (__clog10l): Likewise.
6349         * math/s_clogf.c (__clogf): Likewise.
6350         * math/s_clogl.c (__clogl): Likewise.
6351         * math/libm-test.inc (clog_test): Add more tests.
6352         (clog10_test): Likewise.
6353         * sysdeps/i386/fpu/libm-test-ulps: Update.
6354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6356 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6358         [BZ #14283]
6359         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6360         by 7 not 8 to examine high bit of fractional part.
6362         [BZ #14042]
6363         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6364         for call to __mcount_internal.
6365         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6366         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6367         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6369 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6371         [BZ #14154]
6372         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6373         approximation for values within 0x1p-13f of an odd multiple of
6374         pi/4.
6375         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6376         exception.  Add more tests.
6377         * sysdeps/i386/fpu/libm-test-ulps: Update.
6379         [BZ #6778]
6380         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6381         inputs and return -1 for them.  Do not check for +Inf in case not
6382         reachable for +Inf.
6383         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6384         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6385         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6386         and return -1 for them.  Do not check for +Inf in case not
6387         reachable for +Inf.
6388         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6389         define.
6390         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6391         and return -1 for them.  Do not check for +Inf in case not
6392         reachable for +Inf.
6393         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6394         spurious underflow.
6395         * sysdeps/i386/fpu/libm-test-ulps: Update.
6396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6398 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6400         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6402 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6404         [BZ #14157]
6405         [BZ #14331]
6406         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6407         could result in spurious underflow.  Scale down values above
6408         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6409         * math/s_csqrtf.c (__csqrtf): Likewise.
6410         * math/s_csqrtl.c (__csqrtl): Likewise.
6411         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6412         spurious underflow.
6413         * sysdeps/i386/fpu/libm-test-ulps: Update.
6414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6416 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6418         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6419         xopen-msg.sed.
6420         * catgets/xopen-msg.awk: New file.
6421         * catgets/xopen-msg.sed: Removed.
6423         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6424         po2text.sed.
6425         * intl/po2test.awk: New file.
6426         * intl/po2test.sed: Removed.
6428 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6430         [BZ #14328]
6431         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6432         or multiply small sinh result by itself.
6433         * math/s_ctanf.c (__ctanf): Likewise.
6434         * math/s_ctanh.c (__ctanh): Likewise.
6435         * math/s_ctanhf.c (__ctanhf): Likewise.
6436         * math/s_ctanhl.c (__ctanhl): Likewise.
6437         * math/s_ctanl.c (__ctanl): Likewise.
6438         * math/libm-test.inc (ctan_test_tonearest): New function.
6439         (ctan_test_towardzero): Likewise.
6440         (ctan_test_downward): Likewise.
6441         (ctan_test_upward): Likewise.
6442         (ctanh_test_tonearest): Likewise.
6443         (ctanh_test_towardzero): Likewise.
6444         (ctanh_test_downward): Likewise.
6445         (ctanh_test_upward): Likewise.
6446         (main): Call these new functions.
6447         * sysdeps/i386/fpu/libm-test-ulps: Update.
6448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6450 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6452         * .gitignore: Delete /ports entry.
6454 2012-07-03  Andreas Jaeger  <aj@suse.de>
6456         * po/bg.po: Update from translation team.
6457         * po/cs.po: Likewise.
6458         * po/de.po: Likewise.
6459         * po/hr.po: Likewise.
6460         * po/nl.pl: Likewise.
6461         * po/pl.po: Likewise.
6462         * po/vi.po: Likewise.
6464 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6466         * Makeconfig [!+link] (+link-before-libc): New variable.
6467         [!+link] (+link-after-libc): Likewise.
6468         [!+link] (+link-tests): Likewise.
6469         [!+link] (+link): Define in terms of $(+link-before-libc) and
6470         $(+link-after-libc).
6471         [!+link-static] (+link-static-before-libc): New variable.
6472         [!+link-static] (+link-static-after-libc): Likewise.
6473         [!+link-static] (+link-static-tests): Likewise.
6474         [!+link-static] (+link-static): Define in terms of
6475         $(+link-static-before-libc) and $(+link-static-after-libc).
6476         [build-shared] (link-libc-before-gnulib): New variable.
6477         [build-shared] (link-libc-tests): Likewise.
6478         [build-shared] (link-libc): Define in terms of
6479         $(link-libc-before-gnulib).
6480         [!build-shared] (link-libc-tests): New variable.
6481         (link-libc-static-tests): New variable.
6482         [!gnulib] (gnulib-arch): New variable.
6483         [!gnulib] (gnulib-tests): Likewise.
6484         [!gnulib] (static-gnulib-arch): Likewise.
6485         [!gnulib] (static-gnulib-tests): Likewise.
6486         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6487         Define with "=" instead of ":=".
6488         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6489         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6490         * Rules (binaries-all-notests): New variable.
6491         (binaries-all-tests): Likewise.
6492         (binaries-static-notests): Likewise.
6493         (binaries-static-tests): Likewise.
6494         (binaries-all): Define using $(binaries-all-notests) and
6495         $(binaries-all-tests).
6496         (binaries-static): Define using $(binaries-static-notests) and
6497         $(binaries-static-tests).
6498         (binaries-shared-tests): New variable.
6499         (binaries-shared-notests): Likewise.
6500         (binaries-shared): Remove variable.
6501         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6502         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6503         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6504         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6505         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6506         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6507         * elf/Makefile (sln-modules): New variable.
6508         (extra-objs): Add $(sln-modules:=.o).
6509         (ldconfig-modules): Add static-stubs.
6510         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6511         * elf/static-stubs.c: New file.
6513         [BZ #14283]
6514         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6515         by 7 not 8 to examine high bit of fractional part.  Use volatile
6516         variables when splitting into final array of floats if
6517         __FLT_EVAL_METHOD__ != 0.
6518         * math/libm-test.inc (cos_test): Add another test.
6519         (sin_test): Likewise.
6520         * sysdeps/i386/fpu/libm-test-ulps: Update.
6522         [BZ #14273]
6523         * math/libm-test.inc (cosh_test): Add more tests.
6525         * version.h (RELEASE): Set to "development".
6526         (VERSION): Set to "2.16.90".
6528 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6530         * NEWS: Update copyright. Remove last-updated date.
6531         Mention math library bug fixes and timezone data changes.
6532         * README: Mention GNU/Hurd, x32, and HPPA support status.
6534 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6536         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6538 2012-06-27  Andreas Jaeger  <aj@suse.de>
6540         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6542 2012-06-25  Andreas Jaeger  <aj@suse.de>
6544         * sysdeps/s390/fpu/libm-test-ulps: Update.
6546 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6547             Thomas Schwinge  <thomas@codesourcery.com>
6549         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6550         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6551         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6552         fanotify_mark.
6554 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6556         * sysdeps/mach/start.c: Remove file.
6557         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6558         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6559         * sysdeps/sh/init-first.c: Likewise.
6561         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6562         registers for frame unwinding purposes, add CFI directives.
6563         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6564         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6565         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6566         Likewise.
6568         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6569         __fortify_fail returning.
6570         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6572         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6573         sysdeps/sh/____longjmp_chk.S.
6574         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6575         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6576         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6577         (gen-as-const-headers): Append sigaltstack-offsets.sym.
6579         * sysdeps/sh/abort-instr.h: New file.
6580         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6581         process in case exit returns.
6583         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6584         initialize the GOT register before use.
6586         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6587         calculation of ARGC > 4.
6589         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6590         meaningful names to some local labels.
6592 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6593             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6595         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6596         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6597         (__arch_compare_and_exchange_val_16_acq): Likewise.
6598         (__arch_compare_and_exchange_val_32_acq): Likewise.
6599         (atomic_exchange_and_add): Fix gUSA sequence.
6600         (atomic_add): Likewise.
6601         (atomic_add_negative): Likewise.
6602         (atomic_add_zero): Likewise.
6603         (atomic_bit_test_set): Likewise.
6605 2012-06-22  Andreas Schwab  <schwab@redhat.com>
6607         [BZ #13579]
6608         * include/link.h (struct link_map): Add l_free_initfini.
6609         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6610         l_initfini.
6611         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6612         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6613         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6614         set.
6616 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
6618         * configure.in: Use AC_LANG_SOURCE.
6619         * configure: Regenerate.
6621 2012-06-22  Roland McGrath  <roland@hack.frob.com>
6623         * configure.in (libc_cv_localstatedir): New substituted variable.
6624         * configure: Regenerated.
6625         * config.make.in (localstatedir): New variable, substituted from
6626         libc_cv_localstatedir.
6627         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6628         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6629         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6630         * sysdeps/gnu/configure: Regenerated.
6632 2012-06-21  Jeff Law  <law@redhat.com>
6634         [BZ #14277]
6635         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6636         free.  Simplify list management for _LIBC case.
6638 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
6640         [BZ #14273]
6641         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6642         Clear sign bit of 64-bit integer value before comparing against
6643         overflow value.
6645         * sysdeps/mach/configure: Regenerated.
6647 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
6649         [BZ #14278]
6650         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6652 2012-06-21  Jeff Law  <law@redhat.com>
6654         [BZ #13882]
6655         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
6656         uint16_t for elements in the "seen" array to avoid char overflows.
6657         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6658         * elf/dl-open.c (dl_open_worker): Likewise.
6660 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
6662         * scripts/list-sources.sh: Scan PORTS for translations.
6663         * po/libc.pot: Regenerated.
6665 2012-06-21  Andreas Jaeger  <aj@suse.de>
6667         [BZ #12194]
6668         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6669         warning.
6670         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6671         * bits/byteswap-16.h (__bswap_16): Likewise.
6672         * bits/byteswap.h (__bswap_constant_16): Likewise.
6674 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
6676         [BZ #14117]
6677         * sysdeps/i386/fpu_control.h: Removed.
6678         * sysdeps/x86_64/fpu_control.h: Moved to ...
6679         * sysdeps/x86/fpu_control.h: Here.
6681         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6682         (_FPU_SETCW): Likewise.
6684 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
6686         [BZ #14117]
6687         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6688         * sysdeps/x86/fpu/bits/mathinline.h: This.
6689         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6691         [BZ #14050]
6692         [BZ #14117]
6693         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6694         functions if __x86_64__ is defined.
6696 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
6698         * string/endian.h: Add !__ASSEMBLER__ condition for including
6699         conversion interfaces.
6701 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
6703         [BZ #14241]
6704         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6705         of ABS(x) in calculating zero to negative powers other than odd
6706         integers.
6707         * math/libm-test.inc (pow_test): Add more tests.
6709 2012-06-15  Andreas Jaeger  <aj@suse.de>
6711         * manual/contrib.texi (Contributors): Update entry of Liubov
6712         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6713         Machado Filho.
6715 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
6717         * string/string.h: Add __wur to GNU version of strerror_r.
6719 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
6721         [BZ #14229]
6722         * string/Makefile (tests): Add tst-strtok_r.
6723         * string/tst-strtok_r.c: New file.
6724         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6725         RAX_LP/RDX_LP on SAVE_PTR.
6727 2012-06-14  Roland McGrath  <roland@hack.frob.com>
6729         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6731 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
6733         * libm_test.inc (csqrt_test): Allow more spurious underflow
6734         exceptions.
6735         (j0_test): Likewise.
6736         (j1_test): Likewise.
6737         (y0_test): Likewise.
6738         (y1_test): Likewise.
6740 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
6742         * po/Makefile (libc.pot): Use UTF-8 charset.
6744 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6746         [BZ #14210]
6747         Suppress sign-conversion warning from FD_SET.
6748         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6749         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6750         not unsigned long int.
6751         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6753 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
6755         [BZ #14050]
6756         [BZ #14117]
6757         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6758         __extern_always_inline instead of __extern_inline.
6759         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6760         (__signbit): Likewise.
6761         (__signbitl): Support C++ namespace.
6762         (lrintf): New inline function.
6763         (lrint): Likewise.
6764         (llrintf): Likewise.
6765         (llrint): Likewise.
6766         (fmaxf): Likewise.
6767         (fmax): Likewise.
6768         (fminf): Likewise.
6769         (fmin): Likewise.
6770         (rint): Likewise.
6771         (rintf): Likewise.
6772         (ceil): Likewise.
6773         (ceilf): Likewise.
6774         (floor): Likewise.
6775         (floorf): Likewise.
6776         (nearbyint): Likewise.
6777         (nearbyintf): Likewise.
6779 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
6781         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6782         non-default versions.
6784 2012-06-11  Roland McGrath  <roland@hack.frob.com>
6786         [BZ #14218]
6787         * manual/argp.texi (Argp): Reword argp_parse description slightly.
6789 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
6791         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6792         (FE_UPWARD, FE_DOWNWARD): Don't define.
6793         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6794         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6796         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6797         reading it.
6798         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6799         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6801 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6803         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6804         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6805         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6806         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6808 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6810         [BZ #14117]
6811         * sysdeps/i386/fpu/bits/fenv.h: Removed.
6812         * sysdeps/i386/fpu/Implies: New file.
6813         * sysdeps/x86_64/fpu/Implies: Likewise.
6814         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6815         * sysdeps/x86/fpu/bits/fenv.h: This.
6817         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6818         __SSE_MATH__.
6820 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6822         [BZ #14134]
6823         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6824         character 0xffff that matches the last element of the
6825         conversion table.
6827 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6829         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6830         fmodl commit.
6832 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6834         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6835         values higher than 25.6283.
6837 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6839         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6840         subnormal exponent extraction and add some __builtin_expect.
6841         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6842         Fix for subnormal mantissa calculation.
6844 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
6846         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6847         cpu2 is -1 and errno is not ENOSYS.
6849 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
6851         [BZ #14117]
6852         * sysdeps/i386/i486/bits/string.h: Renamed to ...
6853         * sysdeps/x86/bits/string.h: This.
6854         * sysdeps/x86_64/bits/string.h: Removed.
6856         * sysdeps/i386/i486/bits/string.h: Define inline functions only
6857         if not compiling for x86-64, but compiling for >= i486.
6859         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6860         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6862         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6863         New macro from Linux kernel 3.4.0.
6864         (FP_XSTATE_MAGIC2): Likewise.
6865         (FP_XSTATE_MAGIC2_SIZE): Likewise.
6866         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6867         (struct _fpx_sw_bytes): New struct.
6868         (struct _xsave_hdr): Likewise.
6869         (struct _ymmh_state): Likewise.
6870         (struct _xstate): Likewise.
6872         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6873         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6874         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6875         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6876         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6877         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6879         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6880         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6881         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6882         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6883         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6884         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6886 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6888         [BZ #13743]
6889         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6890         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6891         (sysdep_headers): Include sys/platform/ppc.h.
6892         * sysdeps/powerpc/test-gettimebase.c: Test for
6893         __ppc_get_timebase() to catch future ISA opcode/insn changes.
6894         * manual/Makefile (appendices): Include platform.texi.
6895         * manual/contrib.texi (Contributors): Update @node pointers.
6896         * manual/maint.texi (Maintenance): Likewise.
6897         (Platform): New node.
6898         * manual/platform.texi: New file.  Document the new features.
6900 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6901             Jakub Jelinek  <jakub@redhat.com>
6903         [BZ #14188]
6904         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6905         where __builtin_expect is unavailable.
6907 2012-06-03  David S. Miller  <davem@davemloft.net>
6909         * stdlib/longlong.h: Updated from GCC.
6911 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
6913         [BZ #14042]
6914         * sysdeps/powerpc/powerpc32/mcount.c: New file.
6915         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6916         __mcount_internal.
6917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6918         (GLIBC_2.16): Likewise.
6920 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6922         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6924 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
6926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6927         (default-abi): New variable.
6928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6929         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6930         variable.
6931         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6932         Likewise.
6933         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6934         Likewise.
6935         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6936         Likewise.
6938         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6939         definition.  Document in comment.
6941 2012-06-01  David S. Miller  <davem@davemloft.net>
6943         * stdlib/longlong.h: Updated from GCC.
6945 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6947         [BZ #14117]
6948         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6949         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6950         sys/debugreg.h sys/io.h here.
6951         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6952         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6953         sys/io.h.
6954         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6955         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6956         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6957         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6958         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6959         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6961         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6962         Define only if __x86_64__ is defined.
6964 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
6966         [BZ #14048]
6967         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6968         Use int64_t for variable i.
6969         * math/libm-test.inc (fmod_test): Add more tests.
6971         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6972         z computation is not scheduled after fetestexcept.
6973         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6974         Use math_force_eval instead of asm to ensure calculation scheduled
6975         before exception test.
6976         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6977         Ensure a1 + u.d computation is not scheduled after fetestexcept.
6979 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
6981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6982         computation is not scheduled after fetestexcept.
6984 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6986         [BZ #14117]
6987         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6988         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6990 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6992         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6993         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6995 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
6997         [BZ #14117]
6998         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6999         <bits/wordsize.h>.
7000         (__WCHAR_MIN): Support __WORDSIZE == 64.
7001         (__WCHAR_MAX): Likewise.
7003         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7004         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7006         [BZ #14183]
7007         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7008         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7010         [BZ #14117]
7011         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7012         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7014         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7015         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7017         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7018         Defined to 1 if __x86_64__ isn't defined.
7019         (_STAT_VER_LINUX_OLD): New.
7020         (st_atime): Remove duplicate.
7021         (st_mtime): Likewise.
7022         (st_ctime): Likewise.
7024 2012-05-31  David S. Miller  <davem@davemloft.net>
7026         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7027         entries.
7029 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7031         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7032         gen-libm-test.pl.
7034         [BZ #14132]
7035         * elf/dl-reloc.c: Include <_itoa.h>.
7036         (_dl_reloc_bad_type): Remove use of INTUSE.
7037         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7038         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7039         * stdio-common/psiginfo.c (psiginfo): Likewise.
7040         * stdio-common/psignal.c (psignal): Likewise.
7041         * string/strsignal.c (strsignal): Likewise.
7042         * include/signal.h (_sys_siglist): Declare hidden proto.
7043         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7044         INTVARDEF with libc_hidden_data_def.
7045         * stdio-common/itoa-udigits.c: Likewise.
7046         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7047         (_itoa_lower_digits_internal): Remove declaration.
7048         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7049         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7050         (_sys_sigabbrev_internal): Remove aliases.
7051         (_sys_siglist): Define hidden alias.
7053 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7056         bits/sysctl.h.
7058 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7060         [BZ #14117]
7061         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7062         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7064         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7065         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7066         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7067         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7068         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7069         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7071         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7072         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7073         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7075         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7076         with __addr.
7077         (insw): Likewise.
7078         (insl): Likewise.
7079         (outsb): Likewise.
7080         (outsw): Likewise.
7081         (outsl): Likewise.
7083         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7084         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7085         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7087         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7088         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7089         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7090         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7091         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7092         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7094         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7095         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7097         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7098         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7102         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7104         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7105         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7106         to ...
7107         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7109         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7110         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7111         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7113         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7114         for x86-64.
7115         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7117 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7119         * math/math.h (M_El): Use two more decimal places.
7120         (M_LOG2El): Likewise.
7121         (M_LOG10El): Likewise.
7122         (M_LN2l): Likewise.
7123         (M_LN10l): Likewise.
7124         (M_PIl): Likewise.
7125         (M_PI_2l): Likewise.
7126         (M_PI_4l): Likewise.
7127         (M_1_PIl): Likewise.
7128         (M_2_PIl): Likewise.
7129         (M_2_SQRTPIl): Likewise.
7130         (M_SQRT2l): Likewise.
7131         (M_SQRT1_2l): Likewise.
7133 2012-05-31  David S. Miller  <davem@davemloft.net>
7135         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7136         values between float registers.
7137         * sysdeps/sparc/sparc64/memset.S: Likewise.
7138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7140 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7142         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7143         -D_FORTIFY_SOURCE=1.
7144         (CPPFLAGS-tst-longjmp_chk.c): Define.
7145         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7146         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7147         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7148         CFLAGS-tst-wchar-h.c.
7150 2012-05-31  Marek Polacek  <polacek@redhat.com>
7152         [BZ #14132]
7153         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7154         __endmntent_internal): Remove declaration.
7155         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7156         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7157         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7159 2012-05-30  David S. Miller  <davem@davemloft.net>
7161         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7162         (___Q_simulate_exceptions): Use real FP ops rather than writing
7163         into the %fsr.
7164         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7165         Likewise.
7167 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7169         [BZ #14117]
7170         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7171         * sysdeps/x86/bits/xtitypes.h: This.
7173         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7174         * sysdeps/x86/bits/wordsize.h: This.
7176         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7177         * sysdeps/x86/bits/huge_vall.h: This.
7179         * sysdeps/i386/bits/select.h: Removed.
7180         * sysdeps/x86_64/bits/select.h: Renamed to ...
7181         * sysdeps/x86/bits/select.h: This.
7183         * sysdeps/i386/bits/setjmp.h: Removed.
7184         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7185         * sysdeps/x86/bits/setjmp.h: This.
7187         * sysdeps/i386/bits/mathdef.h: Removed.
7188         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7189         * sysdeps/x86/bits/mathdef.h: This.
7191 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7193         [BZ #14132]
7194         * include/sys/socket.h (__connect_internal)
7195         (__libc_sa_len_internal): Remove declaration.
7196         (__connect, __libc_sa_len): Declare hidden_proto.
7197         (SA_LEN): Remove use of INTUSE.
7198         * socket/connect.c: Add libc_hidden_def.
7199         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7200         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7201         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7202         alias.
7203         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7204         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7205         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7206         of adding _internal alias.
7208 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7210         [BZ #14117]
7211         * sysdeps/i386/bits/link.h: Removed.
7212         * sysdeps/i386/bits/linkmap.h: Likewise.
7213         * sysdeps/x86_64/bits/link.h: Renamed to ...
7214         * sysdeps/x86/bits/link.h: This.
7215         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7216         * sysdeps/x86/bits/linkmap.h: This.
7218         * sysdeps/i386/bits/endian.h: Removed.
7219         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7220         * sysdeps/x86/bits/endian.h: This.
7222         * sysdeps/i386/bits/byteswap.h: Removed.
7223         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7224         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7225         * sysdeps/x86/bits/byteswap.h: This.
7226         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7227         * sysdeps/x86/bits/byteswap-16.h: This.
7228         * sysdeps/i386/Implies: Add x86.
7229         * sysdeps/x86_64/Implies: Likewise.
7231 2012-05-30  David S. Miller  <davem@davemloft.net>
7233         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7234         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7235         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7236         (FP_TRAPPING_EXCEPTIONS): Define.
7237         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7238         (FP_TRAPPING_EXCEPTIONS): Define.
7239         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7240         subnormals only when inexact has been signalled or underflow
7241         exceptions are enabled.
7242         (_FP_PACK_CANONICAL): Likewise.
7244 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7246         [BZ #14183]
7247         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7248         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7250 2012-05-30  Richard Henderson  <rth@twiddle.net>
7252         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7253         with #ifndef NOT_IN_libc.
7255         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7256         marked to avoid plt entry.
7258 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7260         [BZ #14112]
7261         * Makeconfig (default-abi): New macro.
7262         (abi-includes): Likewise.
7263         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7264         $(abi-$(default-abi)-lib-soname) for soname if defined.
7265         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7266         abi-variants.
7267         * Makefile (installed-stubs): Likewise.
7268         * include/stubs-biarch.h: Removed.
7269         * scripts/lib-names.awk: Only handle one library at a time.
7270         * scripts/soversions.awk: Remove WORDSIZE support.
7271         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7272         entries.
7273         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7274         Removed.
7275         (syscall-list-default-condition): Likewise.
7276         (syscall-list-default-condition): Likewise.
7277         (syscall-list-includes): Likewise.
7278         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7279         syscall-list-* with abi-*.  Handle undefined abi-variants.
7280         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7281         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7282         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7283         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7284         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7285         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7286         Removed.
7287         (syscall-list-32-options): Likewise.
7288         (syscall-list-32-condition): Likewise.
7289         (syscall-list-64-options): Likewise.
7290         (syscall-list-64-condition): Likewise.
7291         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7292         macro.
7293         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7294         Renamed to ...
7295         (abi-*): This.
7296         (abi-64-ld-soname): New macro.
7297         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7298         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7299         Renamed to ...
7300         (abi-*): This.
7301         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7302         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7304 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7306         * sysdeps/unix/sysv/linux/kernel-features.h
7307         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7308         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7309         include <kernel-features.h>.
7310         [!__NR_ftruncate64]: Remove conditional code.
7311         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7312         [__NR_ftruncate64]: Make code unconditional.
7313         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7314         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7315         include <kernel-features.h>.
7316         [!__NR_ftruncate64]: Remove conditional code.
7317         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7318         [__NR_ftruncate64]: Make code unconditional.
7319         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7321         include <kernel-features.h>.
7322         [!__NR_ftruncate64]: Remove conditional code.
7323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7324         [__NR_ftruncate64]: Make code unconditional.
7325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7327         include <kernel-features.h>.
7328         [!__NR_ftruncate64]: Remove conditional code.
7329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7330         [__NR_ftruncate64]: Make code unconditional.
7331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7333         * configure.in (libc_cv_fpie): Weaken to a compile test using
7334         LIBC_TRY_CC_OPTION.
7335         * configure: Regenerated.
7337 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7343         Refreshed.
7344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7350         Refreshed.
7352 2012-05-27  David S. Miller  <davem@davemloft.net>
7354         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7355         (___Q_zero): New.
7356         (__Q_simulate_exceptions): Return void.  Change to simulate
7357         exceptions by writing into the %fsr.
7358         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7359         (__Qp_handle_exceptions): Likewise.
7360         (numbers): Delete.
7361         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7362         __Qp_handle_exceptions.
7363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7364         __Qp_handle_exceptions.
7365         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7366         as unused and give dummy FP_RND_NEAREST initializer.
7367         (FP_INHIBIT_RESULTS): Define.
7368         (___Q_simulate_exceptions): Update declaration.
7369         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7370         formatting.
7371         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7372         as unused and give dummy FP_RND_NEAREST initializer.
7373         (__Qp_handle_exceptions): Update declaration.
7374         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7375         formatting.
7377 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7379         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7380         the temporary FPU control word.
7381         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7382         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7383         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7384         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7385         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7386         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7387         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7388         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7389         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7390         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7391         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7393 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7395         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7396         fields.
7398 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7400         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7401         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7402         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7403         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7404         Likewise.
7405         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7406         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7407         Likewise.
7409 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7411         * po/h.po: Update from translation team.
7413 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7415         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7417         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7418         handling of denormals.
7419         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7420         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7421         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7422         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7423         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7426         Likewise.
7428 2012-05-26  Marek Polacek  <polacek@redhat.com>
7430         [BZ #14152]
7431         * math/libm-test.inc (fma_test): Don't always expect underflow
7432         exception.
7434 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7436         [BZ #12416]
7437         * elf/tst-execstack.c: Include stackinfo.h.
7438         (do_test): Adjust test case to ensure that pthread_getattr_np
7439         behaviour remains the same after marking stack executable.
7441 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7443         * sysdeps/unix/sysv/linux/kernel-features.h
7444         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7445         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7446         kernel-features.h.
7447         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7448         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7449         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7450         kernel-features.h.
7451         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7452         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7454 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7456         * configure.in: Define the default includes to being none.
7457         * configure: Regenerated.
7459 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7461         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7462         * sysdeps/x86_64/setjmp.S: Likewise.
7463         * sysdeps/i386/bsd-setjmp.S: Likewise.
7464         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7465         * sysdeps/i386/setjmp.S: Likewise.
7466         * sysdeps/i386/__longjmp.S: Likewise.
7467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7468         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7470         * include/stap-probe.h: New file.
7471         * configure.in: Handle --enable-systemtap.
7472         * configure: Regenerated.
7473         * config.h.in (USE_STAP_PROBE): New #undef.
7474         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7475         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7476         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7478 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7480         [BZ #13717]
7481         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7482         to 2.4.0 where earlier.
7483         * sysdeps/unix/sysv/linux/configure: Regenerated.
7484         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7485         <kernel-features.h>.
7486         [__ASSUME_32BITUIDS]: Make code unconditional.
7487         [!__ASSUME_32BITUIDS]: Remove conditional code.
7488         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7489         <kernel-features.h>.
7490         [__ASSUME_32BITUIDS]: Make code unconditional.
7491         [!__ASSUME_32BITUIDS]: Remove conditional code.
7492         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7493         [__ASSUME_32BITUIDS]: Make code unconditional.
7494         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7495         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7496         <kernel-features.h>.
7497         [__ASSUME_32BITUIDS]: Make code unconditional.
7498         [!__ASSUME_32BITUIDS]: Remove conditional code.
7499         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7500         <kernel-features.h>.
7501         [__ASSUME_32BITUIDS]: Make code unconditional.
7502         [!__ASSUME_32BITUIDS]: Remove conditional code.
7503         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7504         <kernel-features.h>.
7505         [__ASSUME_32BITUIDS]: Make code unconditional.
7506         [!__ASSUME_32BITUIDS]: Remove conditional code.
7507         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7508         <kernel-features.h>.
7509         [__ASSUME_32BITUIDS]: Make code unconditional.
7510         [!__ASSUME_32BITUIDS]: Remove conditional code.
7511         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7512         <kernel-features.h>.
7513         [__ASSUME_32BITUIDS]: Make code unconditional.
7514         [!__ASSUME_32BITUIDS]: Remove conditional code.
7515         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7516         <kernel-features.h>.
7517         [__ASSUME_32BITUIDS]: Make code unconditional.
7518         [!__ASSUME_32BITUIDS]: Remove conditional code.
7519         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7520         <kernel-features.h>.
7521         [__ASSUME_32BITUIDS]: Make code unconditional.
7522         [!__ASSUME_32BITUIDS]: Remove conditional code.
7523         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7524         <kernel-features.h>.
7525         [__ASSUME_32BITUIDS]: Make code unconditional.
7526         [!__ASSUME_32BITUIDS]: Remove conditional code.
7527         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7528         <kernel-features.h>.
7529         [__ASSUME_32BITUIDS]: Make code unconditional.
7530         [!__ASSUME_32BITUIDS]: Remove conditional code.
7531         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7532         <kernel-features.h>.
7533         [__ASSUME_32BITUIDS]: Make code unconditional.
7534         [!__ASSUME_32BITUIDS]: Remove conditional code.
7535         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7536         <kernel-features.h>.
7537         [__NR_setresgid] (__setresgid): Do not declare.
7538         [__ASSUME_32BITUIDS]: Make code unconditional.
7539         [!__ASSUME_32BITUIDS]: Remove conditional code.
7540         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7541         <kernel-features.h>.
7542         [__NR_setresuid] (__setresuid): Do not declare.
7543         [__ASSUME_32BITUIDS]: Make code unconditional.
7544         [!__ASSUME_32BITUIDS]: Remove conditional code.
7545         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7546         <kernel-features.h>.
7547         [__ASSUME_32BITUIDS]: Make code unconditional.
7548         [!__ASSUME_32BITUIDS]: Remove conditional code.
7549         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7550         <kernel-features.h>.
7551         [__ASSUME_32BITUIDS]: Make code unconditional.
7552         [!__ASSUME_32BITUIDS]: Remove conditional code.
7553         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7554         <kernel-features.h>.
7555         [__ASSUME_32BITUIDS]: Make code unconditional.
7556         [!__ASSUME_32BITUIDS]: Remove conditional code.
7557         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7558         <kernel-features.h>.
7559         [__ASSUME_32BITUIDS]: Make code unconditional.
7560         [!__ASSUME_32BITUIDS]: Remove conditional code.
7561         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7562         <kernel-features.h>.
7563         [__ASSUME_32BITUIDS]: Make code unconditional.
7564         [!__ASSUME_32BITUIDS]: Remove conditional code.
7565         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7566         <kernel-features.h>.
7567         [__ASSUME_32BITUIDS]: Make code unconditional.
7568         [!__ASSUME_32BITUIDS]: Remove conditional code.
7569         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7570         <kernel-features.h>.
7571         [__ASSUME_32BITUIDS]: Make code unconditional.
7572         [!__ASSUME_32BITUIDS]: Remove conditional code.
7573         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7574         <kernel-features.h>.
7575         [__ASSUME_32BITUIDS]: Make code unconditional.
7576         [!__ASSUME_32BITUIDS]: Remove conditional code.
7577         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7578         <kernel-features.h>.
7579         [__ASSUME_32BITUIDS]: Make code unconditional.
7580         [!__ASSUME_32BITUIDS]: Remove conditional code.
7581         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7582         <kernel-features.h>.
7583         [__ASSUME_32BITUIDS]: Make code unconditional.
7584         [!__ASSUME_32BITUIDS]: Remove conditional code.
7585         * sysdeps/unix/sysv/linux/kernel-features.h
7586         (__ASSUME_SETRESUID_SYSCALL): Remove.
7587         (__ASSUME_SETRESGID_SYSCALL): Likewise.
7588         (__ASSUME_32BITUIDS): Likewise.
7589         (__ASSUME_LDT_WORKS): Likewise.
7590         (__ASSUME_O_DIRECTORY): Likewise.
7591         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7592         architecture but not kernel version.
7593         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7594         (__ASSUME_MMAP2_SYSCALL): Likewise.
7595         (__ASSUME_STAT64_SYSCALL): Likewise.
7596         (__ASSUME_IPC64): Likewise.
7597         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7598         <kernel-features.h>.
7599         [__ASSUME_32BITUIDS]: Make code unconditional.
7600         [!__ASSUME_32BITUIDS]: Remove conditional code.
7601         * sysdeps/unix/sysv/linux/opendir.c: Do not include
7602         <kernel-features.h>.
7603         [__ASSUME_O_DIRECTORY]: Make code unconditional.
7604         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7605         132096]: Remove conditional code.
7606         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7607         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7608         <kernel-features.h>.
7609         [__ASSUME_32BITUIDS]: Make code unconditional.
7610         [!__ASSUME_32BITUIDS]: Remove conditional code.
7611         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7612         <kernel-features.h>.
7613         [__ASSUME_32BITUIDS]: Make code unconditional.
7614         [!__ASSUME_32BITUIDS]: Remove conditional code.
7615         * sysdeps/unix/sysv/linux/setegid.c: Do not include
7616         <kernel-features.h>.
7617         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7618         unconditional.
7619         (__setresgid): Do not declare.
7620         [__ASSUME_32BITUIDS]: Make code unconditional.
7621         [!__ASSUME_32BITUIDS]: Remove conditional code.
7622         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7623         <kernel-features.h>.
7624         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7625         unconditional.
7626         (__setresuid): Do not declare.
7627         [__ASSUME_32BITUIDS]: Make code unconditional.
7628         [!__ASSUME_32BITUIDS]: Remove conditional code.
7629         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7630         <kernel-features.h>.
7631         [__ASSUME_32BITUIDS]: Make code unconditional.
7632         [!__ASSUME_32BITUIDS]: Remove conditional code.
7633         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7634         <kernel-features.h>.
7635         [__ASSUME_32BITUIDS]: Make code unconditional.
7636         [!__ASSUME_32BITUIDS]: Remove conditional code.
7638 2012-05-25  Richard Henderson  <rth@twiddle.net>
7640         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7641         dl_hwcap to ifunc resolver.
7642         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7643         elf_ifunc_invoke.
7644         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7645         dl_hwcap to ifunc resolver.
7646         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7648 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7650         [BZ #14153]
7651         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7652         for |x| <= 2**-26, not 2**-57.
7653         * math/libm-test.inc (acos_test): Do not allow spurious underflow
7654         exception.
7656 2012-05-24  Jeff Law  <law@redhat.com>
7658         * stdio-common/Makefile (tests): Add bug25.
7659         * stdio-common/bug25.c: New test.
7661 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7663         [BZ #13576]
7664         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7665         multiple of MALLOC_ALIGNMENT in size.
7666         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7668 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7670         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7671         Require >= 256.
7672         (FILENAME_MAX): Use macro-int-constant.
7673         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
7674         (_IOFBF): Use macro-int-constant.
7675         (_IOLBF): Likewise.
7676         (_IONBF): Likewise.
7677         (SEEK_CUR): Likewise.
7678         (SEEK_END): Likewise.
7679         (SEEK_SET): Likewise.
7680         (TMP_MAX): Likewise.
7681         (EOF): Use macro-int-constant.  Require < 0.
7682         (NULL): Use macro-constant.  Require == 0.
7683         (stdin): Require type to be FILE *.
7684         (stdout): Likewise.
7685         (stderr): Likewise.
7686         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7687         macro-int-constant.
7688         (EXIT_SUCCESS): Likewise.
7689         (NULL): Use macro-constant.  Require == 0.
7690         (RAND_MAX): Use macro-int-constant.
7691         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7692         [C99-based standards] (strtof): Require function.
7693         [C99-based standards] (strtold): Likewise.
7694         [C99-based standards] (strtoll): Likewise.
7695         [C99-based standards] (strtoull): Likewise.
7696         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7697         [ISO || ISO99 || ISO11] (limits.h): Likewise.
7698         [ISO || ISO99 || ISO11] (math.h): Likewise.
7699         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7700         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7703 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
7705         [BZ #14132]
7706         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7707         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7708         * intl/dgettext.c (DCGETTEXT): Likewise.
7709         * intl/gettext.c (DCGETTEXT): Likewise.
7710         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7711         * posix/regex_internal.h (gettext): Likewise.
7712         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7713         Remove declaration.
7714         * include/argz.h (__argz_count_internal)
7715         (__argz_stringify_internal): Remove declaration.
7716         (__argz_count, __argz_stringify): Declare hidden proto.
7717         * intl/dcgettext.c: Remove use of INTDEF.
7718         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7719         * string/argz-stringify.c: Likewise.
7720         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7721         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7722         Declare hidden proto.
7723         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7724         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7725         Declare hidden proto.
7726         * include/stdio.h (__asprintf_internal): Don't declare.
7727         (__asprintf): Don't define as macro.  Declare hidden proto.
7728         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7729         (__fsetlocking): Declare hidden proto.
7730         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7731         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7732         hidden proto.
7733         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7734         (_IO_setlinebuf): Remove use of INTUSE.
7735         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7736         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7737         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7738         Remove declaration.
7739         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7740         (_IO_do_flush): Remove use of INTUSE.
7741         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7742         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7743         (_IO_adjust_column, _IO_least_wmarker)
7744         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7745         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7746         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7747         (_IO_default_doallocate, _IO_wdefault_doallocate)
7748         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7749         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7750         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7751         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7752         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7753         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7754         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7755         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7756         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7757         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7758         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7759         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7760         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7761         proto.
7762         (_IO_flush_all_internal, _IO_adjust_column_internal)
7763         (_IO_default_uflow_internal, _IO_default_finish_internal)
7764         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7765         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7766         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7767         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7768         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7769         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7770         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7771         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7772         (_IO_file_close_internal, _IO_file_close_it_internal)
7773         (_IO_file_underflow_internal, _IO_file_overflow_internal)
7774         (_IO_file_init_internal, _IO_file_attach_internal)
7775         (_IO_file_fopen_internal, _IO_file_read_internal)
7776         (_IO_file_sync_internal, _IO_file_seek_internal)
7777         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7778         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7779         (_IO_str_underflow_internal, _IO_str_overflow_internal)
7780         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7781         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7782         (_IO_list_all_internal, _IO_link_in_internal)
7783         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7784         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7785         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7786         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7787         (_IO_do_write_internal, _IO_padn_internal)
7788         (_IO_getline_info_internal, _IO_getline_internal)
7789         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7790         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7791         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7792         (_IO_vfscanf_internal, _IO_vfprintf_internal)
7793         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7794         (_IO_init_internal, _IO_un_link_internal): Don't declare.
7795         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7796         with libc_hidden_ver, remove use of INTUSE.
7797         * libio/genops.c: Likewise.
7798         * libio/freopen.c: Likewise.
7799         * libio/freopen64.c: Likewise.
7800         * libio/iofclose.c: Likewise.
7801         * libio/iofdopen.c: Likewise.
7802         * libio/iofflush.c: Likewise.
7803         * libio/iofflush_u.c: Likewise.
7804         * libio/iofgets.c: Likewise.
7805         * libio/iofgets_u.c: Likewise.
7806         * libio/iofopen.c: Likewise.
7807         * libio/iofopncook.c: Likewise.
7808         * libio/iofread.c: Likewise.
7809         * libio/iofread_u.c: Likewise.
7810         * libio/ioftell.c: Likewise.
7811         * libio/iofwrite.c: Likewise.
7812         * libio/iogetline.c: Likewise.
7813         * libio/iogets.c: Likewise.
7814         * libio/iogetwline.c: Likewise.
7815         * libio/iopadn.c: Likewise.
7816         * libio/iopopen.c: Likewise.
7817         * libio/ioseekoff.c: Likewise.
7818         * libio/ioseekpos.c: Likewise.
7819         * libio/iosetbuffer.c: Likewise.
7820         * libio/iosetvbuf.c: Likewise.
7821         * libio/ioungetc.c: Likewise.
7822         * libio/ioungetwc.c: Likewise.
7823         * libio/iovdprintf.c: Likewise.
7824         * libio/iovsprintf.c: Likewise.
7825         * libio/iovsscanf.c: Likewise.
7826         * libio/memstream.c: Likewise.
7827         * libio/obprintf.c: Likewise.
7828         * libio/oldfileops.c: Likewise.
7829         * libio/oldiofclose.c: Likewise.
7830         * libio/oldiofdopen.c: Likewise.
7831         * libio/oldiofopen.c: Likewise.
7832         * libio/oldiopopen.c: Likewise.
7833         * libio/oldstdfiles.c: Likewise.
7834         * libio/putc.c: Likewise.
7835         * libio/setbuf.c: Likewise.
7836         * libio/setlinebuf.c: Likewise.
7837         * libio/stdfiles.c: Likewise.
7838         * libio/strops.c: Likewise.
7839         * libio/vasprintf.c: Likewise.
7840         * libio/vscanf.c: Likewise.
7841         * libio/vsnprintf.c: Likewise.
7842         * libio/vswprintf.c: Likewise.
7843         * libio/wfiledoalloc.c: Likewise.
7844         * libio/wfileops.c: Likewise.
7845         * libio/wgenops.c: Likewise.
7846         * libio/wmemstream.c: Likewise.
7847         * libio/wstrops.c: Likewise.
7848         * libio/__fpurge.c: Likewise.
7849         * libio/__fsetlocking.c: Likewise.
7850         * assert/assert.c: Likewise.
7851         * debug/fgets_chk.c: Likewise.
7852         * debug/fgets_u_chk.c: Likewise.
7853         * debug/fread_chk.c: Likewise.
7854         * debug/fread_u_chk.c: Likewise.
7855         * debug/gets_chk.c: Likewise.
7856         * debug/obprintf_chk.c: Likewise.
7857         * debug/vasprintf_chk.c: Likewise.
7858         * debug/vdprintf_chk.c: Likewise.
7859         * debug/vsnprintf_chk.c: Likewise.
7860         * debug/vsprintf_chk.c: Likewise.
7861         * malloc/mtrace.c: Likewise.
7862         * misc/error.c: Likewise.
7863         * misc/syslog.c: Likewise.
7864         * stdio-common/asprintf.c: Likewise.
7865         * stdio-common/fxprintf.c: Likewise.
7866         * stdio-common/getw.c: Likewise.
7867         * stdio-common/isoc99_fscanf.c: Likewise.
7868         * stdio-common/isoc99_scanf.c: Likewise.
7869         * stdio-common/isoc99_vfscanf.c: Likewise.
7870         * stdio-common/isoc99_vscanf.c: Likewise.
7871         * stdio-common/isoc99_vsscanf.c: Likewise.
7872         * stdio-common/printf-prs.c: Likewise.
7873         * stdio-common/printf_fp.c: Likewise.
7874         * stdio-common/printf_fphex.c: Likewise.
7875         * stdio-common/printf_size.c: Likewise.
7876         * stdio-common/putw.c: Likewise.
7877         * stdio-common/scanf.c: Likewise.
7878         * stdio-common/sprintf.c: Likewise.
7879         * stdio-common/tmpfile.c: Likewise.
7880         * stdio-common/vfprintf.c: Likewise.
7881         * stdio-common/vfscanf.c: Likewise.
7882         * stdlib/strfmon_l.c: Likewise.
7883         * sunrpc/openchild.c: Likewise.
7884         * sunrpc/xdr_stdio.c: Likewise.
7885         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7886         * sysdeps/mach/hurd/tmpfile.c: Likewise.
7888 2012-05-24  Roland McGrath  <roland@hack.frob.com>
7890         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7892         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7893         in the third column, to generate for the shared library an IFUNC
7894         that uses _dl_vdso_vsym.
7895         * Makerules (COMPILE.c, compile-stdin.c): New variables.
7896         * Makeconfig (object-suffixes-noshared): New variable.
7898         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7899         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7900         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7901         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7903         [BZ #14132]
7904         * include/sys/time.h (__gettimeofday): Remove macro.
7905         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7906         * time/gettimeofday.c (__gettimeofday): Remove #undef.
7907         Remove INTDEF.
7908         (__gettimeofday): Add libc_hidden_def.
7909         (gettimeofday): Add libc_hidden_weak.
7910         * sysdeps/mach/gettimeofday.c: Likewise.
7911         * sysdeps/posix/gettimeofday.c: Likewise.
7912         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7913         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7914         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7915         (__gettimeofday_internal): Remove strong_alias.
7916         (__gettimeofday): Add libc_hidden_def.
7917         (gettimeofday): Add libc_hidden_weak.
7918         * sysdeps/unix/syscalls.list (gettimeofday):
7919         Remove __gettimeofday_internal alias.
7921 2012-05-24  Daniel Jacobowitz  <drow@false.org>
7922             H.J. Lu  <hongjiu.lu@intel.com>
7924         [BZ #12495]
7925         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7926         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7927         (largebin_index_32_big): New.
7928         (largebin_index): Use it for 16-byte alignment.
7929         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
7930         correction with front_misalign.
7932 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7936         Likewise.
7937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7938         Likewise.
7939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7940         Likewise.
7941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7942         Likewise.
7943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7948         Likewise.
7949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7950         Likewise.
7951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7952         Likewise.
7953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7954         Likewise.
7955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7956         Likewise.
7957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7958         Likewise.
7960         * scripts/data/c++-types-x32-linux-gnu.data: New file.
7961         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7963 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7965         [BZ #10846]
7966         [BZ #14036]
7967         * math/libm-test.inc (exp_test): Add test from bug 14036.
7968         (pow_test): Add test from bug 10846.
7970         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7971         and other flags.
7972         (special_function): Do not include flags in test name.
7973         (parse_args): Likewise.
7974         * sysdeps/i386/fpu/libm-test-ulps: Update.
7975         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7976         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7977         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7980         * math/gen-libm-test.pl (%beautify): Add entries for underflow
7981         exceptions.
7982         * math/libm-test.inc ("Philosophy"): Update comment about
7983         exception testing.
7984         (UNDERFLOW_EXCEPTION): New macro.
7985         (UNDERFLOW_EXCEPTION_OK): Likewise.
7986         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7987         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7988         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7989         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7990         (INVALID_EXCEPTION_OK): Update value.
7991         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7992         (OVERFLOW_EXCEPTION_OK): Likewise.
7993         (IGNORE_ZERO_INF_SIGN): Likewise.
7994         (test_exceptions): Handle underflow exceptions.
7995         (acos_test): Update for underflow exception expectations.
7996         (cexp_test): Likewise.
7997         (clog_test): Likewise.
7998         (clog10_test): Likewise.
7999         (csqrt_test): Likewise.
8000         (ctan_test): Likewise.
8001         (ctanh_test): Likewise.
8002         (exp_test): Likewise.
8003         (exp10_test): Likewise.
8004         (exp2_test): Likewise.
8005         (expm1_test): Likewise.
8006         (fma_test): Likewise.
8007         (j0_test): Likewise.
8008         (jn_test): Likewise.
8009         (nexttoward_test): Likewise.
8010         (pow_test): Likewise.
8011         (scalbn_test): Likewise.
8012         (scalbln_test): Likewise.
8013         (tan_test): Likewise.
8014         (y1_test): Likewise.
8015         * sysdeps/i386/fpu/libm-test-ulps: Update.
8016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8018 2012-05-23  David S. Miller  <davem@davemloft.net>
8020         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8021         (__libc_sigaction): Remove unused local variables.
8023 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8025         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8027 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8029         mktime: avoid signed integer overflow
8030         * time/mktime.c (__mktime_internal): Do not mishandle the case
8031         where diff == INT_MIN.
8033         mktime: simplify computation of average
8034         * time/mktime.c (ranged_convert): Use new time_t_avg function
8035         instead of rolling our own (probably-slower) code.
8037         mktime: do not assume signed right shift propagates sign bit
8038         * time/mktime.c (isdst_differ): New static function.
8039         (__mktime_internal): No need to normalize tm_isdst now.
8040         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8041         tm_isdst values.
8043         mktime: merge another wrapv change from gnulib
8044         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8045         from some compilers.
8047         mktime: remove incorrect attempt at unusual arithmetics
8048         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8049         The code didn't really work on such machines anyway.
8050         (TYPE_MINIMUM): Assume two's complement.
8051         (twos_complement_arithmetic): Verify that long_int and time_t
8052         are two's complement (or unsigned, in the latter case).
8054         mktime: check signed shifts on long_int and time_t, too
8055         * time/mktime.c (SHR): Check that shifts work as desired
8056         on the types long_int and time_t too, as SHR is used on
8057         such types.
8059         mktime: do not assume 'long' is wide enough
8060         * time/mktime.c (verify): Move decl up.
8061         (long_int): New type.
8062         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8063         to remove assumption in the code that 'long' is wide enough to
8064         store year values.  This assumption is not true on x32 and on
8065         some non-glibc platforms.
8067         mktime: merge wrapv change from gnulib
8068         * time/mktime.c (WRAPV): New macro.
8069         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8070         (guess_time_tm, __mktime_internal): Do not assume that signed
8071         integer overflow wraps around; modern compilers generate code
8072         where this assumption is no longer valid.
8074 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8076         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8077         Replace "jmp L(pseudo_end)" with "ret".
8078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8079         Likewise.
8081 2012-05-23  Andreas Jaeger  <aj@suse.de>
8083         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8084         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8086 2012-05-23  Andreas Jaeger  <aj@suse.de>
8087             Maximilian Attems  <max@stro.at>
8089         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8090         New macros.
8092 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8094         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8095         code so that pseudo_end is just ret and the stack pointer is
8096         correct also for static library in error case.
8098 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8100         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8101         move to syscalls.list.
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8107         * manual/install.texi (Running make install): Do not mention Linux
8108         kernel version for which pt_chown is not needed.
8109         (Linux): Do not mention problems with nscd with 2.0 kernels.
8110         * INSTALL: Regenerated.
8112 2012-05-23  Andreas Jaeger  <aj@suse.de>
8114         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8115         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8116         macro.
8117         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8118         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8119         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8120         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8121         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8123         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8125         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8127         * sysdeps/unix/sysv/linux/bits/in.h
8128         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8130 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8132         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8133         (PREPARE_VERSION): Just use assert instead, it will be elided
8134         under [NDEBUG] anyway.
8136 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8138         * sysdeps/unix/sysv/linux/Makefile: Include
8139         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8140         (sysdep_routines): Remove sysctl.
8141         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8142         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8143         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8144         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8145         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8147 2012-05-22  Andreas Jaeger  <aj@suse.de>
8149         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8150         that pseudo_end is just ret and the stack pointer is correct also
8151         for static library in error case.
8153 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8155         [BZ #14122]
8156         * nss/nsswitch.c (defconfig_entries): New variable.
8157         (__nss_database_lookup): Don't leak defconfig entries.
8158         (nss_parse_service_list): Don't leak on error paths.
8159         (free_database_entries): New function.
8160         (free_defconfig): New function.
8161         (free_mem): Move common code to free_database_entries.
8163 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8165         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8166         Add arch_prctl.
8167         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8169         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8170         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8172         New macro.
8173         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8174         (INTERNAL_SYSCALL_TYPES): Likewise.
8175         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8176         (LOAD_REGS_TYPES_[1-6]): Likewise.
8177         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8178         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8180 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8182         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8183         copysignl for GLIBC_2_0.
8184         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8185         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8186         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8187         logbl for GLIBC_2_0.
8188         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8189         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8191 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8193         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8194         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8196         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8197         Use "neg %eax".
8199         * time/mktime.c: Update copyright years.
8201 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8203         mktime: merge comment-quoting-style change from gnulib
8204         * time/mktime.c: Quote 'like this' in comments.
8205         The GNU coding standards suggest that we no longer quote `like this',
8206         as "`" and "'" are typically rendered asymmetrically nowadays.
8207         The typical gnulib style is to quote 'like this' when quoting
8208         code, and "like this" when quoting English.
8210         * time/mktime.c (compile-command): Add "-I.".
8212         mktime: merge mktime-internal.h change from gnulib
8213         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8215         mktime: merge time_r change from gnulib
8216         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8218         mktime: merge DEBUG change from gnulib
8219         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8220         case system <time.h> has a #define.
8222         mktime: merge <sys/types.h> change from gnulib
8223         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8224         since <time.t> is now guaranteed to define time_t.
8226         mktime: merge HAVE_CONFIG_H change from gnulib
8227         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8229 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8232         Use "neg %eax".
8234         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8235         __rlim_t cast.
8236         (struct rusage): Use anonymous union to pad each field to
8237         __syscall_slong_t.
8239 2012-05-21  David S. Miller  <davem@davemloft.net>
8241         * Makefules (o-iterator): Remove .s cases.
8242         (compile-command.s): Delete.
8243         (COMPILE.s): Delete.
8244         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8246 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8248         * configure.in (libc_cv_predef_stack_protector): Only consider
8249         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8250         * configure: Regenerated.
8252 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8255         New macro.  Use R*LP on int and pointer.
8256         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8257         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8258         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8259         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8261         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8262         [__WORDSIZE_TIME64_COMPAT32] instead of
8263         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8264         (struct utmp): Likewise.
8265         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8266         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8267         Renamed to ...
8268         (__WORDSIZE_TIME64_COMPAT32): This.
8269         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8270         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8271         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8272         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8273         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8274         (__WORDSIZE_TIME64_COMPAT32): New macro.
8276 2012-05-21  Andreas Jaeger  <aj@suse.de>
8278         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8279         only if [SHARED]. Add prototype for __wcschr_ia32.
8281 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8283         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8284         of %rbp unmolested in the jmp_buf while mangling the low bits.
8285         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8286         unmolested high bits of %rbp while demangling the low bits.
8287         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8289 2012-05-21  Andreas Jaeger  <aj@suse.de>
8291         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8292         * sunrpc/svc_simple.c: Use it for registerrpc.
8293         * sunrpc/xcrypt.c: Use it for passwd2des.
8295         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8297 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8299         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8300         Don't define if [__SYSCALL_WORDSIZE != 32].
8301         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8302         New macro.
8304 2012-05-21  Bruno Haible  <bruno@clisp.org>
8305             Andreas Jaeger  <aj@suse.de>
8307         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8308         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8309         inptr and inend for must_buffer_ch.
8310         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8311         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8312         * stdio-common/Makefile (tests): Remove bug15.
8313         (bug15-ENV): Remove macro.
8314         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8315         anymore.
8317 2012-05-19  Andreas Jaeger  <aj@suse.de>
8318             Roland McGrath  <roland@hack.frob.com>
8320         * manual/contrib.texi: Completely rewritten. It contains now an
8321         alphabetical list of contributors and their contributions.
8323 2012-05-21  Richard Henderson  <rth@twiddle.net>
8325         * misc/getauxval.c (__getauxval): Use unsigned long int.
8326         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8327         (getauxval): Use unsigned long int.
8329 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8331         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8333 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8335         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8336         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8337         __alignof__ (long double).
8339 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8343 2012-05-20  Richard Henderson  <rth@twiddle.net>
8345         * misc/getauxval.c: New file.
8346         * misc/sys/auxv.h: New file.
8347         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8348         (routines): Add getauxval.
8349         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8350         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8351         * elf/dl-sysdep.c (_dl_auxv): Remove.
8352         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8353         * elf/dl-support.c (_dl_auxv): New variable.
8354         (_dl_aux_init): Initialize it.
8355         * manual/startup.texi (Auxiliary Vector): New node.
8356         * sysdeps/generic/bits/hwcap.h: New file.
8357         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8358         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8359         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8360         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8361         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8362         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8364         Update.
8365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8374 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8378 2012-05-19  David S. Miller  <davem@davemloft.net>
8380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8382 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8384         [BZ #14123]
8385         * math/s_ccosh.c: Include <float.h>
8386         (__ccosh): Avoid internal overflow calculating sinh and cosh
8387         values before multiplying by sin and cos values.
8388         * math/s_ccoshf.c: Likewise.
8389         * math/s_ccoshl.c: Likewise.
8390         * math/s_csin.c: Likewise.
8391         * math/s_csinf.c: Likewise.
8392         * math/s_csinl.c: Likewise.
8393         * math/s_csinh.c: Likewise.
8394         * math/s_csinhf.c: Likewise.
8395         * math/s_csinhl.c: Likewise.
8396         * math/libm-test.inc (ccos_test): Add more tests.
8397         (ccosh_test): Likewise.
8398         (csin_test): Likewise.
8399         (csinh_test): Likewise.
8400         * sysdeps/i386/fpu/libm-test-ulps: Update.
8401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8403 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8405         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8406         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8408         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8410 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8412         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8413         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8414         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8415         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8416         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8417         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8418         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8419         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8420         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8421         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8422         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8423         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8424         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8425         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8426         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8427         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8428         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8429         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8430         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8431         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8432         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8433         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8434         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8435         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8436         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8437         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8438         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8439         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8440         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8441         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8442         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8444 2012-05-18  Andreas Jaeger  <aj@suse.de>
8446         * csu/.gitignore: Delete.
8448 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8450         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8451         (timex): Use __syscall_slong_t.
8453 2012-05-18  Andreas Jaeger  <aj@suse.de>
8454             Carlos O'Donell  <carlos_odonell@mentor.com>
8456         * manual/install.texi (Configuring and compiling): Update
8457         description about files modified in the source directory.
8458         * INSTALL: Regenerated.
8460 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8462         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8463         value.  Use "or" to set return value to -1.
8464         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8465         negate return value.
8467 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8469         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8470         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8471         failure if the compiler has Graphite support disabled.
8472         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8473         Likewise.
8474         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8475         CFLAGS-memmove.c): Likewise.
8476         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8477         Likewise.
8479 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8481         * sysdeps/x86_64/x32/_itoa.h: New file.
8483         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8484         getdents system call only if kernel and user dirents have the
8485         same d_ino and d_off.
8487         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8488         LLONG_MAX != LONG_MAX.
8489         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8490         (_fitoa_word): Likewise.
8492         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8493         years.
8494         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8495         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8496         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8498         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8499         include <bits/wordsize.h>.  Check __x86_64__ instead of
8500         __WORDSIZE.
8501         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8502         if __x86_64__ is defined.  Use anonymous union on fpstate.
8504         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8505         anonymous union.
8507 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8509         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8510         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8511         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8512         Refer to _rtld_local_ro instead of _rtld_global_ro.
8513         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8514         Likewise.
8515         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8516         Likewise.
8517         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8518         Likewise.
8519         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8520         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8521         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8523         * sysdeps/powerpc/powerpc32/dl-machine.c
8524         (__elf_machine_runtime_setup) [PROF]: Don't reference
8525         _dl_prof_resolve.
8527 2012-05-18  Andreas Jaeger  <aj@suse.de>
8529         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8530         function only available for GCCs before 3.4 since GCC 3.4
8531         introduced a builtin.
8532         (lrint): Likewise.
8533         (llrintf): Likewise.
8534         (llrint): Likewise.
8535         (fmaxf): Likewise.
8536         (fmax): Likewise.
8537         (fminf): Likewise.
8538         (fmin): Likewise.
8539         (rint): Likewise.
8540         (rintf): Likewise.
8541         (nearbyint): Likewise.
8542         (nearbyintf): Likewise.
8543         (ceil): Likewise.
8544         (ceilf): Likewise.
8545         (floor): Likewise.
8546         (floorf): Likewise.
8548 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8550         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8551         on both fields and cast pointer to __syscall_ulong_t.
8553         * bits/types.h (__fsword_t): New type.
8554         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8555         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8557         (__FSWORD_T_TYPE): Likewise.
8558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8559         (__FSWORD_T_TYPE): Likewise.
8560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8561         (__FSWORD_T_TYPE): Likewise.
8562         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8563         (__FSWORD_T_TYPE): Likewise.
8564         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8565         __SWORD_TYPE with __fsword_t.
8566         (statfs64): Likewise.
8568 2012-05-17  David S. Miller  <davem@davemloft.net>
8570         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8572 2012-05-17  Andreas Jaeger  <aj@suse.de>
8574         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8575         warning.
8577 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8579         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8581 2012-05-17  Andreas Jaeger  <aj@suse.de>
8583         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8584         when it is used.
8586 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8588         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8590 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8592         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8593         * sysdeps/x86_64/tst-mallocalign1.c: New file.
8595 2012-05-17  Andreas Jaeger  <aj@suse.de>
8596             Carlos O'Donell  <carlos_odonell@mentor.com>
8598         [BZ #14059]
8599         * sysdeps/x86_64/multiarch/init-arch.h
8600         (bit_YMM_Usable): Rename to...
8601         (bit_AVX_Usable): ... this.
8602         (bit_FMA4_Usable): New macro.
8603         (bit_XMM_state): New macro.
8604         (bit_YMM_state): New macro.
8605         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8606         [__ASSEMBLER__] (index_AVX_Usable): ... this.
8607         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8608         (CPUID_OSXSAVE): New macro.
8609         (CPUID_AVX): New macro.
8610         (CPUID_FMA4): New macro.
8611         (index_YMM_Usable): Rename to...
8612         (index_AVX_Usable): ... this.
8613         (HAS_AVX): Use HAS_ARCH_FEATURE.
8614         (HAS_FMA4): Likewise.
8615         (HAS_YMM_USABLE): Remove.
8616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8617         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8618         are present.
8619         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8620         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8621         * sysdeps/x86_64/multiarch/Makefile: Likewise.
8622         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8623         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8625 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8627         * math/libm-test.c: Support platforms without multiple rounding modes.
8628         * math/bug-nextafter.c: Support platforms without FP exceptions.
8629         * math/bug-nexttoward.c: Likewise.
8630         * math/test-fenv.c: Likewise.
8631         * math/test-misc.c: Likewise.
8632         * stdlib/bug-getcontext.c: Likewise.
8634 2012-05-17  Andreas Jaeger  <aj@suse.de>
8636         * manual/examples/search.c (critter_cmp): Change signature to
8637         avoid warnings.
8638         * manual/string.texi (Collation Functions): Likewise.
8640 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8642         * bits/types.h: Fold copyright years.
8643         * bits/typesizes.h: Likewise.
8644         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8645         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8646         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8648         * time/time.h: Likewise.
8650 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8652         [BZ #208]
8653         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8654         in instead of returning them.  Return void.
8655         (__libc_mallinfo): Accumulate over all arenas.
8656         (__malloc_stats): Adjust for change in int_mallinfo interface.
8658 2012-05-16  Roland McGrath  <roland@hack.frob.com>
8660         [BZ #10375]
8661         * configure.in (NM): Add AC_CHECK_TOOL for it.
8662         (libc_extra_cflags): New substituted variable.
8663         Check for -fstack-protector being used implicitly.
8664         * configure: Regenerated.
8665         * config.make.in (config-extra-cflags): New variable,
8666         gets @libc_extra_cflags@.
8667         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8669         [BZ #10375]
8670         * configure.in: Check for _FORTIFY_SOURCE being predefined.
8671         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8672         * configure: Regenerated.
8673         * config.make.in (CPPUNDEFS): New substituted variable.
8674         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8675         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8676         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8678 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8680         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8681         (mq_attr): Use __syscall_slong_t.
8683 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8685         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8686         Check __x86_64__ instead of __WORDSIZE.
8687         (_STAT_VER_LINUX): Likewise.
8688         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
8689         __syscall_ulong_t and __syscall_slong_t.
8690         (stat64): Likewise.
8692 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8694         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8698         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8702         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8703         __syscall_ulong_t.
8705         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8706         include <bits/wordsize.h>.  Check __x86_64__ instead of
8707         __WORDSIZE.
8708         (greg_t): Use "__extension__ long long int" if __x86_64__ is
8709         defined.
8710         (mcontext_t): Replace "unsigned long" with "unsigned long long".
8712         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8713         include <bits/wordsize.h>.  Check __x86_64__ instead of
8714         __WORDSIZE.
8715         (user_regs_struct): Use "__extension__ unsigned long long"
8716         instead of "unsigned long" if __x86_64__ is defined.
8717         (user): Likewise.  Pad after pointer field if __ILP32__ is
8718         defined.
8720 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
8722         * configure.in (makeinfo): Require version 4.5 or later.  Allow
8723         versions 5 to 9.
8724         * configure: Regenerated.
8725         * manual/install.texi (texinfo): Increase version requirement to
8726         4.5 or later.
8727         * INSTALL: Regenerated.
8729         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8733         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8735         * sysdeps/x86_64/x32/ffs.c: New file.
8737         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8738         __syscall_ulong_t.
8739         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8740         defined.  Use __syscall_ulong_t.
8741         (shminfo): Use __syscall_ulong_t.
8742         (shm_info): Likewise.
8744         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8745         __syscall_ulong_t.
8747         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8748         <bits/wordsize.h>.
8749         (msgqnum_t): Use __syscall_ulong_t.
8750         (msglen_t): Likewise.
8751         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
8752         __syscall_ulong_t.
8754         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8755         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8757         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8759         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8760         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8762         * sysvipc/sys/msg.h (msgbuf): Replace long int with
8763         __syscall_slong_t.
8765         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8766         include <bits/wordsize.h>.  Check __x86_64__ instead of
8767         __WORDSIZE.
8769         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8770         "unsigned long long int" if __x86_64__ is defined.
8771         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8773         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8774         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8775         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8777         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8778         <stdint.h>.
8779         (GET_PC): Cast to uintptr_t first.
8780         (GET_FRAME): Likewise.
8781         (GET_STACK): Likewise.
8783         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8784         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8785         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8786         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8787         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8788         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8789         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8790         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8791         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8793         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8795         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8796         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8797         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8799         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8800         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8801         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8802         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8803         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8804         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8805         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8806         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8807         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8809         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8810         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8811         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8813 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
8815         * Makerules (+depfiles): Also collect depfiles from .oS in
8816         $(extra-objs).
8817         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8818         .oS, $(libnldbl-routines)).
8820         * Makerules (native-compile-mkdep-flags): Define.
8821         * sunrpc/Makefile (extra-objs): Add $(addprefix
8822         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8823         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8824         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
8825         calling $(make-target-directory).
8827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8829         * bits/types.h (__snseconds_t): Removed.
8830         * time/time.h (struct timespec): Replace __snseconds_t with
8831         __syscall_slong_t.
8832         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8833         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8834         Likewise.
8835         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8836         (__SNSECONDS_T_TYPE): Likewise.
8837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8838         (__SNSECONDS_T_TYPE): Likewise.
8839         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8840         (__SNSECONDS_T_TYPE): Likewise.
8842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8844         * sysdeps/mach/hurd/bits/typesizes.h
8845         (__SYSCALL_SLONG_TYPE): New macro.
8846         (__SYSCALL_ULONG_TYPE): Likewise.
8848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8850         * bits/types.h (__syscall_slong_t): New type.
8851         (__syscall_ulong_t): Likewise.
8853         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8854         (__SYSCALL_ULONG_TYPE): Likewise.
8855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8856         (__SYSCALL_SLONG_TYPE): Likewise.
8857         (__SYSCALL_ULONG_TYPE): Likewise.
8858         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8859         (__SYSCALL_SLONG_TYPE): Likewise.
8860         (__SYSCALL_ULONG_TYPE): Likewise.
8861         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8862         (__SYSCALL_SLONG_TYPE): Likewise.
8863         (__SYSCALL_ULONG_TYPE): Likewise.
8865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8867         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8868         Add sigaltstack-offsets.sym.
8869         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8870         <sigaltstack-offsets.h>.
8871         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
8872         longjmp_msg pointer.
8873         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
8874         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8875         signal stack.
8876         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8878 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
8880         * elf/stackguard-macros.h: Remove file.
8881         * sysdeps/generic/stackguard-macros.h: New file.
8882         * sysdeps/i386/stackguard-macros.h: Likewise.
8883         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8884         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8885         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8886         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8887         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8888         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8889         * sysdeps/x86_64/stackguard-macros.h: Likewise.
8890         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8891         <elf/stackguard-macros.h>.
8893         [BZ #14109]
8894         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8895         __aligned__ in attribute.
8896         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8897         (gregset_t): Likewise.
8899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8901         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8902         * sysdeps/x86_64/64/Implies-after: Here.  New file.
8903         * sysdeps/x86_64/x32/Implies-after: New file.
8905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8907         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8908         and access return value for _dl_profile_fixup.  Use R10_LP to
8909         load frame size.
8911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8913         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8917         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8918         * sysdeps/x86_64/x32/sysdep.h: New file.
8920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8922         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8923         * sysdeps/x86_64/setjmp.S: Likewise.
8925 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8927         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8928         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8929         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8930         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8931         remove unused global constant.
8933 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
8935         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8936         include of <not-cancel.h>.
8938 2012-05-15  Roland McGrath  <roland@hack.frob.com>
8940         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8942 2012-05-15  Jeff Law  <law@redhat.com>
8943             Andreas Jaeger  <aj@suse.de>
8945         [BZ #13594]
8946         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8947         out from...
8948         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8949         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8950         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8951         code changing __hst_map_handle.map.
8953 2012-05-15  Roland McGrath  <roland@hack.frob.com>
8955         * configure.in (sysnames): Look for Implies-before and Implies-after
8956         files.
8957         * configure: Regenerated.
8959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8961         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8962         8-byte data alignment with LP_SIZE alignment.
8964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8966         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8967         into R10_LP.
8969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8971         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8975         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8976         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8977         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8978         Likewise.
8979         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8983         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8984         (stackinfo_sub_sp): Likewise.
8986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8988         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8989         RAX_LP.
8991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8993         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8994         into R*_LP.
8996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8998         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8999         sizes into R*_LP.
9001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9003         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9007         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9008         into R11_LP and load __x86_64_shared_cache_size_half into
9009         R8_LP.
9011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9013         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9014         R8_LP.
9016 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9019         logb for POWER7.
9020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9021         logbf for POWER7.
9022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9023         logbl for POWER7.
9024         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9025         powerpc32/power7/fpu/s_logb.c via #include.
9026         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9027         powerpc32/power7/fpu/s_logbf.c via #include.
9028         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9029         powerpc32/power7/fpu/s_logbl.c via #include.
9031 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9033         * README.libm: Remove file.
9035 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9037         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9038         count for x32.  Use R*_LP and omit operand-size suffix.
9040 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9042         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9043         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9044         * sysdeps/x86_64/x32/shlib-versions: New file.
9046 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9048         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9049         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9050         Use _dl_fatal_printf instead.
9052 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9054         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9055         set if not set by the user.  Do not allow for being unset.
9056         * sysdeps/unix/sysv/linux/configure: Regenerated.
9058 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9060         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9061         the `q' suffix from lea and replace .quad with ASM_ADDR.
9063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9066         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9067         instead of $17.
9068         (PTR_DEMANGLE): Likewise.
9070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9072         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9073         (LP_OP): Likewise.
9074         (ASM_ADDR): Likewise.
9075         (RAX_LP): Likewise.
9076         (RBP_LP): Likewise.
9077         (RBX_LP): Likewise.
9078         (RCX_LP): Likewise.
9079         (RDI_LP): Likewise.
9080         (RSI_LP): Likewise.
9081         (RSP_LP): Likewise.
9082         (R8_LP): Likewise.
9083         (R9_LP): Likewise.
9084         (R10_LP): Likewise.
9085         (R10_LP): Likewise.
9086         (R11_LP): Likewise.
9087         (R12_LP): Likewise.
9088         (R13_LP): Likewise.
9089         (R14_LP): Likewise.
9090         (R15_LP): Likewise.
9092 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9094         * sysdeps/x86_64/x32/dl-machine.h: New file.
9096 2012-05-14  Andreas Jaeger  <aj@suse.de>
9098         * manual/Makefile (subdir): Remove export of subdir.
9099         (all): Remove target.
9100         (.PHONY): Remove all from list.
9101         (mkinstalldirs): Remove.
9102         (.PHONY): Remove installdirs from list.
9103         ($(inst_infodir)/libc.info): Use make-target-directory.
9104         (installdirs): Remove.
9105         (subdir_%): Remove.
9106         (glibc-targets): Remove.
9107         (lib): Remove.
9108         (stubs): Remove.
9109         ($(objpfx)stubs ../po/manual.pot): Remove.
9110         ($(objpfx)stamp%): Remove.
9111         (make-target-directory): Remove.
9112         (subdir_install): Remove.
9113         (routines): Remove.
9114         (aux): Remove.
9115         (sources): Remove.
9116         (objects): Remove.
9117         (headers): Remove.
9119         [BZ #13750]
9120         * manual/.gitignore: Remove, it's not needed anymore.
9121         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9122         all files in it.
9123         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9124         directory.
9125         (texis): Renamed to $(objpfx)texis.
9126         (texis-path): New, contains path to generated files.
9127         (chapters.%): Use texis-path for complete path, add extra argument
9128         libc-texinfo.sh.
9129         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9130         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9131         (summary,texi, stamp-summary): Use complete path of
9132         files. Generate files in build dir.
9133         (dir-add.texi): Build in build dir.
9134         (libm-err.texi,stamp-libm-err): Likewise.
9135         (version.texi, stamp-version): Likewise.
9136         (.%c.texi): Likewise.
9137         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9138         (mostlyclean): Remove target.
9139         (realclean): Remove target.
9140         (generated): Add new variable with contents from mostlyclean and
9141         realclean, remove entries duplicated in common-mostlyclean, add
9142         stamp-libm-err and stamp-version.
9143         (generated-dirs): Add libc directory.
9144         ($(inst_infodir)/libc.info): Install files from build dir.
9146         * manual/install.texi (Configuring and compiling): Adjust since
9147         the info files are not part of the tar ball anymore.
9149 2012-05-14  Andreas Jaeger  <aj@suse.de>
9151         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9152         variable.
9154 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9156         [BZ #13717]
9157         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9158         to 2.2.0 where earlier.
9159         * sysdeps/unix/sysv/linux/configure: Regenerated.
9160         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9161         Remove conditional code.
9162         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9163         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9164         Remove conditional code.
9165         [!__NR_lchown]: Likewise.
9166         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9167         [__NR_lchown]: Likewise.
9168         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9169         comment referencing __ASSUME_LCHOWN_SYSCALL.
9170         * sysdeps/unix/sysv/linux/i386/sigaction.c
9171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9173         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9174         Remove conditional code.
9175         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9176         (__protocol_available): Remove #if 0 code.
9177         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9178         conditional code.
9179         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9180         * sysdeps/unix/sysv/linux/kernel-features.h
9181         (__ASSUME_GETCWD_SYSCALL): Don't define.
9182         (__ASSUME_REALTIME_SIGNALS): Likewise.
9183         (__ASSUME_PREAD_SYSCALL): Likewise.
9184         (__ASSUME_PWRITE_SYSCALL): Likewise.
9185         (__ASSUME_POLL_SYSCALL): Likewise.
9186         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9187         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9188         non-SPARC.
9189         (__ASSUME_SIOCGIFNAME): Don't define.
9190         (__ASSUME_MSG_NOSIGNAL): Likewise.
9191         (__ASSUME_SENDFILE): Define unconditionally.
9192         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9193         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9194         conditional code.
9195         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9196         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9197         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9198         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9199         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9200         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9201         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9203         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9206         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9212         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9215         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9218         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9221         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9222         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9224         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9226         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9227         Remove conditional code.
9228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9229         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9230         Remove conditional code.
9231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9232         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9233         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9234         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9235         Remove conditional code.
9236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9237         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9238         Remove conditional code.
9239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9240         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9241         Remove conditional code.
9242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9243         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9244         Remove conditional code.
9245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9246         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9247         Remove conditional code.
9248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9249         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9250         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9252         * sysdeps/unix/sysv/linux/sigaction.c
9253         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9254         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9255         * sysdeps/unix/sysv/linux/sigpending.c
9256         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9257         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9258         * sysdeps/unix/sysv/linux/sigprocmask.c
9259         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9260         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9261         * sysdeps/unix/sysv/linux/sigsuspend.c
9262         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9263         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9264         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9265         (__libc_missing_rt_sigs): Remove.
9266         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9267         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9268         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9269         Remove conditional code.
9270         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9271         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9272         return 1.
9273         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9274         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9275         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9276         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9278 2012-05-14  Andreas Jaeger  <aj@suse.de>
9280         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9281         it's not used in glibc.
9282         (__coshm1): Likewise.
9283         (__acosh1p): Likewise.
9284         (__sgn): Likewise.
9286         * manual/string.texi (Copying and Concatenation): Add missing
9287         variable in concat example.
9288         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9290 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9292         [BZ #14103]
9293         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9294         __builtin_clzl with __builtin_clzll.
9296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9298         [BZ #14104]
9299         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9300         libc_freeres_ptr.
9302 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9304         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9305         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9306         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9307         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9309 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9311         * NEWS: Update ia64 info.
9313 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9315         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9316         used as bcopy.
9318 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9320         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9321         * sysdeps/unix/syscalls.list (dup3): Likewise.
9322         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9323         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9325 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9327         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9328         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9330 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9332         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9333         thread pointer.
9334         (TLS_IE): Use mov/add instead of movq/addq to load thread
9335         pointer.
9336         (TLS_GD_PREFIX): New.
9337         (TLS_GD): Use it.
9339 2012-05-11  David S. Miller  <davem@davemloft.net>
9341         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9342         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9343         (_FPU_SETCW): Likewise.
9345 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9347         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9348         is 32-byte aligned.
9350 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9352         [BZ #11837]
9353         * iconvdata/gb18030.c: Update tables.
9354         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9355         characters specially.
9356         (BODY for TO_LOOP): Add encoding of missing ranges.
9358 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9360         [BZ #13673]
9361         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9362         * sysdeps/mach/hurd/dup3.c: Likewise.
9363         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9364         * sysdeps/powerpc/memmove.c:: Likewise.
9366 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9369         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9371 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9373         * elf/elf.h (R_X86_64_RELATIVE64): New.
9374         (R_X86_64_NUM): Updated.
9375         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9376         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9377         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9378         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9379         tst-quad1pie tst-quad2pie
9380         (modules-names): Add tst-quadmod1 tst-quadmod2.
9381         ($(objpfx)tst-quad1): New dependency.
9382         ($(objpfx)tst-quad2): Likewise.
9383         ($(objpfx)tst-quad1pie): Likewise.
9384         ($(objpfx)tst-quad2pie): Likewise.
9385         * sysdeps/x86_64/tst-quad1.c: New file.
9386         * sysdeps/x86_64/tst-quad1pie.c: New file.
9387         * sysdeps/x86_64/tst-quad2.c: Likewise.
9388         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9389         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9390         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9391         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9392         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9396         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9397         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9398         * streams/stropts.h (t_scalar_t): Define type.
9400         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9401         (_PATH_PRESERVE): Set to "/var/lib".
9402         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9404         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9405         instead of int.
9407         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9408         if __dir_mkfile succeeded.
9410         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9411         checking for _hurd_dtablesize.  Unlock it right after having
9412         finished _hurd_dtable allocation.
9414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9416         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9417         * sysdeps/mach/hurd/configure: Regenerated.
9418         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9419         special-casing to...
9420         * sysdeps/gnu/configure.in: ... this new file.
9421         * sysdeps/unix/sysv/linux/configure: Regenerated.
9422         * sysdeps/gnu/configure: New generated file.
9424         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9425         for Linux: use nsec instead of usec, as well as:
9426         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9427         members of type struct timespec.
9428         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9429         New macros.
9430         (struct stat64): Likewise.
9431         (_STATBUF_ST_NSEC): New macro.
9432         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9434         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9435         __strtoul_internal rather than strtoul.
9437 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9439         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9440         and reject them.
9442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9444         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9445         which preserves existing values.
9446         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9448 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9450         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9451         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9452         greater than FD_SETSIZE.
9454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9456         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9457         allocated, call __vm_protect to finish enabling the existing space, and
9458         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9459         allocate the remainder.
9461 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9463         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9464         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9468         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9469         sysdeps/mach/hurd/readlink.c.
9471         * posix/tst-sysconf.c (posix_options): Only use
9472         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9473         _POSIX_SYNCHRONIZED_IO when they are defined
9474         * sysdeps/mach/hurd/bits/posix_opt.h:
9475         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9476         (_XOPEN_REALTIME): Undefine macro.
9477         (_XOPEN_REALTIME_THREADS): Undefine macro.
9478         (_XOPEN_SHM): Undefine macro.
9479         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9480         macro to -1.
9481         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9482         macro to -1.
9483         (_POSIX_ASYNC_IO): Undefine macro.
9484         (_POSIX_PRIORITIZED_IO): Undefine macro.
9485         (_POSIX_SPIN_LOCKS): Define macro to -1.
9487         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9488         SA_NODEFER, SA_RESETHAND.
9489         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9490         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9491         F_DUPFD_CLOEXEC.
9493 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9495         * elf/Makefile (pldd-modules): Define unconditionally.
9497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9499         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9503         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9504         Return ENOENT when name is empty.
9505         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9509         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9511         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9515         Fix mlock in all cases except non-readable pages.
9516         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9517         instead of VM_PROT_ALL as parameter to __vm_wire function.
9519         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9520         (__mkdir): When path is `/', just fail with EEXIST.
9521         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9523 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9525         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9526         <sys/uio.h> (for writev).
9527         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9528         and <sys/param.h> (for MIN).
9530 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9532         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9533         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9534         if interrupted.
9536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9538         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9539         Depend on against $(link-rpcuserlibs).
9541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9543         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9544         (__libc_stack_end): Do not use attribute_relro.
9545         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9546         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9547         to libthread-provided value.
9548         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9549         attribute_relro.
9551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9553         [BZ #3748]
9554         * bits/libc-lock.h (__libc_once_get): New macro.
9555         * sysdeps/mach/bits/libc-lock.h: Likewise.
9556         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9557         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9558         instead of using implementation details.
9560         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9561         * libio/freopen.c: Likewise.
9562         * libio/freopen64.c: Likewise.
9563         * misc/syslog.c: Likewise.
9564         * nscd/connections.c: Likewise.
9565         * nscd/netgroupcache.c: Likewise.
9566         * sysdeps/posix/getcwd.c: Likewise.
9568 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9570         * math/w_ilogbf.c: Add #include <limits.h>.
9572 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9574         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9575         path instead of returning without unlocking.
9577         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9578         immediate-write ioctls.
9579         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9581 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9583         * sysdeps/mach/hurd/i386/init-first.c (init): Use
9584         __builtin_frame_address instead of making assumptions about the
9585         location of the return address relative to DATA.  Force early load of
9586         the return address.
9587         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9588         __builtin_frame_address.
9590         dup3 for GNU Hurd.
9591         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9592         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
9593         implement dup3 and do some further code clean-ups.
9594         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9595         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9599         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9601         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9602         HURD_CRITICAL_END around holding _hurd_dtable_lock.
9603         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9604         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9605         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9606         d->port.lock.
9608         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9609         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
9610         when handler == SIG_ERR, not when handler != SIG_ERR.
9612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9614         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9615         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9616         definitions.
9618         accept4 for GNU Hurd.
9619         * include/sys/socket.h (__libc_accept4): New prototype.
9620         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
9621         to implement __libc_accept4.
9622         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9623         __libc_accept4.
9624         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9626         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9627         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9628         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9629         signal-defines.sym.
9631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9633         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9637         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9638         assertion on O_CLOEXEC flag.
9639         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9640         * hurd/intern-fd.c: Likewise.
9641         * hurd/port2fd.c: Likewise.
9643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9645         [BZ #3906]
9646         * bits/in.h (IPV6_PKTINFO): Define new macro.
9647         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9649 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9651         [BZ #13954]
9652         [BZ #13955]
9653         [BZ #13956]
9654         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9656         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9657         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9659         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9660         * math/libm-test.inc (logb_test) : Additional logb tests.
9662 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
9663             Andreas Jaeger  <aj@suse.de>
9665         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9666         * configure: Regenerated.
9667         * config.h.in (LINK_OBSOLETE_RPC): New macro.
9668         * config.make.in (link-obsolete-rpc): New substituted variable.
9669         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9670         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9671         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9672         (shared-only-routines): Don't set it under [link-obsolete-rpc],
9673         so that libc.a contains the symbols.
9674         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9675         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9676         * sunrpc/auth_none.c: Likewise.
9677         * sunrpc/auth_unix.c: Likewise.
9678         * sunrpc/authdes_prot.c: Likewise.
9679         * sunrpc/authuxprot.c: Likewise.
9680         * sunrpc/clnt_gen.c: Likewise.
9681         * sunrpc/clnt_perr.c: Likewise.
9682         * sunrpc/clnt_raw.c: Likewise.
9683         * sunrpc/clnt_simp.c: Likewise.
9684         * sunrpc/clnt_tcp.c: Likewise.
9685         * sunrpc/clnt_udp.c: Likewise.
9686         * sunrpc/clnt_unix.c: Likewise.
9687         * sunrpc/des_crypt.c: Likewise.
9688         * sunrpc/des_soft.c: Likewise.
9689         * sunrpc/get_myaddr.c: Likewise.
9690         * sunrpc/key_call.c: Likewise.
9691         * sunrpc/key_prot.c: Likewise.
9692         * sunrpc/netname.c: Likewise.
9693         * sunrpc/pm_getmaps.c: Likewise.
9694         * sunrpc/pm_getport.c: Likewise.
9695         * sunrpc/pmap_clnt.c: Likewise.
9696         * sunrpc/pmap_prot.c: Likewise.
9697         * sunrpc/pmap_prot2.c: Likewise.
9698         * sunrpc/pmap_rmt.c: Likewise.
9699         * sunrpc/publickey.c: Likewise.
9700         * sunrpc/rpc_cmsg.c: Likewise.
9701         * sunrpc/rpc_common.c: Likewise.
9702         * sunrpc/rpc_dtable.c: Likewise.
9703         * sunrpc/rpc_prot.c: Likewise.
9704         * sunrpc/rpc_thread.c: Likewise.
9705         * sunrpc/rtime.c: Likewise.
9706         * sunrpc/svc.c: Likewise.
9707         * sunrpc/svc_auth.c: Likewise.
9708         * sunrpc/svc_raw.c: Likewise.
9709         * sunrpc/svc_run.c: Likewise.
9710         * sunrpc/svc_tcp.c: Likewise.
9711         * sunrpc/svc_udp.c: Likewise.
9712         * sunrpc/svc_unix.c: Likewise.
9713         * sunrpc/svcauth_des.c: Likewise.
9714         * sunrpc/xcrypt.c: Likewise.
9715         * sunrpc/xdr.c: Likewise.
9716         * sunrpc/xdr_array.c: Likewise.
9717         * sunrpc/xdr_float.c: Likewise.
9718         * sunrpc/xdr_intXX_t.c: Likewise.
9719         * sunrpc/xdr_mem.c: Likewise.
9720         * sunrpc/xdr_rec.c: Likewise.
9721         * sunrpc/xdr_ref.c: Likewise.
9722         * sunrpc/xdr_sizeof.c: Likewise.
9723         * sunrpc/xdr_stdio.c: Likewise.
9725 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9728         change.  Update copyright years.
9730 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9732         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9734 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
9735             Joseph Myers  <joseph@codesourcery.com>
9736             Paul Pluzhnikov  <ppluzhnikov@google.com>
9738         [BZ #14012]
9739         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9740         requiring rpcgen.
9741         [cross-compiling] (extra-libs): Likewise.
9742         [cross-compiling] (extra-libs-others): Likewise.
9743         [cross-compiling] (librpcsvc-routines): Likewise.
9744         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9745         [cross-compiling] (omit-deps): Likewise.
9746         (sunrpc-CPPFLAGS): New variable.
9747         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9748         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9749         (cross-rpcgen-objs): New variable.
9750         (extra-objs): Append $(cross-rpcgen-objs).
9751         ($(cross-rpcgen-objs)): New rule.
9752         ($(objpfx)cross-rpcgen): Likewise.
9753         (rpcgen-cmd): Define to use $(built-program-file).  Expand
9754         comment.
9755         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9756         ($(objpfx)x%.stmp): Likewise.
9757         * sunrpc/proto.h [IS_IN_build] (_): Define.
9758         [IS_IN_build] (_libc_intl_domainname): Likewise.
9760 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9763         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9764         and R_X86_64_TPOFF64.
9766 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9768         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9769         sysdeps/unix/sysv/syscalls.list.
9770         (stime): Likewise.
9771         (utime): Likewise.
9772         * sysdeps/unix/sysv/syscalls.list: Remove file.
9774 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
9776         [BZ #3440]
9777         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9778         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9779         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9780         (__LC_IDENTIFICATION): Make these macros useful in #if
9781         expressions, as required by C99.
9783 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
9785         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9786         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
9787         after this.
9789 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9791         * stdlib/longlong.h: Updated from GCC.
9793 2012-05-09  Andreas Jaeger  <aj@suse.de>
9795         * nscd/nscd.c (run_modes): Make named enum, reorder so that
9796         default is first entry.
9797         (run_mode): Set type.
9798         (main): Remove informal message about syslog.
9799         (options): Fix typo.
9801         [BZ #14053]
9802         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9803         to asm.
9804         (lrint): Likewise.
9805         (llrintf): Likewise.
9806         (llrint): Likewise.
9807         (rint): Likewise.
9808         (rintf): Likewise.
9809         (nearbyint): Likewise.
9810         (nearbyintf): Likewise.
9812 2012-05-09  Andreas Jaeger  <aj@suse.de>
9813             Pedro Alves  <palves@redhat.com>
9815         * nscd/nscd.c (run_mode): Use enum.
9816         (main): Cleanup coding style issue.
9818 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
9819             Andreas Jaeger  <aj@suse.de>
9821         * nscd/nscd.c (go_background): Replaced with...
9822         (run_mode): ... this.
9823         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9824         (options): Add -F --foreground.
9825         (main): Implement it.
9826         (parse_opt): Parse it.
9828 2012-05-09  Andreas Jaeger  <aj@suse.de>
9830         [BZ #14083]
9831         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9832         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9833         -Wconversion warning.
9834         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9835         Likewise.
9837 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
9839         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
9840         == 0.
9841         (LC_ALL): Use macro-int-constant.
9842         (LC_COLLATE): Likewise.
9843         (LC_CTYPE): Likewise.
9844         (LC_MESSAGES): Likewise.
9845         (LC_MONETARY): Likewise.
9846         (LC_NUMERIC): Likewise.
9847         (LC_TIME): Likewise.
9848         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9849         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9851         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9852         Specify type.
9853         [C99-based standards] (float_t): Expect type.
9854         [C99-based standards] (double_t): Expect type.
9855         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
9856         type.
9857         [C99-based standards] (HUGE_VALL): Likewise.
9858         [C99-based standards] (INFINITY): Likewise.
9859         [C99-based standards] (NAN): Likewise.
9860         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9861         [C99-based standards] (FP_NAN): Likewise.
9862         [C99-based standards] (FP_NORMAL): Likewise.
9863         [C99-based standards] (FP_SUBNORMAL): Likewise.
9864         [C99-based standards] (FP_ZERO): Likewise.
9865         [C99-based standards] (FP_FAST_FMA): Use
9866         optional-macro-int-constant.  Specify type.  Require == 1.
9867         [C99-based standards] (FP_FAST_FMAF): Likewise.
9868         [C99-based standards] (FP_FAST_FMAL): Likewise.
9869         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9870         [C99-based standards] (FP_ILOGBNAN): Likewise.
9871         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9872         Specify type.
9873         [C99-based standards] (MATH_ERREXCEPT): Likewise.
9874         [C99-based standards] (math_errhandling): Specify type.
9875         [ISO99 || ISO11] (signgam): Do not allow.
9876         [non-C99-based standards] (copysignf): Do not allow.
9877         [non-C99-based standards] (exp2f): Likewise.
9878         [non-C99-based standards] (log2f): Likewise.
9879         [non-C99-based standards] (modff): Allow.
9880         [non-C99-based standards] (erff): Do not allow.
9881         [non-C99-based standards] (erfcf): Likewise.
9882         [non-C99-based standards] (gammaf): Likewise.
9883         [non-C99-based standards] (hypotf): Likewise.
9884         [non-C99-based standards] (j0f): Likewise.
9885         [non-C99-based standards] (j1f): Likewise.
9886         [non-C99-based standards] (jnf): Likewise.
9887         [non-C99-based standards] (lgammaf): Likewise.
9888         [non-C99-based standards] (tgammaf): Likewise.
9889         [non-C99-based standards] (y0f): Likewise.
9890         [non-C99-based standards] (y1f): Likewise.
9891         [non-C99-based standards] (ynf): Likewise.
9892         [non-C99-based standards] (isnanf): Likewise.
9893         [non-C99-based standards] (acoshf): Likewise.
9894         [non-C99-based standards] (asinhf): Likewise.
9895         [non-C99-based standards] (atanhf): Likewise.
9896         [non-C99-based standards] (cbrtf): Likewise.
9897         [non-C99-based standards] (expm1f): Likewise.
9898         [non-C99-based standards] (ilogbf): Likewise.
9899         [non-C99-based standards] (log1pf): Likewise.
9900         [non-C99-based standards] (logbf): Likewise.
9901         [non-C99-based standards] (nextafterf): Likewise.
9902         [non-C99-based standards] (remainderf): Likewise.
9903         [non-C99-based standards] (rintf): Likewise.
9904         [non-C99-based standards] (scalbf): Likewise.
9905         [non-C99-based standards] (copysignl): Likewise.
9906         [non-C99-based standards] (exp2l): Likewise.
9907         [non-C99-based standards] (log2l): Likewise.
9908         [non-C99-based standards] (modfl): Allow.
9909         [non-C99-based standards] (erfl): Do not allow.
9910         [non-C99-based standards] (erfcl): Likewise.
9911         [non-C99-based standards] (gammal): Likewise.
9912         [non-C99-based standards] (hypotl): Likewise.
9913         [non-C99-based standards] (j0l): Likewise.
9914         [non-C99-based standards] (j1l): Likewise.
9915         [non-C99-based standards] (jnl): Likewise.
9916         [non-C99-based standards] (lgammal): Likewise.
9917         [non-C99-based standards] (tgammal): Likewise.
9918         [non-C99-based standards] (y0l): Likewise.
9919         [non-C99-based standards] (y1l): Likewise.
9920         [non-C99-based standards] (ynl): Likewise.
9921         [non-C99-based standards] (isnanl): Likewise.
9922         [non-C99-based standards] (acoshl): Likewise.
9923         [non-C99-based standards] (asinhl): Likewise.
9924         [non-C99-based standards] (atanhl): Likewise.
9925         [non-C99-based standards] (cbrtl): Likewise.
9926         [non-C99-based standards] (expm1l): Likewise.
9927         [non-C99-based standards] (ilogbl): Likewise.
9928         [non-C99-based standards] (log1pl): Likewise.
9929         [non-C99-based standards] (logbl): Likewise.
9930         [non-C99-based standards] (nextafterl): Likewise.
9931         [non-C99-based standards] (remainderl): Likewise.
9932         [non-C99-based standards] (rintl): Likewise.
9933         [non-C99-based standards] (scalbl): Likewise.
9934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9935         [non-C99-based standards] (FP_*): Do not allow.
9936         [C99-based standards] (FP_*): Change to
9937         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9938         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9939         allow.
9940         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9941         (SIG_ERR): Likewise.
9942         [X/Open-based standards] (SIG_HOLD): Likewise.
9943         (SIG_IGN): Likewise.
9944         (SIGABRT): Use macro-int-constant.  Specify type.  Require
9945         positive value.
9946         (SIGFPE): Likewise.
9947         (SIGILL): Likewise.
9948         (SIGINT): Likewise.
9949         (SIGSEGV): Likewise.
9950         (SIGTER): Likewise.
9951         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9952         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9953         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9954         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9955         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9956         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9957         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9958         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9959         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9960         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9961         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9962         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9963         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9964         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9965         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9966         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9967         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9968         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9969         [X/Open-based standards] (SIGTRAP): Likewise.
9970         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9971         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9972         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9973         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9974         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9975         allow.
9977 2012-05-08  Ian Wienand  <ianw@vmware.com>
9979         [BZ #14080]
9980         * time/tzset.c (__tzset_parse_tz): Update default rules for
9981         daylight time changes in the Energy Policy Act of 2005.
9983 2012-05-09  Andreas Jaeger  <aj@suse.de>
9985         [BZ #13983]
9986         * elf/ldconfig.c (parse_conf): Change string to make clear that
9987         ldconfig only issued a warning if ld.so.conf does not exist.
9989 2012-05-08  David S. Miller  <davem@davemloft.net>
9991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9992         movxtod instead of popping the value on the stack.
9994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9996 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
9998         * config.h.in: Add HAVE_ARM_PCS_VFP.
10000 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10002         [BZ #13979]
10003         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10004         checking but the checks are disabled for any reason.
10006 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10008         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10009         and ELF64_R_TYPE with ELFW(R_TYPE).
10011 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10013         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10014         (ulimit): Likewise.
10016         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10017         (settimeofday): Likewise.
10019 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10021         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10022         a struct th_u2 inside the union, and move tu_block/tu_code into
10023         a new th_u3 union of tu_block/tu_code inside of that.  Move
10024         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10025         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10026         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10027         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10028         (th_stuff): Change to th_u1.tu_stuff.
10029         (th_data): Define.
10030         (th_msg): Change to th_u1.th_u2.tu_data.
10032 2012-05-07  David S. Miller  <davem@davemloft.net>
10034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10036         [BZ #14074]
10037         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10038         (SETUP_PIC_REG): Use it.
10039         (SETUP_PIC_REG_LEAF): Use it.
10041 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10043         [BZ #13885]
10044         [BZ #13923]
10045         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10046         USE_AS_EXPM1L.
10047         (EXPL_FINITE): Likewise.
10048         (FLDLOG): Likewise.
10049         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10050         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10051         e_expl.S.
10052         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10053         USE_AS_EXPM1L.
10054         (EXPL_FINITE): Likewise.
10055         (FLDLOG): Likewise.
10056         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10057         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10058         e_expl.S.
10059         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10060         test of -max_value argument for long double.
10061         * sysdeps/i386/fpu/libm-test-ulps: Update.
10062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10064 2012-05-06  David S. Miller  <davem@davemloft.net>
10066         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10067         quad soft-float symbols whose references which are compiler
10068         generated.
10069         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10071 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10073         [BZ #13884]
10074         [BZ #13914]
10075         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10076         USE_AS_EXP10L.
10077         (EXPL_FINITE): Likewise.
10078         (FLDLOG): Likewise.
10079         (c0): Likewise.
10080         (c1): Likewise.
10081         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10082         Adjust comments for base varying.
10083         (__expl_finite): Change alias to EXPL_FINITE.
10084         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10085         e_expl.S.
10086         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10087         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10088         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10089         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10090         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10091         USE_AS_EXP10L.
10092         (EXPL_FINITE): Likewise.
10093         (FLDLOG): Likewise.
10094         (c0): Likewise.
10095         (c1): Likewise.
10096         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10097         Adjust comments for base varying.
10098         (__expl_finite): Change alias to EXPL_FINITE.
10099         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10100         tests for bugs.
10101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10103         [BZ #14064]
10104         * math/libm-test.inc (check_float_internal): Correct ulp
10105         calculation for subnormal expected results.
10107 2012-05-06  Andreas Jaeger  <aj@suse.de>
10109         * Makeconfig (+math-flags): New, set to -frounding-math.
10110         (+cflags): Add +math-flags so that all of glibc gets compiled with
10111         it.
10113         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10115 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10117         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10118         Disable one test.
10120         [BZ #13787]
10121         [BZ #13922]
10122         [BZ #14036]
10123         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10124         (__ieee754_expl): Allow for and saturate large arguments.
10125         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10126         (u_threshold): Likewise.
10127         (__exp): Call __ieee754_exp before checking for overflow and
10128         underflow.
10129         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10130         (u_threshold): Likewise.
10131         (__expf): Call __ieee754_expf before checking for overflow and
10132         underflow.
10133         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10134         (u_threshold): Likewise.
10135         (__expl): Call __ieee754_expl before checking for overflow and
10136         underflow.
10137         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10138         (__ieee754_expl): Allow for and saturate large arguments.
10139         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10140         missing overflow exception on overflow.
10141         (expm1_test): Do not allow missing overflow exception on overflow.
10143         * sysdeps/i386/fpu/e_expl.c: Move to ...
10144         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10145         rather than using inline asm.
10146         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10147         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10148         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10150         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10151         (nice): Likewise.
10152         (poll): Likewise.
10153         (signal): Likewise.
10154         (time): Likewise.
10155         (times): Likewise.
10157 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10159         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10160         sysdeps/unix/common/syscalls.list.
10161         (fchmod): Likewise.
10162         (fchown): Likewise.
10163         (ftruncate): Likewise.
10164         (getrusage): Likewise.
10165         (gettimeofday): Likewise.
10166         (setpgid): Likewise.
10167         (setregid): Likewise.
10168         (setreuid): Likewise.
10169         (sigaction): Likewise.
10170         (truncate): Likewise.
10171         (vhangup): Likewise.
10172         * sysdeps/unix/common/syscalls.list: Remove file.
10173         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10174         * sysdeps/unix/sysv/linux/Implies: Likewise.
10176 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10178         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10180         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10181         Moved to ...
10182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10183         Here.
10184         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10185         to ...
10186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10187         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10188         to ...
10189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10190         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10191         to ...
10192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10193         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10194         to ...
10195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10196         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10197         to ...
10198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10199         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10200         to ...
10201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10202         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10203         to ...
10204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10205         Here.
10206         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10207         to ...
10208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10209         Here.
10210         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10211         to ...
10212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10213         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10214         Moved to ...
10215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10216         Here.
10217         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10218         to ...
10219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10221 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10223         * sysdeps/unix/common/bits/dirent.h: Remove file.
10224         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10226         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10227         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10228         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10229         * sysdeps/unix/bsd/isatty.c: Likewise.
10230         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10231         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10232         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10234 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10236         [BZ #13563]
10237         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10238         long double comparison inaccuracies.
10239         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10242 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10244         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10245         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10247 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10249         [BZ #14049]
10250         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10251         nonzero digits before rounding a hex value.
10252         * stdlib/tst-strtod.c (tests): Add another test.
10254 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10256         * sysdeps/s390/fpu/libm-test-ulps: Update.
10258 2012-05-03  Andreas Jaeger  <aj@suse.de>
10260         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10261         does not get optimized out.
10262         (malloc_opt_barrier): New.
10264 2012-05-03  Andreas Jaeger  <aj@suse.de>
10265             Roland McGrath  <roland@hack.frob.com>
10267         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10268         intermediate file deletion.
10269         (generated): Add .symlist files.
10271 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10273         [BZ #13775]
10274         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10275         Redirect under this condition.
10276         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10277         [__USE_GNU] (__dprintf_chk): Not under this condition.
10278         [__USE_GNU] (__vdprintf_chk): Likewise.
10279         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10280         under this condition.
10281         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10282         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10283         [__USE_XOPEN2K8] (vdprintf): Likewise.
10284         [__USE_GNU] (__dprintf_chk): Not under this condition.
10285         [__USE_GNU] (__vdprintf_chk): Likewise.
10286         [__USE_GNU] (dprintf): Likewise.
10287         [__USE_GNU] (vdprintf): Likewise.
10289 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10291         * elf/Makefile (common-generated): Set this instead of generated for
10292         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10293         $(all-built-dso)-derived lists.
10295 2012-05-03  Andreas Jaeger  <aj@suse.de>
10297         * sysdeps/i386/fpu/libm-test-ulps: Update.
10299         * FAQ: Removed.
10300         * FAQ.in: Likewise.
10301         * scripts/gen-FAQ.pl: Likewise.
10302         * manual/install.texi (Installation): Point to online location of
10303         FAQ.
10304         * Makefile (files-for-dist): Remove FAQ.
10305         (FAQ): Remove.
10307 2012-05-02  Allan McRae  <allan@archlinux.org>
10309         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10310         (LDFLAGS-reldepmod5.so): Likewise.
10311         (LDFLAGS-reldep6mod1.so): Likewise.
10312         (LDFLAGS-reldep6mod4.so): Likewise.
10313         (LDFLAGS-reldep8mod3.so): Likewise.
10314         (LDFLAGS-unload4mod1.so): Likewise.
10315         (LDFLAGS-unload4mod2.so): Likewise.
10316         (LDFLAGS-tst-initorder): Likewise.
10317         (LDFLAGS-tst-initordera2.so): Likewise.
10318         (LDFLAGS-tst-initordera3.so): Likewise.
10319         (LDFLAGS-tst-initordera4.so): Likewise.
10320         (LDFLAGS-tst-initorderb2.so): Likewise.
10321         (LDFLAGS-noload): Likewise.
10322         (LDFLAGS-next): Likewise.
10323         (LDFLAGS-order2mod1.so): Likewise.
10324         (LDFLAGS-order2mod2.so): Likewise.
10325         (LDFLAGS-tst-initorder2): Likewise.
10326         (LDFLAGS-tst-initorder2a.so): Likewise.
10327         (LDFLAGS-tst-initorder2b.so): Likewise.
10328         (LDFLAGS-tst-initorder2c.so): Likewise.
10329         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10331 2012-05-02  David S. Miller  <davem@davemloft.net>
10333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10335 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10337         [BZ #14055]
10338         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10340 2012-05-02  Andreas Jaeger  <aj@suse.de>
10342         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10343         since we manipulate rounding mode.
10344         (CPPFLAGS-test-idouble.c): Likewise.
10345         (CPPFLAGS-test-ifloat.c): Likewise.
10346         (CFLAGS-test-ldouble.c): Likewise.
10347         (CFLAGS-test-double.c): Likewise.
10348         (CFLAGS-test-float.c): Likewise.
10349         (CFLAGS-test-misc.c): Likewise.
10350         (CFLAGS-test-test-fenv.c): Likewise.
10352 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10354         [BZ #2550]
10355         [BZ #2570]
10356         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10357         comparisons to determine direction to adjust input.
10359 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10361         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10362         output to the target.
10364         * scripts/localplt.awk: New file.
10365         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10366         (check-localplt-CFLAGS): Variable removed.
10367         ($(all-built-dso:=.jmprel)): New static pattern rule.
10368         (generated): Add those targets.
10369         (localplt-built-dso): New variable.
10370         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10372         * elf/check-localplt.c: File removed.
10374         * scripts/check-execstack.awk: New file.
10375         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10376         (check-execstack-CFLAGS): Variable removed.
10377         ($(objpfx)check-execstack.h): Target removed.
10378         ($(objpfx)execstack-default): New target.
10379         (generated): Add that instead of check-execstack.h.
10380         ($(all-built-dso:=.phdr)): New static pattern rule.
10381         (generated): Add those targets.
10382         * elf/check-execstack.c: File removed.
10384         * scripts/check-textrel.awk: New file.
10385         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10386         (check-textrel-CFLAGS): Variable removed.
10387         (all-built-dso): Use := to define.o
10388         ($(all-built-dso:=.dyn)): New static pattern rule.
10389         (generated): Add those targets.
10390         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10391         * config.make.in (READELF): New substituted variable.
10392         * elf/check-textrel.c: File removed.
10394 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10396         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10397         allow.
10398         * conform/data/ctype.h-data [C99-based standards] (isblank):
10399         Expect function.
10400         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10401         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10402         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10403         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10404         Specify type.  Require positive value.
10405         (EILSEQ): Likewise.
10406         (ERANGE): Likewise.
10407         [ISO || POSIX] (EILSEQ): Do not expect.
10408         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10409         Specify type.  Require positive value.
10410         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10411         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10412         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10413         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10414         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10415         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10416         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10417         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10418         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10419         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10420         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10421         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10422         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10423         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10424         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10425         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10426         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10427         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10428         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10429         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10430         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10431         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10432         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10433         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10434         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10435         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10436         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10437         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10438         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10439         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10440         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10441         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10442         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10443         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10444         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10445         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10446         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10447         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10448         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10449         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10450         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10451         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10452         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10453         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10454         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10455         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10456         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10457         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10458         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10459         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10460         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10461         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10462         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10463         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10464         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10465         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10466         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10467         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10468         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10469         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10470         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10471         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10472         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10473         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10474         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10475         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10476         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10477         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10478         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10479         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10480         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10481         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10482         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10483         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10484         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10485         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10486         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10487         Require >= 2.
10488         (FLT_ROUNDS): Expect as macro, not constant.
10489         (FLT_MANT_DIG): Use macro-int-constant.
10490         (DBL_MANT_DIG): Likewise.
10491         (LDBL_MANT_DIG): Likewise.
10492         (FLT_DIG): Likewise.
10493         (DBL_DIG): Likewise.
10494         (LDBL_DIG): Likewise.
10495         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10496         (DBL_MIN_EXP): Likewise.
10497         (LDBL_MIN_EXP): Likewise.
10498         (FLT_MAX_EXP): Use macro-int-constant.
10499         (DBL_MAX_EXP): Likewise.
10500         (LDBL_MAX_EXP): Likewise.
10501         (FLT_MAX_10_EXP): Likewise.
10502         (DBL_MAX_10_EXP): Likewise.
10503         (LDBL_MAX_10_EXP): Likewise.
10504         (FLT_MAX): Use macro-constant.
10505         (DBL_MAX): Likewise.
10506         (LDBL_MAX): Likewise.
10507         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10508         (DBL_EPSILON): Likewise.
10509         (LDBL_EPSILON): Likewise.
10510         (FLT_MIN): Likewise.
10511         (DBL_MIN): Likewise.
10512         (LDBL_MIN): Likewise.
10513         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10514         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10515         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10516         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10517         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10518         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10519         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10520         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10521         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10522         [ISO11] (FLT_TRUE_MIN): Likewise.
10523         [ISO11] (LDBL_TRUE_MIN): Likewise.
10524         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10525         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10526         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10527         (SCHAR_MAX): Likewise.
10528         (UCHAR_MAX): Likewise.
10529         (CHAR_MIN): Likewise.
10530         (CHAR_MAX): Likewise.
10531         (MB_LEN_MAX): Use macro-int-constant.
10532         (SHRT_MIN): Use macro-int-constant.  Specify type.
10533         (SHRT_MAX): Likewise.
10534         (USHRT_MAX): Likewise.
10535         (INT_MAX): Likewise.
10536         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10537         bound negative.
10538         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10539         bound with "U".
10540         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10541         bound with "L".
10542         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10543         bound negative.  Suffix upper bound with "L".
10544         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10545         bound with "UL".
10546         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10547         Specify type.
10548         [C99-based standards] (LLONG_MAX): Likewise.
10549         [C99-based standards] (ULLONG_MAX): Likewise.
10550         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10551         == 0.
10552         [ISO11] (max_align_t): Require type.
10553         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10555         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10556         from $CFLAGS, without defining away __attribute__ calls.
10557         (checknamespace): Use $CFLAGS_namespace.
10559         * conform/conformtest.pl (@keywords): Only include C99 keywords
10560         for standards based on C99 or C11.
10562         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10563         Disable tests.
10564         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10565         UNIX98]: Likewise.
10567         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10568         usability of symbols in #if.
10570         * conform/conformtest.pl: If macro or constant types start
10571         "promoted:", expect the symbol to be of the following type
10572         promoted by the integer promotions.
10574         * conform/conformtest.pl: Parse all "constant" and "macro" lines
10575         in one place.  Also handle "macro-constant".
10577         * conform/conformtest.pl: Only accept expected macro values with
10578         "==".  Parse all "macro" lines in one place.
10579         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10581         * conform/conformtest.pl: Handle braced types on "constant" lines
10582         instead of handling "typed-constant".
10583         * conform/data/signal.h-data: Use "constant" instead of
10584         "typed-constant".
10586         * conform/conformtest.pl: Handle "optional-" at start of lines in
10587         one place rather than duplicating several cases.  Handle each
10588         format of "macro" line with initial "optional-".
10590         * conform/conformtest.pl: Only accept expected constant or
10591         optional-constant values with "==".  Parse all "constant" lines in
10592         one place.  Parse all "optional-constant" lines in one place.
10593         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10594         * conform/data/fmtmsg.h-data: Likewise.
10595         * conform/data/netinet/in.h-data: Likewise.
10596         * conform/data/tar.h-data: Likewise.
10597         * conform/data/limits.h-data: Use "==" form on "constant" and
10598         "optional-constant" lines.
10600         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10601         Use -std=c99 for XOPEN2K.
10602         (@knownproblems): Remove.
10603         (newtoken): Don't check %isknown.
10605         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10606         Do not expect macro.
10607         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10608         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10609         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10610         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10611         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10612         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10613         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10614         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10615         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10616         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10617         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10618         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10619         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10620         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10621         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10622         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10623         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10624         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10625         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10626         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10627         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10628         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10629         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10630         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10631         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10632         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10633         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10634         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10635         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10636         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10637         [XPG3] (acosh): Likewise.
10638         [XPG3] (asinh): Likewise.
10639         [XPG3] (atanh): Likewise.
10640         [XPG3] (cbrt): Likewise.
10641         [XPG3] (expm1): Likewise.
10642         [XPG3] (ilogb): Likewise.
10643         [XPG3] (log1p): Likewise.
10644         [XPG3] (logb): Likewise.
10645         [XPG3] (nextafter): Likewise.
10646         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10647         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10648         [XPG3] (remainder): Likewise.
10649         [XPG3] (rint): Likewise.
10650         [XPG3 || XPG4 || UNIX98] (round): Likewise.
10651         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10652         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10653         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10654         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10655         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10656         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10657         [UNIX98 || XOPEN2K] (scalb): Expect.
10658         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10659         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10660         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10661         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10662         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10663         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10664         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10665         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10666         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10667         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10668         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10669         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10670         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10671         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10672         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10673         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10674         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10675         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10676         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10677         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10678         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10679         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10680         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10681         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10682         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10683         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10684         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10685         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10686         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10687         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10688         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10689         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10690         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10691         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10692         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10693         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10694         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10695         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10696         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10697         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10698         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10699         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10700         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10701         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10702         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10703         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10704         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10705         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10706         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10707         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10708         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10709         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10710         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10711         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10712         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10713         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10714         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10715         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10716         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10717         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10718         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10719         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10720         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10721         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10722         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10723         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10724         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10725         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10726         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10727         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10728         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10729         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10730         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10731         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10732         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10733         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10734         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10735         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10736         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10737         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10738         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10739         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10740         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10741         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10742         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10743         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10744         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10745         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10746         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10747         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10748         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10749         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10750         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10751         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10752         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10753         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10754         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10755         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10756         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10757         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10758         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10759         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10760         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10761         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10762         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10763         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10764         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10765         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10766         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10767         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10768         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10769         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10770         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10771         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10772         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10773         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10774         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10775         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10776         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10777         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10778         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10779         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10780         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10781         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10782         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10783         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10784         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10785         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10786         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10787         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10788         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10789         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10790         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10791         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10792         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10793         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10794         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10796         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10797         _XOPEN_SOURCE_EXTENDED for XPG4.
10799         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10801         * Makeconfig (localtime): Remove variable.
10802         (inst_localtime-file): Likewise.
10804 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10807         Update.
10808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10809         Update.
10810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10811         Update.
10812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10813         Update.
10814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10815         Update.
10816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10817         Update.
10818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10819         Update.
10820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10821         Update.
10822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10823         Update.
10825 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10827         [BZ #2550]
10828         [BZ #2570]
10829         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10830         comparisons to determine direction to adjust input.
10831         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10832         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10833         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10834         Likewise.
10835         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10836         Likewise.
10837         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10838         Likewise.
10839         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10840         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10841         Likewise.
10842         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10843         Likewise.
10844         * math/libm-test.inc (nexttoward_test): Add more tests.
10846 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10848         [BZ #14040]
10849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10850         in version GLIBC_2.1, not GLIBC_2.0.
10851         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10852         Likewise.
10854 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
10856         [BZ #13942]
10857         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10858         (1 - x) * (1 + x).
10859         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10860         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10861         * math/libm-test.inc (acos_test): Add more tests.
10862         (asin_test): Likewise.
10863         * sysdeps/i386/fpu/libm-test-ulps: Update.
10864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10866         [BZ #14034]
10867         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10868         of square root.
10869         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10870         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10871         * math/libm-test.inc (acos_test_tonearest): New function.
10872         (acos_test_towardzero): Likewise.
10873         (acos_test_downward): Likewise.
10874         (acos_test_upward): Likewise.
10875         (asin_test_tonearest): Likewise.
10876         (asin_test_towardzero): Likewise.
10877         (asin_test_downward): Likewise.
10878         (asin_test_upward): Likewise.
10879         (main): Call the new functions.
10880         * sysdeps/i386/fpu/libm-test-ulps: Update.
10881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10883         [BZ #13884]
10884         [BZ #13924]
10885         * math/e_exp10.c: Include <float.h>.
10886         (__ieee754_exp10): Handle underflow here rather than multiplying
10887         large negative argument by M_LN10.
10888         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10889         of __ieee754_expf.
10890         * math/e_exp10l.c: Include <float.h>.
10891         (__ieee754_exp10l): Handle underflow here rather than multiplying
10892         large negative argument by M_LN10l.
10893         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
10894         spurious overflow exception on underflow.
10896 2012-04-29  Marek Polacek  <polacek@redhat.com>
10898         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10899         (__fortify_function): New macro.
10900         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10901         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10902         __extern_always_inline.
10903         * libio/bits/stdio2.h: Likewise.
10904         * libio/bits/stdio.h: Likewise.
10905         * string/string.h: Likewise.
10906         * string/bits/string3.h: Likewise.
10907         * include/stdio.h: Likewise.
10908         * stdlib/bits/stdlib.h: Likewise.
10909         * stdlib/stdlib.h: Likewise.
10910         * rt/bits/mqueue2.h: Likewise.
10911         * rt/mqueue.h: Likewise.
10912         * posix/bits/unistd.h: Likewise.
10913         * posix/unistd.h: Likewise.
10914         * io/bits/poll2.h: Likewise.
10915         * io/bits/fcntl2.h: Likewise.
10916         * io/fcntl.h: Likewise.
10917         * io/sys/poll.h: Likewise.
10918         * misc/bits/syslog.h: Likewise.
10919         * misc/bits/syslog-ldbl.h: Likewise.
10920         * misc/sys/syslog.h: Likewise.
10921         * socket/bits/socket2.h: Likewise.
10922         * socket/sys/socket.h: Likewise.
10923         * debug/tst-chk1.c: Likewise.
10924         * wcsmbs/bits/wchar2.h: Likewise.
10925         * wcsmbs/bits/wchar-ldbl.h: Likewise.
10926         * wcsmbs/wchar.h: Likewise.
10928 2012-04-29  Andreas Jaeger  <aj@suse.de>
10930         * Makerules (tests): Remove enable-check-abi protection.
10931         (check-abi-warn): Remove.
10932         (check-abi-%): Remove check-abi-warn usage.
10934         * configure.in: Remove check-abi configure option.
10935         * configure: Regenerated.
10936         * config.make.in (enable-check-abi): Remove.
10938 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
10940         [BZ #14033]
10941         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10942         double functions to double *_finite functions.
10944         [BZ #13941]
10945         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10946         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10947         LDBL_MIN_EXP.
10948         * stdio-common/Makefile (tests): Add tst-sprintf3.
10949         * stdio-common/tst-sprintf3.c: New file.
10951         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10952         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10954 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
10956         * conform/conformtest.pl: Remove duplicate typed-constant
10957         handling.
10959 2012-04-28  David S. Miller  <davem@davemloft.net>
10961         * Makerules (%.abilist): Add vpath on sysdep_dirs.
10962         (check-abi-%): Remove AWK script prerequisite and explicit
10963         abilist directory.
10964         (check-abi): Rewrite to just diff the symlist with the abilist.
10965         (config-tls, config-abi-config): Delete, no longer used.
10966         (update-abi-%): Remove AWK script and explicit abilist directory.
10967         (update-abi): Rewrite to simply compare and conditionally copy the
10968         symlist and the sysdep abilist file.  Remove update-abi-config
10969         checks.
10970         * abilist/ld.abilist: Remove.
10971         * abilist/libBrokenLocale.abilist: Remove.
10972         * abilist/libanl.abilist: Remove.
10973         * abilist/libcrypt.abilist: Remove.
10974         * abilist/libdl.abilist: Remove.
10975         * abilist/librt.abilist: Remove.
10976         * abilist/libthread_db.abilist: Remove.
10977         * abilist/libutil.abilist: Remove.
10978         * scripts/extract-abilist.awk: Remove.
10979         * scripts/merge-abilist.awk: Remove.
10980         * sysdeps/generic/libcidn.abilist: New file.
10981         * sysdeps/generic/libnss_compat.abilist: New file.
10982         * sysdeps/generic/libnss_db.abilist: New file.
10983         * sysdeps/generic/libnss_dns.abilist: New file.
10984         * sysdeps/generic/libnss_files.abilist: New file.
10985         * sysdeps/generic/libnss_hesiod.abilist: New file.
10986         * sysdeps/generic/libnss_nis.abilist: New file.
10987         * sysdeps/generic/libnss_nisplus.abilist: New file.
10988         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10989         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10990         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10991         file.
10992         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10993         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10994         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10995         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10996         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10997         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10998         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10999         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11000         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11001         file.
11002         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11003         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11004         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11005         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11006         file.
11007         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11008         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11009         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11010         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11011         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11012         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11013         file.
11014         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11015         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11016         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11017         file.
11018         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11020         New file.
11021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11022         New file.
11023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11024         New file.
11025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11026         New file.
11027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11028         New file.
11029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11030         New file.
11031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11032         New file.
11033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11034         New file.
11035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11036         New file.
11037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11038         New file.
11039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11040         New file.
11041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11042         New file.
11043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11044         New file.
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11046         file.
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11048         New file.
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11050         New file.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11052         file.
11053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11054         New file.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11056         New file.
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11058         file.
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11060         New file.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11062         New file.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11064         New file.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11066         New file.
11067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11068         New file.
11069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11070         New file.
11071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11073         file.
11074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11075         New file.
11076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11077         file.
11078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11079         file.
11080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11081         file.
11082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11083         file.
11084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11085         file.
11086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11087         New file.
11088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11089         file.
11090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11091         file.
11092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11093         New file.
11094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11095         file.
11096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11098         file.
11099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11100         New file.
11101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11102         file.
11103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11104         file.
11105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11106         file.
11107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11108         file.
11109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11110         file.
11111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11112         New file.
11113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11114         file.
11115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11116         file.
11117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11118         New file.
11119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11120         file.
11121         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11122         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11123         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11124         file.
11125         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11126         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11127         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11128         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11129         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11130         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11131         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11132         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11133         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11134         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11137         file.
11138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11139         New file.
11140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11141         file.
11142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11143         file.
11144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11145         file.
11146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11147         file.
11148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11149         file.
11150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11151         New file.
11152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11153         New file.
11154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11155         file.
11156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11157         New file.
11158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11159         file.
11160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11162         file.
11163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11164         New file.
11165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11166         file.
11167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11168         file.
11169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11170         file.
11171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11172         file.
11173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11174         file.
11175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11176         New file.
11177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11178         New file.
11179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11180         file.
11181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11182         New file.
11183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11184         file.
11186 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11188         * conform/conformtest.pl: Fix typo in handling typed-constant from
11189         allow-header.
11191 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11193         * README: Cut down references to pre-2.6 Linux kernels and
11194         Linuxthreads.  Update lists of configurations in libc and ports
11195         and sort alphabetically.  Say "or newer" with Linux kernel version
11196         requirements.
11198         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11200 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11202         [BZ #887]
11203         * math/libm-test.inc (logb_test_downward): New test to expose
11204         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11205         rounding mode.
11207 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11209         [BZ #14027]
11210         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11211         to be done.
11212         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11213         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11215 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11217         * sysdeps/unix/i386/brk.S: Remove file.
11218         * sysdeps/unix/i386/dl-brk.S: Likewise.
11219         * sysdeps/unix/i386/pipe.S: Likewise.
11220         * sysdeps/unix/i386/sigreturn.S: Likewise.
11221         * sysdeps/unix/i386/syscall.S: Likewise.
11222         * sysdeps/unix/i386/vfork.S: Likewise.
11223         * sysdeps/unix/i386/wait.S: Likewise.
11225         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11226         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11228         * configure.in (arm*-none*): Do not allow without
11229         --enable-hacker-mode.
11230         (netbsd*): Remove case setting base_os.
11231         (386bsd*): Likewise.
11232         (freebsd*): Likewise.
11233         (bsdi*): Likewise.
11234         (osf*): Likewise.
11235         (sunos*): Likewise.
11236         (ultrix*): Likewise.
11237         (newsos*): Likewise.
11238         (dynix*): Likewise.
11239         (*bsd*): Likewise.
11240         (sysv*): Likewise.
11241         (isc*): Likewise.
11242         (esix*): Likewise.
11243         (sco*): Likewise.
11244         (minix*): Likewise.
11245         (irix4*): Likewise.
11246         (irix6*): Likewise.
11247         (solaris[2-9]*): Likewise.
11248         (none): Likewise.
11249         * configure: Regenerated.
11251 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11253         [BZ #11521]
11254         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11255         overflow or cancellation in calculating denominator.
11256         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11257         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11258         down expression to avoid unexpected rounding in newer GCCs.
11259         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11261 2012-04-26  David S. Miller  <davem@davemloft.net>
11263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11264         long-double compat symbols.
11265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11279 2012-04-25  David S. Miller  <davem@davemloft.net>
11281         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11282         HWCAP_* values only after the memory barriers have been defined.
11283         (atomic_full_barrier): Define.
11284         (atomic_read_barrier): Define.
11285         (atomic_write_barrier): Define.
11287 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11289         * shlib-versions: Add libgcc_s version information.
11290         * sysdeps/generic/libgcc_s.h: Remove.
11291         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11292         libgcc_s.h.
11293         * sysdeps/gnu/unwind-resume.c: Likewise.
11294         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11296 2012-04-25  David S. Miller  <davem@davemloft.net>
11298         * sysdeps/unix/sparc/brk.S: Delete.
11299         * sysdeps/unix/sparc/dl-brk.S: Delete.
11300         * sysdeps/unix/sparc/pipe.S: Delete.
11301         * sysdeps/unix/sparc/sysdep.S: Delete.
11302         * sysdeps/unix/sparc/sysdep.h: Delete.
11303         * sysdeps/unix/sparc/vfork.S: Delete.
11304         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11305         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11306         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11307         ret_ERRVAL, r0, r1, MOVE): Define.
11308         (JUMPTARGET): Remove.
11309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11310         sysdeps/unix/sparc/sysdep.h
11311         (ENTRY, END): Remove.
11312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11314 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11316         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11317         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11318         -DIS_IN_build.
11320         * timezone/README: Update upstream location and email address for
11321         tzcode and tzdata.
11322         * timezone/zdump.c: Update from tzcode 2012b.
11323         * timezone/zic.c: Likewise.
11325         * configure.in (libc_cv_as_needed): Remove test.
11326         * configure: Regenerated.
11327         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11328         conditional definition.
11329         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11330         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11331         * config.make.in (have-as-needed): Remove variable.
11333 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11334             Paul Pluzhnikov  <ppluzhnikov@google.com>
11336         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11337         strings correctly.
11339 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11341         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11342         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11343         * sysdeps/sh/strlen.S: Likewise.
11345 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11347         * sysdeps/unix/fork.S: Remove file.
11348         * sysdeps/unix/i386/fork.S: Likewise.
11349         * sysdeps/unix/sparc/fork.S: Likewise.
11351         * sysdeps/unix/system.c: Remove file.
11352         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11354         * sysdeps/unix/getegid.S: Remove file.
11355         * sysdeps/unix/geteuid.S: Likewise.
11357 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11359         * scripts/check-localplt.awk: New file.
11360         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11361         of diff.
11362         * scripts/data/localplt-generic.data: Add a comment.
11364         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11365         NODE when __dir_mkfile failed.
11366         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11367         Reported by Ludovic Courtès <ludo@gnu.org>.
11369 2012-04-24  Andreas Jaeger  <aj@suse.de>
11371         * Makerules (common-clean): Also remove gen-as-const-headers
11372         files.
11374 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11376         * Makerules (native-compile): Do not change working directory for
11377         build.  Use $(OUTPUT_OPTION) in command.
11378         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11380 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11382         [BZ #13886]
11383         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11384         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11385         * math/libm-test.inc (floor_test): Add more tests.
11386         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11388 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11390         * sysdeps/unix/getdents.c: Remove file.
11391         * sysdeps/unix/sysv/getdents.c: Likewise.
11392         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11394         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11395         sysdeps/unix/mman/syscalls.list.
11396         (mmap): Likewise.
11397         (mprotect): Likewise.
11398         (msync): Likewise.
11399         (munmap): Likewise.
11400         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11401         * sysdeps/unix/mman/syscalls.list: Remove.
11402         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11404         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11405         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11406         * configure: Regenerated.
11407         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11408         $(libgcc_s_suffix).
11409         * config.make.in (libgcc_s_suffix): Remove variable.
11411 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11413         * sysdeps/unix/sysv/gethostname.c: Move to ...
11414         * sysdeps/posix/gethostname.c: ... here.
11416         * sysdeps/unix/execve.S: Remove file.
11418         * sysdeps/unix/_exit.S: Remove file.
11420 2012-04-23  Andreas Jaeger  <aj@suse.de>
11422         [BZ #13739]
11423         * manual/Makefile: Remove make dist support, there's no
11424         need for a stand-alone documentation tar ball.
11425         (TEXI2DVI): Define always, it's not in Makeconfig.
11426         (dist): Removed.
11427         (tar-it): Removed.
11428         (edition): Removed.
11429         (glibc-doc-$(edition).tar): Removed
11430         (%.Z): Removed.
11431         (%.gz): Removed.
11432         (%.uu): Removed.
11433         (ETAGS): Remove, it's in Makeconfig.
11434         (move-if-change): Remove, it's in Makeconfig.
11436 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11438         [BZ #13970]
11439         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11440         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11441         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11442         (strtod_l, strtof_l, strtold_l): Remove __wur.
11443         It is not necessarily an error to ignore strtol's return value.
11444         One can reliably look at the stored endptr to decide whether
11445         the number had valid syntax.
11447 2012-04-21  Andreas Jaeger  <aj@suse.de>
11449         [BZ #13739]
11450         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11452 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11454         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11455         * sysdeps/unix/sysv/Versions: Remove file.
11457 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11459         [BZ #13927]
11460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11462 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11464         [BZ #7064]
11465         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11466         version from __vm86.
11468 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11470         * sysdeps/unix/common/lxstat.c: Remove file.
11471         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11473         * sysdeps/unix/sysv/Makefile: Remove file.
11475         * sysdeps/unix/sysv/direct.h: Remove file.
11477         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11478         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11479         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11480         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11481         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11482         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11483         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11485         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11487         * sysdeps/unix/xmknod.c: Remove file.
11488         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11490         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11492         * sysdeps/unix/sysv/i386/time.S: Remove file.
11494         * sysdeps/unix/fxstat.c: Remove file.
11495         * sysdeps/unix/xstat.c: Likewise.
11496         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11498         * sysdeps/unix/sysv/sigaction.c: Remove file.
11500         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11501         (sysdep_headers): Remove variable.
11502         [termio.h not in sysdep_headers] (generated): Likewise.
11503         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11504         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11505         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11506         * sysdeps/unix/sysv/tcflow.c: Likewise.
11507         * sysdeps/unix/sysv/tcflush.c: Likewise.
11508         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11509         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11510         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11511         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11512         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11514         * sysdeps/unix/siglist.c: Remove file.
11516         * sysdeps/unix/getppid.S: Remove file.
11518         * sysdeps/unix/mkdir.c: Remove file.
11519         * sysdeps/unix/rmdir.c: Likewise.
11521 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11523         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11524         ERR_MAX value.
11525         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11526         errlist-compat value.
11528 2012-04-18  David S. Miller  <davem@davemloft.net>
11530         * sysdeps/generic/memcopy.h (reg_char): Delete.
11531         * debug/strcat_chk.c: Use char, not reg_char.
11532         * debug/strcpy_chk.c: Likewise.
11533         * debug/strncat_chk.c: Likewise.
11534         * debug/strncpy_chk.c: Likewise.
11535         * string/memchr.c: Likewise.
11536         * string/memrchr.c: Likewise.
11537         * string/rawmemchr.c: Likewise.
11538         * string/strcat.c: Likewise.
11539         * string/strchr.c: Likewise.
11540         * string/strchrnul.c: Likewise.
11541         * string/strcmp.c: Likewise.
11542         * string/strcpy.c: Likewise.
11543         * string/strncat.c: Likewise.
11544         * string/strncmp.c: Likewise.
11545         * string/strncpy.c: Likewise.
11547 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11549         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11550         __builtin_memcopy is called when src and dest ranges are known to not
11551         overlap.
11553 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11555         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11556         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11557         fwd_align_merge macro call.
11558         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11559         bwd_align_merge macro call.
11560         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11562 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11564         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11565         bwd_align_merge macros.
11566         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11567         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11568         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11570 2012-04-18  David S. Miller  <davem@davemloft.net>
11572         * sysdeps/sparc/sparc64/memcopy.h: Delete.
11574 2012-04-18  Andreas Jaeger  <aj@suse.de>
11576         [BZ# 6794]
11577         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11578         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11579         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11581         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11582         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11583         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11585         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11586         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11587         Adjust for changed ldbl-128 files.
11589         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11590         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11591         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11593 2012-04-17  David S. Miller  <davem@davemloft.net>
11595         * sysdeps/sparc/sparc32/memcopy.h: Delete.
11597 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
11599         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11600         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11601         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11602         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11603         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11604         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11606 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11608         [BZ #6794]
11609         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11610         * math/libm-test.inc: Add ilogb errno and exception tests.
11611         * math/w_ilogb.c: New file: ilogb wrapper.
11612         * math/w_ilogbf.c: New file: ilogbf wrapper.
11613         * math/w_ilogbl.c: New file: ilogbl wrapper.
11614         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11615         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11616         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11617         exception being thrown with 0.0 as argument.
11618         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11619         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11620         exception being thrown with 0.0 as argument.
11621         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11622         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11623         exception being thrown with 0.0 as argument.
11624         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11625         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11626         exception being thrown with 0.0 as argument.
11627         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11628         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11629         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11630         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11631         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11632         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11633         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11634         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11635         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11637 2012-04-17  Petr Baudis  <pasky@ucw.cz>
11639         * include/sys/uio.h: Change __vector to __iovec to avoid clash
11640         with altivec.
11642 2012-04-16  Marek Polacek  <polacek@redhat.com>
11644         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11646 2012-04-16  Marek Polacek  <polacek@redhat.com>
11648         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11649         operands of fdivp instruction.
11651 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11653         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11654         * elf/tst-auditmod3b.c: Likewise.
11655         * elf/tst-auditmod4b.c: Likewise.
11656         * elf/tst-auditmod5b.c: Likewise.
11657         * elf/tst-auditmod6b.c: Likewise.
11658         * elf/tst-auditmod6c.c: Likewise.
11659         * elf/tst-auditmod7b.c: Likewise.
11660         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11661         * sysdeps/x86_64/preconfigure.in: Likewise.
11662         * sysdeps/x86_64/preconfigure: Regenerated.
11664 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11666         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11667         __ILP32__.
11669 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
11671         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11672         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11674 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
11676         [BZ #13973]
11677         * locale/iso-639.def: Fix gl language name. Spotted by
11678         Yaron Shahrabani.
11680 2012-04-12  Roland McGrath  <roland@hack.frob.com>
11682         [BZ #2074]
11683         * libio/libio.h (__io_write_fn): Update comment.
11685 2012-04-12  Petr Baudis  <pasky@ucw.cz>
11687         [BZ #2074]
11688         * stdio.texi (Hook Functions): The user provided writer function
11689         is not allowed to return -1.
11691 2012-04-11  David S. Miller  <davem@davemloft.net>
11693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11695 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
11697         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11698         Add a leading slash to rtkaio.
11700 2012-04-11  Jim Meyering  <meyering@redhat.com>
11702         [BZ #11959]
11703         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11704         It is not necessarily an error to ignore fwrite's return
11705         value.  One can reliably use ferror to test for errors after
11706         the fact.
11708 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11710         * bits/types.h (__snseconds_t): New type.
11711         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11713         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11715         (__SNSECONDS_T_TYPE): Likewise.
11716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11717         (__SNSECONDS_T_TYPE): Likewise.
11718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11719         (__SNSECONDS_T_TYPE): Likewise.
11721 2012-04-10  Andreas Jaeger  <aj@suse.de>
11723         [BZ #2636]
11724         * manual/time.texi (Processor Time): Return type of times is
11725         elapsed real time since an arbitrary point in the past.
11726         (CPU Time): Move CLK_TCK from here...
11727         (Processor Time): ...to here.  Correct description.
11728         * manual/conf.texi (Constants for Sysconf): Correct description of
11729         _SC_CLK_TCK.
11731 2012-04-10  David S. Miller  <davem@davemloft.net>
11733         [BZ #13967]
11734         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11735         where the is a gap between DT_REL(A) and DT_JMPREL.
11737 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11739         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11740         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11741         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11743 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11745         * elf/dl-support.c (_dl_inhibit_cache): New variable.
11746         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11747         (dl_main): Handle --inhibit-cache.
11748         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11749         _dl_inhibit_cache.
11750         * elf/dl-load.c (_dl_map_object): Use it.
11751         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11753 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11755         [BZ #13872]
11756         * sysdeps/i386/fpu/e_powl.S (p78): New object.
11757         (__ieee754_powl): Saturate large exponents rather than testing for
11758         overflow of y*log2(x).
11759         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11760         * math/libm-test.inc (pow_test): Do not permit spurious overflow
11761         exceptions.
11763         [BZ #11521]
11764         * math/s_ctan.c: Include <float.h>.
11765         (__ctan): Avoid internal overflow or cancellation in calculating
11766         denominator.
11767         * math/s_ctanf.c: Likewise.
11768         * math/s_ctanl.c: Likewise.
11769         * math/s_ctanh.c: Likewise.
11770         * math/s_ctanhf.c: Likewise.
11771         * math/s_ctanhl.c: Likewise.
11772         * math/libm-test.inc (ctan_test): Add more tests.
11773         (ctanh_test): Likewise.
11774         * sysdeps/i386/fpu/libm-test-ulps: Update.
11775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11777 2012-04-09  Andreas Jaeger  <aj@suse.de>
11779         [BZ #6894]
11780         * manual/filesys.texi (Directory Entries): Mention that d_namlen
11781         is an optional BSD extension.
11783         [BZ #10254]
11784         * manual/stdio.texi (Opening Streams): Document additional fopen
11785         parameters.
11787 2012-04-09  Roland McGrath  <roland@hack.frob.com>
11789         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11790         %eax without telling the compiler.
11792 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
11794         [BZ # 13963]
11795         * manual/install.texi: Use sourceware.org.
11797 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11799         [BZ #13873]
11800         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11801         (__ieee754_pow): Generate overflow and underflow using huge*huge
11802         and tiny*tiny rather than just returning constant infinity or zero
11803         for large exponents.
11804         * math/libm-test.inc (pow_test): Require overflow exceptions for
11805         applicable cases of large exponents.
11807         [BZ #706]
11808         * sysdeps/i386/fpu/e_pow.S (p10): New object.
11809         (__ieee754_pow): Use iterative multiplication algorithm only for
11810         integer exponents with absolute value below 1024.  Check for odd
11811         integer exponents when using algorithm for real exponents.
11812         * math/libm-test.inc (pow_test): Add more tests.
11813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11815 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
11817         [BZ #13705]
11818         * math/libm-test.inc (exp_test): Do not allow overflow exception
11819         on underflow test.
11821 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
11823         [BZ #13705]
11824         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11825         instead of __kernel_standard_f.
11827 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
11829         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11830         * sysdeps/x86_64/memset_chk.S: Likewise.
11832 2012-04-08  Andreas Jaeger  <aj@suse.de>
11834         [BZ #10153]
11835         * manual/startup.texi (Environment Access): Describe return value
11836         for putenv and setenv.
11838         [BZ #6895]
11839         * manual/filesys.texi (Directory Entries): Add description for
11840         DT_LNK.
11842         [BZ #6890]
11843         * manual/filesys.texi (Directory Entries): Clarify that it's file
11844         system not operating system in the description of DT_UNKNOWN.
11846         [BZ #6578]
11847         * manual/syslog.texi (closelog): Fix reference, it's openlog.
11849 2012-04-08  Stephen Compall  <s11@member.fsf.org>
11851         [BZ #6649]
11852         * manual/llio.texi (Opening and Closing Files): Add cross
11853         reference to explain mode argument.
11855 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
11857         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11858         * sysdeps/x86_64/memset_chk.S: Likewise.
11860 2012-04-07  David S. Miller  <davem@davemloft.net>
11862         * elf/elf.h (R_SPARC_WDISP10): Define.
11863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11864         R_SPARC_SIZE32.
11865         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11866         R_SPARC_SIZE64 and R_SPARC_H34.
11868 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
11870         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11871         conditions and remove no longer applicable assertion.
11873 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11875         * bits/byteswap.h: Include <features.h>.
11876         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11877         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11879 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11881         * bits/byteswap.h (__bswap_16): Removed.
11882         Include <bits/byteswap-16.h> to get __bswap_16.
11883         * sysdeps/i386/bits/byteswap.h: Likewise.
11884         * sysdeps/s390/bits/byteswap.h: Likewise.
11885         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11886         * bits/byteswap-16.h: New file.
11887         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11888         * sysdeps/s390/bits/byteswap-16.h: Likewise.
11889         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11890         * string/Makefile (headers): Add bits/byteswap-16.h.
11892 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11894         [BZ #13895]
11895         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11896         extra indirection.
11897         * nss/Makefile (tests-static, tests): Add tst-nss-static.
11898         * nss/tst-nss-static.c: New.
11900 2012-04-06  Robert Millan  <rmh@gnu.org>
11902         [BZ #6486]
11903         * manual/llio.texi (File Position Primitive): lseek
11904         refers to WHENCE when it really means OFFSET.
11906 2012-04-06  Andreas Jaeger  <aj@suse.de>
11908         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11909         strncmp declarations.
11911         * abilist/libc.abilist: Add __poll and __ppoll.
11913 2012-04-05  David S. Miller  <davem@davemloft.net>
11915         * scripts/check-local-headers.sh: Accept a host triplet in the
11916         path matched by the exclude regexp.
11918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11919         definition.
11920         * sysdeps/powerpc/powerpc32/dl-machine.h
11921         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11922         * sysdeps/s390/s390-32/dl-machine.h
11923         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11924         * sysdeps/sparc/sparc32/dl-machine.h
11925         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11926         * sysdeps/sparc/sparc64/dl-machine.h
11927         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11929         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11930         lazy binding.
11931         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11932         undefined symbol errors.
11934         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11935         DT_NEEDED entries.
11937 2012-04-05  Michael Matz  <matz@suse.de>
11939         [BZ #13592]
11940         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11942 2012-04-05  Andreas Jaeger  <aj@suse.de>
11944         [BZ #13908]
11945         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11946         comment.
11948 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11950         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11951         which ROUND is no valid rounding mode.
11953 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11955         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11956         read again.
11957         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11959 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11961         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11962         an exception using FPU order intentionally.
11964 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11966         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11967         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11968         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11969         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11971 2012-04-05  Simon Josefsson  <simon@josefsson.org>
11973         [BZ #12340]
11974         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11975         EINVAL when BUFLEN is too smal.
11977 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11979         [BZ #13553]
11980         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11981         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11983 2012-04-03  Andreas Jaeger  <aj@suse.de>
11985         [BZ #13938]
11986         * manual/setjmp.texi (System V contexts): Fix sentence.
11988         [BZ #13926]
11989         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11990         New macro for this case.
11991         [!__GNUC__] (__bswap_64): New inline function for this case.
11992         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11993         * bits/byteswap.h: Likewise.
11994         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11995         ull, guard with __GLIBC_HAVE_LONG_LONG.
11997         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11998         __GLIBC_HAVE_LONG_LONG.
12000         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12001         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12003 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12005         [BZ #13691]
12006         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12007         inptr and inend, rather than using last_ch.
12009 2012-04-02  David S. Miller  <davem@davemloft.net>
12011         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12012         * stdio-common/printf-parse.h (read_int): Change return type to
12013         'int', return -1 on INT_MAX overflow.
12014         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12015         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12016         overflows INT_MAX.  Check for overflow of in-format-string precision
12017         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12018         SIZE_MAX not INT_MAX for integer overflow test.
12019         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12020         skip the construct in the format string but do not record anything.
12021         * stdio-common/bug22.c: Adjust to test both width/prevision
12022         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12023         explicitly for proper errno values.
12025 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12027         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12028         CHAR_MAX.
12029         * string/test-strcmp.c [! WIDE]: Likewise.
12030         * time/tst-mktime2.c: Likewise for INT_MAX.
12031         * string/test-string.h: #include <sys/param.h> for MIN.
12033         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12034         * sysdeps/i386/init-first.c (init): Likewise.
12035         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12036         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12037         * sysdeps/sh/init-first.c (init): Likewise.
12039 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12041         * po/ru.po: Update from translation team.
12042         * po/vi.po: Likewise.
12044 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12046         * resolv/nss_dns/dns-host.c: Merge copyright years.
12048 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12050         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12051         Optimize memcpy with prefetch if
12052         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12053         src, dst pointers have unequal 16 byte alignments.
12055 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12057         [BZ #13928]
12058         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12059         from a CNAME entry and return the minimum ttl for the query.
12060         (gaih_getanswer_slice): Likewise.
12062 2012-03-30  Jeff Law  <law@redhat.com>
12064         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12065         due to long keys.
12066         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12067         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12069         * resolv/nss_dns/dns-host.c: Update copyright year.
12071 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12073         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12074         requests to save a system call.  Fix check that all bytes are sent.
12076         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12077         comments for sendmmsg.
12079 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12081         [BZ #13691]
12082         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12083         with only 1 character between 0x0041 and 0x01b0.
12084         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12085         * wcsmbs/tst-mbsnrtowcs.c: New file.
12087 2012-03-29  David S. Miller  <davem@davemloft.net>
12089         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12090         small copies by hand.
12092 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12094         [BZ #13761]
12095         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12096         _nss_compat_initgroups_dyn): Fall back to malloc/free
12097         for large group memberships.
12099 2012-03-28  David S. Miller  <davem@davemloft.net>
12101         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12102         that branches into memcpy.
12103         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12106         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12107         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12108         bits.
12109         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12110         implementation too.
12111         * sysdeps/sparc/mempcpy.S: New file.
12113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12114         the IFUNC routine in the libc case.
12115         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12117         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12118         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12119         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12120         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12121         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12122         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12123         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12124         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12126         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12127         loop to 256 bytes instead of 64 bytes and fix test signedness.
12129         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12130         * sysdeps/sparc/sparc32/Makefile: rather than here...
12131         * sysdeps/sparc/sparc64/Makefile: and here.
12133 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12135         * malloc/mallocbug.c: Avoid warnings about unused variables.
12137 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12139         [BZ #13760]
12140         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12141         in the right place. Discard and retry query if response is
12142         larger than input buffer size.
12144 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12146         [BZ #369]
12147         [BZ #2678]
12148         [BZ #3866]
12149         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12150         x for large integer exponent.
12151         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12152         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12153         sign of result as needed afterwards.
12154         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12155         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12156         result for underflowing pow the same as for overflow.
12157         (__kernel_standard_l): Handle powl overflow and underflow here
12158         rather than calling __kernel_standard.
12159         * math/libm-test.inc (pow_test): Add more tests.
12161         [BZ #3868]
12162         [BZ #13879]
12163         [BZ #13910]
12164         [BZ #13911]
12165         [BZ #13912]
12166         [BZ #13913]
12167         [BZ #13915]
12168         [BZ #13916]
12169         [BZ #13917]
12170         [BZ #13918]
12171         [BZ #13919]
12172         [BZ #13920]
12173         [BZ #13921]
12174         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12175         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12176         (__kernel_standard_l): New function.
12177         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12178         __kernel_standard.
12179         * math/w_acosl.c (__acosl): Likewise.
12180         * math/w_asinl.c (__asinl): Likewise.
12181         * math/w_atan2l.c (__atan2l): Likewise.
12182         * math/w_atanhl.c (__atanhl): Likewise.
12183         * math/w_coshl.c (__coshl): Likewise.
12184         * math/w_exp10l.c (__exp10l): Likewise.
12185         * math/w_exp2l.c (__exp2l): Likewise.
12186         * math/w_fmodl.c (__fmodl): Likewise.
12187         * math/w_hypotl.c (__hypotl): Likewise.
12188         * math/w_j0l.c (__j0l, __y0l): Likewise.
12189         * math/w_j1l.c (__j1l, __y1l): Likewise.
12190         * math/w_jnl.c (__jnl, __ynl): Likewise.
12191         * math/w_lgammal.c (__lgammal): Likewise.
12192         * math/w_log10l.c (__log10l): Likewise.
12193         * math/w_log2l.c (__log2l): Likewise.
12194         * math/w_logl.c (__logl): Likewise.
12195         * math/w_powl.c (__powl): Likewise.
12196         * math/w_remainderl.c (__remainderl): Likewise.
12197         * math/w_scalbl.c (sysv_scalbl): Likewise.
12198         * math/w_sinhl.c (__sinhl): Likewise.
12199         * math/w_sqrtl.c (__sqrtl): Likewise.
12200         * math/w_tgammal.c (__tgammal): Likewise.
12201         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12202         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12203         * math/libm-test.inc (acos_test): Add more tests.
12204         (acosh_test): Likewise.
12205         (asin_test): Likewise.
12206         (atanh_test): Likewise.
12207         (exp_test): Likewise.
12208         (exp10_test): Likewise.
12209         (exp2_test): Likewise.
12210         (expm1_test): Likewise.
12211         (lgamma_test): Likewise.
12212         (log_test): Likewise.
12213         (log10_test): Likewise.
12214         (log1p_test): Likewise.
12215         (log2_test): Likewise.
12216         (pow_test): Do not allow some spurious overflow exceptions.
12217         (sqrt_test): Add more tests.
12218         (tgamma_test): Likewise.
12219         (y0_test): Likewise.
12220         (y1_test): Likewise.
12221         (yn_test): Likewise.
12223 2012-03-27  Anton Blanchard  <anton@samba.org>
12225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12226         MAP_HUGETLB.
12227         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12228         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12229         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12231 2012-03-27  David S. Miller  <davem@davemloft.net>
12233         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12235         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12236         have-as-vis3 check.
12238 2012-03-27  Andreas Jaeger  <aj@suse.de>
12240         * sysdeps/x86_64/elf/configure.in: Moved to ...
12241         * sysdeps/x86_64/configure.in: ... here.
12242         * sysdeps/x86_64/elf/start.S: Moved to ...
12243         * sysdeps/x86_64/start.S: ... here.
12244         * sysdeps/x86_64/elf/configure: Delete.
12246         * sysdeps/x86_64/configure.in: Merge contents from
12247         sysdeps/i386/configure.in (without i686 check).
12249         * sysdeps/i386/elf/Versions: Merge into ...
12250         * sysdeps/i386/Versions: ... this.
12251         * sysdeps/i386/elf/Versions: Delete file.
12252         * sysdeps/i386/elf/start.S: Moved to ...
12253         * sysdeps/i386/start.S: ...here.
12254         * sysdeps/i386/elf/configure.in: Merge into...
12255         * sysdeps/i386/configure.in: ...here.
12256         * sysdeps/i386/elf/configure.in: Delete file.
12257         * sysdeps/i386/elf/configure: Delete file.
12259         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12260         * debug/backtracesyms.c: ... here.
12261         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12262         * debug/backtracesymsfd.c: ... here.
12263         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12264         * sysdeps/generic/ifunc-sel.h: ... here.
12266         * sysdeps/unix/i386/start.c: Delete file.
12267         * sysdeps/unix/sparc/start.c: Delete file.
12268         * sysdeps/unix/start.c: Delete file.
12270         * sysdeps/sh/elf/configure.in: Moved to ...
12271         * sysdeps/sh/configure.in: ... here.
12272         * sysdeps/sh/elf/start.S: Moved to ...
12273         * sysdeps/sh/start.S: ... here.
12274         * sysdeps/sh/elf/configure: Delete file.
12276         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12277         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12278         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12279         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12280         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12281         * sysdeps/powerpc/powerpc64/start.S: here.
12282         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12283         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12284         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12285         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12286         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12288         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12289         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12290         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12291         * sysdeps/powerpc/powerpc32/start.S: ... here.
12292         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12293         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12294         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12296         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12297         * sysdeps/powerpc/ifunc-sel.h: ... here.
12298         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12299         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12301         * sysdeps/sparc/elf/configure.in: Moved to ...
12302         * sysdeps/sparc/configure.in: ... here.
12303         * sysdeps/sparc/elf/configure: Delete file.
12304         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12305         * sysdeps/sparc/sparc32/start.S: ... here.
12306         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12307         * sysdeps/sparc/sparc64/start.S: ... here.
12308         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12309         * sysdeps/sparc/sparc32/Makefile: ... this.
12310         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12311         * sysdeps/sparc/sparc64/Makefile: ... this.
12313         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12314         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12315         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12316         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12317         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12318         * sysdeps/s390/s390-32/setjmp.S: ... here.
12319         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12320         * sysdeps/s390/s390-32/configure.in: ... here.
12321         * sysdeps/s390/s390-32/elf/configure: Delete file.
12322         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12323         * sysdeps/s390/s390-32/start.S: ... here.
12325         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12326         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12327         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12328         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12329         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12330         * sysdeps/s390/s390-64/setjmp.S: ... here.
12331         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12332         * sysdeps/s390/s390-64/configure.in: ... here
12333         * sysdeps/s390/s390-64/elf/configure: Delete file.
12334         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12335         * sysdeps/s390/s390-64/start.S: ... here.
12336         * sysdeps/s390/s390-64/elf/configure: Delete.
12338         * configure.in: Remove support for elf directories in sysdeps.
12340         * configure: Regenerated.
12341         * sysdeps/i386/configure: Regenerated.
12342         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12343         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12344         * sysdeps/s390/s390-32/configure: Regenerated.
12345         * sysdeps/s390/s390-64/configure: Regenerated.
12346         * sysdeps/sh/configure: Regenerated.
12347         * sysdeps/sparc/configure: Regenerated.
12348         * sysdeps/x86_64/configure: Regenerated.
12350 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12355         denormal result into account.
12357 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12359         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12360         Reported by Allan McRae <allan@archlinux.org>.
12362 2012-03-23  Jeff Law  <law@redhat.com>
12364         * nss/getnssent.c (__nss_getent): Fix typo.
12366 2012-03-23  David S. Miller  <davem@davemloft.net>
12368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12370 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12372         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12373         to pad to uint64_t for each field.
12374         (dl_tls_index): Replace unsigned long with uint64_t.
12376 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12377         Paul Pluzhnikov  <ppluzhnikov@google.com>
12379         [BZ #6528]
12380         * grp/Makefile (otherlibs): Don't set it.
12381         * inet/Makefile (otherlibs): Likewise.
12382         * login/Makefile (otherlibs): Likewise.
12383         * nscd/Makefile (otherlibs): Likewise.
12384         * posix/Makefile (otherlibs): Likewise.
12385         * pwd/Makefile (otherlibs): Likewise.
12386         * rt/Makefile (otherlibs): Likewise.
12387         * sunrpc/Makefile (otherlibs): Likewise.
12388         * nss/Makefile (otherlibs): Likewise.
12389         Add libnss_files to routines and static-only-routines.
12390         ($(objpfx)getent): Remove rule.
12391         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12392         static-only-routines.
12394 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12396         [BZ #13892]
12397         * math/s_cexp.c: Include <float.h>.
12398         (__cexp): Handle exp result overflowing not necessarily
12399         overflowing both real and imaginary parts of result.
12400         * math/s_cexpf.c: Likewise.
12401         * math/s_cexpl.c: Likewise.
12402         * math/libm-test.inc (cexp_test): Add more tests.
12403         * sysdeps/i386/fpu/libm-test-ulps: Update.
12404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12406 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12408         * include/link.h (ELFW): New macro.
12409         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12410         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12412 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12414         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12415         with uint64_t.
12417 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12419         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12420         declaration.
12421         (struct La_x32_retval): Likewise.
12423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12425         * sysdeps/x86_64/preconfigure.in: New file.
12426         * sysdeps/x86_64/preconfigure: New generated file.
12428 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12430         [BZ #13824]
12431         * math/e_exp2l.c: Include <float.h>.
12432         (__ieee754_exp2l): Handle overflow and underflow cases
12433         separately.  Only pass fractional part of argument to
12434         __ieee754_expl.
12435         * math/libm-test.inc (exp2_test): Add more tests.
12437         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12438         negating x to take absolute value.
12439         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12440         Likewise.
12441         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12442         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12443         Likewise.
12444         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12445         computing low part if x was negated.
12446         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12448 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12450         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12451         la_x32_gnu_pltexit.
12452         (pltexit): Cast int_retval to ptrdiff_t.
12453         * elf/tst-auditmod3b.c: Likewise.
12454         * elf/tst-auditmod4b.c: Likewise.
12455         * elf/tst-auditmod5b.c: Likewise.
12456         * elf/tst-auditmod6b.c: Likewise.
12457         * elf/tst-auditmod6c.c: Likewise.
12458         * elf/tst-auditmod7b.c: Likewise.
12460         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12461         and x32_gnu_pltexit.
12463         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12464         __ELF_NATIVE_CLASS.
12465         (La_x32_regs): New macro.
12466         (La_x32_retval): Likewise.
12467         (la_x32_gnu_pltenter): New function prototype.
12468         (la_x32_gnu_pltexit): Likewise.
12470 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12472         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12473         exponent.
12475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12477         * configure.in (libc_cv_cc_nofma): Check for option to disable
12478         generation of FMA instructions.
12479         * configure: Regenerate.
12480         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12481         * sysdeps/ieee754/dbl-64/Makefile: New file.
12482         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12483         Remove brandred-fma4.
12484         (CFLAGS-brandred-fma4.c): Remove.
12485         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12486         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12487         define.
12488         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12489         define.
12491 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12493         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12494         LLONG_MAX != LONG_MAX.
12495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12496         (_fitoa_word): Likewise.
12497         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12498         LLONG_MAX != LONG_MAX.
12499         * stdio-common/_itowa.h: Include <_itoa.h>.
12500         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12501         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12502         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12503         only if not defined.
12504         (_ITOA_WORD_TYPE): Likewise.
12505         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12506         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12508 2012-03-21  David S. Miller  <davem@davemloft.net>
12510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12512 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12514         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12515         of x86_64 when setting libc_cv_slibdir, libdir and
12516         libc_cv_localedir.
12517         * sysdeps/unix/sysv/linux/configure: Regenerated.
12519 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12521         * manual/lang.texi (Old Varargs): Remove section.
12522         (How Variadic): Update menu.
12523         (va_start): Do not mention varargs.h.
12525 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12526             Joseph Myers  <joseph@codesourcery.com>
12528         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12529         link test.
12530         * configure: Regenerated.
12532 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12534         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12535         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12536         conformtest.pl
12538 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12540         * NOTES: Remove.
12541         * Makefile (files-for-dist): Remove NOTES.
12542         (NOTES): Remove rule.
12543         * README: Don't refer to NOTES.
12544         * manual/creature.texi: Don't include macros.texi.
12545         * manual/intro.texi (creature.texi): Remove comment referring to
12546         NOTES.
12548         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12549         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12550         * configure: Regenerated.
12551         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12552         LIBC_TRY_CC_OPTION.
12553         (libc_cv_as_i686): Likewise.
12554         (libc_cv_cc_avx): Likewise.
12555         (libc_cv_cc_sse2avx): Likewise.
12556         (libc_cv_cc_fma4): Likewise.
12557         (libc_cv_cc_novzeroupper): Likewise.
12558         * sysdeps/i386/configure: Regenerated.
12560         [BZ #13883]
12561         * sysdeps/i386/fpu/s_cexp.S: Remove.
12562         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12563         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12564         * math/libm-test.inc (cexp_test): Add more tests.
12565         * sysdeps/i386/fpu/libm-test-ulps: Update.
12566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12568 2012-03-21  Allan McRae  <allan@archlinux.org>
12570         * timezone/Makefile: Do not install iso3166.tab and zone.tab
12572 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12574         [BZ #13871]
12575         * math/w_exp2.c: Do not include <float.h>.
12576         (o_threshold, u_threshold): Remove.
12577         (__exp2): Calculate result before checking finiteness and calling
12578         __kernel_standard.
12579         * math/w_exp2f.c: Likewise.
12580         * math/w_exp2l.c: Likewise.
12581         * math/libm-test.inc (exp2_test): Require overflow exception for
12582         1e6 input.
12584         [BZ #3866]
12585         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12586         range of signed 64-bit integers before using fistpll.  Remove
12587         checks for whether integers fit in mantissa bits.
12588         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12589         the range of signed 32-bit integers before using fistpl.  Remove
12590         checks for whether integers fit in mantissa bits.
12591         * sysdeps/i386/fpu/e_powl.S (p64): New object.
12592         (__ieee754_powl): Test for y outside the range of signed 64-bit
12593         integers before using fistpll.  Reduce 64-bit values to 63-bit
12594         ones as needed.
12595         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12596         divide-by-zero is raised for zero to large negative powers.
12597         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12598         (__ieee754_powl): Test for y outside the range of signed 64-bit
12599         integers before using fistpll.  Reduce 64-bit values to 63-bit
12600         ones as needed.
12601         * math/libm-test.inc (pow_test): Add more tests.
12603 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12605         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12606         <stdio-common/_itoa.h>.
12607         * debug/segfault.c: Likewise.
12608         * elf/dl-cache.c: Likewise.
12609         * elf/dl-minimal.c: Likewise.
12610         * elf/dl-misc.c: Likewise.
12611         * elf/dl-sysdep.c: Likewise.
12612         * elf/dl-version.c: Likewise.
12613         * elf/rtld.c: Likewise.
12614         * hurd/hurdsock.c: Likewise.
12615         * hurd/lookup-retry.c: Likewise.
12616         * malloc/malloc.c: Likewise.
12617         * malloc/mtrace.c: Likewise.
12618         * nscd/nscd_getgr_r.c: Likewise.
12619         * nscd/nscd_getpw_r.c: Likewise.
12620         * nscd/nscd_getserv_r.c: Likewise.
12621         * posix/getopt_init.c: Likewise.
12622         * posix/wordexp.c: Likewise.
12623         * stdio-common/_itoa.c: Likewise.
12624         * stdio-common/printf_fphex.c: Likewise.
12625         * stdio-common/vfprintf.c: Likewise.
12626         * string/_strerror.c: Likewise.
12627         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12628         * sysdeps/i386/i686/hp-timing.h: Likewise.
12629         * sysdeps/mach/_strerror.c: Likewise.
12630         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12631         * sysdeps/mach/hurd/sethostid.c: Likewise.
12632         * sysdeps/mach/hurd/xmknodat.c: Likewise.
12633         * sysdeps/mach/xpg-strerror.c: Likewise.
12634         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12636         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12637         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12638         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12639         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12640         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12641         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12642         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12643         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12644         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12645         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12646         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12647         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12648         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12649         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12650         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12651         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12652         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12653         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12654         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12656         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12658         * stdio-common/_itoa.h: Moved to ...
12659         * sysdeps/generic/_itoa.h: Here.
12661         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12663         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12664         instead of "_itoa.h" and "_itowa.h".
12665         * stdio-common/vfprintf.: Likewise.
12667 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12669         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12670         <bits/wordsize.h>.
12671         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12672         (__signbit): Likwise.
12673         (llrintf): Likwise.
12674         (llrint): Likwise.
12676 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12678         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12679         __WORDSIZE != 64.
12681 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
12683         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12684         OVERFLOW_EXCEPTION_OK.
12685         * math/libm-test.inc ("Philosophy"): Update comment about
12686         exception testing.
12687         (OVERFLOW_EXCEPTION): Define.
12688         (OVERFLOW_EXCEPTION_OK): Likewise.
12689         (INVALID_EXCEPTION_OK): Renumber.
12690         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12691         (IGNORE_ZERO_INF_SIGN): Likewise.
12692         (test_exceptions): Handle FE_OVERFLOW.
12693         (exp10_test): Expect overflow exceptions.
12694         (exp2_test): Likewise.
12695         (expm1_test): Likewise.
12696         (nextafter_test): Likewise.
12697         (pow_test): Likewise.
12698         (scalbn_test): Likewise.
12699         (scalbln_test): Likewise.
12701 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12703         * sysdeps/x86_64/bits/atomic.h
12704         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12705         64bit integer.
12706         (atomic_exchange_acq): Likewise.
12707         (__arch_exchange_and_add_body): Likewise.
12708         (__arch_add_body): Likewise.
12709         (atomic_add_negative): Likewise.
12710         (atomic_add_zero): Likewise.
12712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12714         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12715         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12717 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12719         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12720         Check __x86_64__ instead of __WORDSIZE.
12722 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12724         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12726 2012-03-19  David S. Miller  <davem@davemloft.net>
12728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12730         * sysdeps/sparc/fpu/fenv_private.h: New file.
12731         * sysdeps/sparc/fpu/math_private.h: Use it.
12732         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12733         Remove.
12734         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12735         (libc_feholdexcept_setroundl): Remove.
12736         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12737         Remove.
12738         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12739         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12741 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12743         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12744         int64_t instead of long int.
12745         (INSERT_WORDS64): Likwise.
12747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12749         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12750         _Unwind_GetCFA return to _Unwind_Ptr first.
12752 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
12754         [BZ #13629]
12755         * math/s_clog.c: Include <float.h>.
12756         (__clog): Scale large or subnormal inputs.
12757         * math/s_clogf.c: Likewise.
12758         * math/s_clogl.c: Likewise.
12759         * math/s_clog10.c: Include <float.h>.
12760         (M_LOG10_2): Define.
12761         (__clog10): Scale large or subnormal inputs.
12762         * math/s_clog10f.c: Likewise.
12763         * math/s_clog10l.c: Likewise.
12764         * math/libm-test.inc (clog_test): Add more tests.
12765         (clog10_test): Likewise.
12766         * sysdeps/i386/fpu/libm-test-ulps: Update.
12767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12769         [BZ #11451]
12770         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12771         x and y.
12772         * math/libm-test.inc (atan2_test): Add another test.
12774         * Makerules (common-objdir-compile): Remove.
12775         * sysdeps/unix/Makefile (config-generated): Do not add
12776         $(unix-generated) to variable.
12777         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12778         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12779         Remove rule.
12780         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12781         Likewise.
12782         [generic bits/local_lim.h] (before-compile): Do not append to
12783         variable.
12784         [generic bits/local_lim.h] (common-generated): Likewise.
12785         [generic sys/param.h] (before-compile): Do not append to variable.
12786         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12787         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12788         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12789         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12790         include.
12791         [generic sys/param.h] (sys/param.h-includes): Remove variable.
12792         [generic sys/param.h] (sys/param.h-includes): Remove rule.
12793         [generic sys/param.h] ($(addprefix
12794         $(common-objpfx),$(sys/param.h-includes))): Likewise.
12795         [generic sys/param.h] (common-generated): Do not append to
12796         variable.
12797         [generic sys/param.h] (sysdep_headers): Likewise.
12798         [generic bits/errno.h] (before-compile): Do not append to
12799         variable.
12800         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12801         rule.
12802         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12803         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12804         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12805         [generic bits/errno.h] (common-generated): Do not append to
12806         variable.
12807         [generic bits/ioctls.h] (before-compile): Do not append to
12808         variable.
12809         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12810         rule.
12811         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12812         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12813         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12814         rule.
12815         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12816         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12817         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12818         [generic bits/ioctls.h] (common-generated): Do not append to
12819         variable.
12820         [generic sys/syscall.h] (syscall.h): Remove variable.
12821         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12822         rule.
12823         [generic sys/syscall.h] (before-compile): Do not append to
12824         variable.
12825         [generic sys/syscall.h] (common-generated): Likewise.
12826         * sysdeps/unix/errnos-tmpl.c: Remove file.
12827         * sysdeps/unix/errnos.awk: Likewise.
12828         * sysdeps/unix/ioctls-tmpl.c: Likewise.
12829         * sysdeps/unix/ioctls.awk: Likewise.
12830         * sysdeps/unix/mk-local_lim.c: Likewise.
12831         * sysdeps/unix/snarf-ioctls: Likewise.
12833 2012-03-19  Richard Henderson  <rth@twiddle.net>
12835         * sysdeps/i386/fpu/fenv_private.h: New file.
12836         * sysdeps/i386/fpu/math_private.h: Use it.
12837         (math_opt_barrier, math_force_eval): Remove.
12838         (libc_feholdexcept_setround_53bit): Remove.
12839         (libc_feupdateenv_53bit): Remove.
12840         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12841         (math_opt_barrier, math_force_eval): Remove.
12842         (libc_feholdexcept): Remove.
12843         (libc_feholdexcept_setround): Remove.
12844         (libc_fetestexcept, libc_fesetenv): Remove.
12845         (libc_feupdateenv_test): Remove.
12846         (libc_feupdateenv, libc_feholdsetround): Remove.
12847         (libc_feresetround): Remove.
12849         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12850         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12852         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12853         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12854         (libc_feupdateenv_testl): New.
12855         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12856         (libc_feupdateenv_testf): New.
12857         (libc_feupdateenv): Use libc_feupdateenv_test.
12858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12859         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12861         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12862         (libc_feholdsetroundf, libc_feholdsetroundl): New.
12863         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12864         (libc_feresetround_noex): New.
12865         (libc_feresetround_noexf): New.
12866         (libc_feresetround_noexl): New.
12867         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12868         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12869         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12870         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12871         SET_RESTORE_ROUND.
12872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12874         (__cos): Likewise.
12875         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12876         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12877         SET_RESTORE_ROUND_NOEX.
12878         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12879         SET_RESTORE_ROUND_NOEXF.
12880         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12881         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12882         (libc_feholdsetroundf): New.
12883         (libc_feresetround, libc_feresetroundf): New.
12885         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12886         (libc_feholdexcept_setround_53bit): Convert from macro to function.
12887         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
12889         * sysdeps/generic/math_private.h: Include <fenv.h>.
12890         (default_libc_feholdexcept): New.
12891         (default_libc_feholdexcept_setround): New.
12892         (default_libc_fesetenv, default_libc_feupdateenv): New.
12893         (libc_feholdexcept): Only define if undefined.
12894         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12895         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12896         (libc_feholdexcept_setroundl): Likewise.
12897         (libc_feholdexcept_setround_53bit): Likewise.
12898         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12899         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12900         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12901         (libc_feupdateenv_53bit): Likewise.
12902         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12903         (libc_feholdexcept): Convert from macro to inline function.
12904         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12905         (libc_fesetenv, libc_feupdateenv): Likewise.
12907         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12908         not previously defined.
12909         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12910         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12911         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12912         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12913         * sysdeps/ieee754/flt-32/math_private.h: New file.
12914         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12915         math_private.h below SET_FLOAT_WORD.
12916         (__isnan, __isinf_ns, __finite): Remove.
12917         (__isnanf, __isinf_nsf, __finitef): Remove.
12919 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
12921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12923 2012-03-17  David S. Miller  <davem@davemloft.net>
12925         [BZ #6471]
12926         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12927         for 2.16.
12929 2012-03-16  David S. Miller  <davem@davemloft.net>
12931         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12932         warnings.
12934         [BZ #6471]
12935         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12936         properly.
12937         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12938         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12939         sysdep_routines when subdir is sysvipc.
12940         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12941         __getshmlba helper.
12943         * sysdeps/sparc/fpu/libm-test/ulps: Update.
12945 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12947         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12948         [__LP64__].
12950 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12952         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12953         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12954         (__lround): Renamed to ...
12955         (__llround): This.  Replace long int with long long int.
12956         Define lround functions as aliases of llround functions.
12957         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12959 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12961         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12962         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
12963         adresses to uintptr_t.  Replace "long int" and "unsigned long
12964         int" with "greg_t" on va_arg.
12966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12968         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12969         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12971         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12972         Move e_machine check before EI_CLASS check.  Handle x32
12973         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12974         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12975         SKIP_EM_IA_64 and include
12976         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12978         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12979         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12980         (add_system_dir): New macro.
12982         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12983         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12985 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
12987         [BZ #2551]
12988         [BZ #2552]
12989         [BZ #2553]
12990         [BZ #2554]
12991         [BZ #2562]
12992         [BZ #2563]
12993         [BZ #2565]
12994         [BZ #2566]
12995         [BZ #2576]
12996         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12997         (y0): Likewise.
12998         * math/w_j0f.c (j0f): Likewise.
12999         (y0f): Likewise.
13000         * math/w_j0l.c (__j0l): Likewise.
13001         (__y0l): Likewise.
13002         * math/w_j1.c (j1): Likewise.
13003         (y1): Likewise.
13004         * math/w_j1f.c (j1f): Likewise.
13005         (y1f): Likewise.
13006         * math/w_j1l.c (__j1l): Likewise.
13007         (__y1l): Likewise.
13008         * math/w_jn.c (jn): Likewise.
13009         (yn): Likewise.
13010         * math/w_jnf.c (jnf): Likewise.
13011         (ynf): Likewise.
13012         * math/w_jnl.c (__jnl): Likewise.
13013         (__ynl): Likewise.
13014         * math/libm-test.inc (j0_test): Add more tests.
13015         (j1_test): Likewise.
13016         (jn_test): Likewise.  Add trailing semicolon to existing test.
13017         (y0_test): Likewise.
13018         (y1_test): Likewise.
13019         * sysdeps/i386/fpu/libm-test-ulps: Update.
13020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13022         [BZ #13851]
13023         [BZ #13854]
13024         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13025         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13026         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13027         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13028         (__tanl): Set errno for infinite argument.
13029         * sysdeps/i386/fpu/mptan.c: Remove.
13030         * sysdeps/i386/fpu/s_tan.S: Likewise.
13031         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13032         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13033         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13034         * math/libm-test.inc (tan_test): Add more tests and enable more
13035         tests for double and long double.
13036         * sysdeps/i386/fpu/libm-test-ulps: Update.
13037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13039 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13041         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13042         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13044 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13046         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13047         * configure.in: Use it for both main tree and add-ons.
13048         * configure: Regenerated.
13050 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13052         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13054 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13056         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13057         in comment.
13059         [BZ #13851]
13060         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13061         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13062         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13063         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13064         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13065         infinite argument.
13066         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13067         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13068         != 0 for prec == 2.
13069         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13070         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13071         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13072         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13073         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13074         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13075         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13076         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13077         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13078         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13079         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13080         * math/libm-test.inc (cos_test): Add more tests and enable more
13081         tests for long double.
13082         (sin_test): Likewise.
13083         (sincos_test): Likewise.
13084         * sysdeps/i386/fpu/libm-test-ulps: Update.
13085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13087 2012-03-16  David S. Miller  <davem@davemloft.net>
13089         * sysdeps/sparc/fpu/math_private.h: New file.
13091 2012-03-15  David S. Miller  <davem@davemloft.net>
13093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13094         file.
13095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13097         file.
13098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13103         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13104         sysdep routines.
13105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13107         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13108         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13110         * sysdeps/sparc/sparc-ifunc.h: New file.
13111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13112         sparc-ifunc.h
13113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13115         Likewise.
13116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13117         Likewise.
13118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13122         Likewise.
13123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13128         Likewise.
13129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13130         Likewise.
13131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13138         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13149         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13150         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13151         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13152         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13154         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13156 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13158         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13159         scaling.
13160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13162 2012-03-15  Andreas Jaeger  <aj@suse.de>
13164         [BZ #13852]
13165         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13166         ieee754/flt-32 implementation for sin, cos and sincos.
13167         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13168         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13169         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13170         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13171         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13172         ieee754/flt-32 implementation for tan.
13174         * math/libm-test.inc (cos_test): Enable some large input tests for
13175         float as well
13176         (sin_test): Likewise.
13177         (sincos_test): Likewise.
13178         (tan_test): Add tests for large input.
13180         * sysdeps/i386/fpu/libm-test-ulps: Update.
13182 2012-03-15  Andreas Jaeger  <aj@suse.de>
13184         [BZ #13658]
13185         * math/libm-test.inc (cos_test): Add more test cases.
13186         (sin_test): Likewise.
13187         (sincos_test): Likewise.
13189 2012-03-15  Andreas Jaeger  <aj@suse.de>
13191         [BZ #13837]
13192         * math/libm-test.inc (cos_test): Add a test case for large input
13193         value.
13194         (sin_test): Likewise.
13195         (sincos_test): Likewise.
13197 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13198         Joseph Myers  <joseph@codesourcery.com>
13200         [BZ #13658]
13201         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13202         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13203         * sysdeps/i386/fpu/branred.c: Likewise.
13204         * sysdeps/i386/fpu/dosincos.c: Likewise.
13205         * sysdeps/i386/fpu/mpa.c: Likewise.
13206         * sysdeps/i386/fpu/s_cos.S: Likewise.
13207         * sysdeps/i386/fpu/s_sin.S: Likewise.
13208         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13209         * sysdeps/i386/fpu/sincos32.c: Likewise.
13211         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13212         Define.
13213         (libc_feupdateenv_53bit): Define.
13214         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13215         Define.
13216         (libc_feupdateenv_53bit): Define.
13218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13219         53 bit (without extend i386 double precision).
13221         * math/libm-test.inc (sincos_test): Add tests for large input.
13222         (sin): Likewise.
13223         (cos): Likewise.
13225         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13227 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13231 2012-03-15  David S. Miller  <davem@davemloft.net>
13233         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13234         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13235         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13236         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13249         file.
13250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13252         file.
13253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13255         file.
13256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13258         file.
13259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13260         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13261         fmin/fmax sysdep routines.
13262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13264 2012-03-14  David S. Miller  <davem@davemloft.net>
13266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13272         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13273         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13277         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13288         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13290         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13293         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13294         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13295         routines.
13296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13297         file.
13298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13300         file.
13301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13303         file.
13304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13306         file.
13307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13309         file.
13310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13312         file.
13313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13314         file.
13315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13316         file.
13317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13318         file.
13319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13320         New file.
13321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13322         file.
13323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13324         file.
13325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13327         file.
13328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13330         file.
13331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13333         file.
13334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13336         VIS3 routines.
13338         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13339         New file.
13341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13343         * sysdeps/sparc/configure.in: New file.
13344         * sysdeps/sparc/configure: Generate.
13345         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13346         * configure: Regenerate.
13347         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13348         * config.make.in (have-as-vis3): New.
13349         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13350         available use -Av9d instead of -Av9a.
13351         * sysdeps/sparc/sparc64/Makefile: Likewise.
13352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13354         New file.
13355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13356         file.
13357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13358         New file.
13359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13360         file.
13361         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13365         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13367         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13368         fzeros/fnegs to load 0x80000000 into a float register instead of
13369         using the stack.
13370         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13372 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13375         bits/syscall.h.
13376         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13377         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13378         ($(inst_includedir)/bits/syscall.h): Remove rule.
13379         ($(objpfx)bits/syscall.d): Include instead of
13380         $(objpfx)syscall-list.d.
13381         (generated): Change syscall-list.h and syscall-list.d to
13382         bits/syscall.h and bits/syscall.d.
13384 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13386         [BZ #13846]
13387         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13389 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13391         [BZ #13841]
13392         * math/s_csqrt.c: Include <float.h>.
13393         (__csqrt): Scale large or subnormal inputs.
13394         * math/s_csqrtf.c: Likewise.
13395         * math/s_csqrtl.c: Likewise.
13396         * math/libm-test.inc (csqrt_test): Add more tests.
13397         * sysdeps/i386/fpu/libm-test-ulps: Update.
13398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13400         [BZ #13840]
13401         * math/libm-test.inc (hypot_test): Add more tests.
13403 2012-03-13  David S. Miller  <davem@davemloft.net>
13405         [BZ #13840]
13406         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13407         double-precision for the calculation instead of scaling.
13409 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13411         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13412         manipulate bits before adding and subtracting TWO52[sx].
13413         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13414         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13415         Likewise.
13416         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13418 2012-03-13  David S. Miller  <davem@davemloft.net>
13420         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13421         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13423         rtld-global-offsets.h
13424         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13426         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13427         large parameters.
13429         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13431         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13432         'err' in the ifdef scope in which it is actually used.
13434         * nss/nss_db/db-init.c: Include string.h
13436 2012-03-12  David S. Miller  <davem@davemloft.net>
13438         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13439         masking out of the most significant byte of random value used.
13440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13441         Fix coding style in previous change.
13443         * sysdeps/unix/sysv/linux/kernel-features.h
13444         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13445         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13446         expression.
13447         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13448         later.
13450 2012-03-11  David S. Miller  <davem@davemloft.net>
13452         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13453         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13454         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13455         for 'resultvar' otherwise things get truncated on 64-bit.
13457         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13458         Fix masking out of the most significant byte of random value used.
13460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13462 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13466 2012-03-09  David S. Miller  <davem@davemloft.net>
13468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13469         variables with appropriate CPP guards.
13470         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13471         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13472         on resulting framesize and the management of the outregs buffer for pltexit.
13473         Preserve floating point return values across _dl_call_pltexit call.
13474         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13475         framesize and the management of the outregs buffer for pltexit.
13476         Preserve floating point return values across _dl_call_pltexit
13477         call.
13478         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13479         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13480         (print_exit): Fix format string for return register value.
13482 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13484         * sunrpc/Makefile (others): Add rpcgen.
13485         ($(objpfx)rpcgen): Remove special build rule and dependency on
13486         libc.
13487         * sunrpc/rpcgen.c: New file.
13489 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13491         [BZ #13673]
13492         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13493         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13494         * sysdeps/i386/crti.S: Likewise.
13495         * sysdeps/i386/crtn.S: Likewise.
13496         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13497         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13498         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13499         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13500         * sysdeps/sh/crti.S: Likewise.
13501         * sysdeps/sh/crtn.S: Likewise.
13502         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13504         [BZ #13673]
13505         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13506         with URL.
13507         * locale/programs/locfile-kw.gperf: Likewise.
13508         * locale/programs/charmap-kw.h: Regenerated.
13509         * locale/programs/locfile-kw.h: Likewise.
13511         [BZ #13673]
13512         * intl/plural.y: Replace FSF snail mail address with URL.
13513         * intl/plural.c: Regenerated.
13515 2012-03-09  Richard Henderson  <rth@twiddle.net>
13517         * include/math_private.h: Remove file.
13518         * math/math_private.h: Move file ...
13519         * sysdeps/generic/math_private.h: ... here.
13521         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13522         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13523         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13525         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13526         and <math_private.h>.
13527         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13528         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13529         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13530         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13531         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13532         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13533         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13535         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13536         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13538         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13539         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13541         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13542         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13543         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13544         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13545         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13546         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13547         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13548         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13549         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13550         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13551         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13552         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13553         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13554         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13556         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13557         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13558         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13559         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13560         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13561         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13562         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13563         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13564         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13565         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13566         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13567         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13568         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13569         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13570         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13571         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13572         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13573         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13574         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13575         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13576         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13577         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13578         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13579         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13580         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13581         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13582         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13583         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13584         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13585         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13586         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13587         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13588         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13589         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13590         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13591         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13592         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13593         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13594         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13595         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13596         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13597         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13598         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13599         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13600         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13601         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13602         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13605         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13606         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13607         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13608         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13609         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13610         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13611         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13612         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13614         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13615         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13616         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13617         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13618         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13619         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13620         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13621         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13622         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13623         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13624         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13625         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13626         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13627         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13628         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13629         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13630         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13631         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13632         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13633         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13634         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13635         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13636         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13637         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13638         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13639         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13640         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13641         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13642         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13643         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13644         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13645         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13646         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13647         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13648         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13649         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13650         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13651         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13652         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13653         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13654         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13655         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13656         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13657         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13658         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13659         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13660         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13661         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13662         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13663         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13664         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13665         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13666         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13667         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13668         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13669         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13670         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13671         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13672         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13673         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13674         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13675         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13676         * sysdeps/ieee754/k_standard.c: Likewise.
13677         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13678         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13679         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13680         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13681         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13682         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13683         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13684         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13685         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13686         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13687         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13688         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13689         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13690         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13691         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13692         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13693         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13694         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13695         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13696         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13697         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13698         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13699         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13700         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13701         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13702         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13703         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13704         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13705         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13706         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13707         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13708         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13709         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13710         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13711         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13712         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13713         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13714         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13715         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13716         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13717         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13718         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13719         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13720         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13721         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13722         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13723         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13724         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13725         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13726         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13727         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13728         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13729         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13730         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13731         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13732         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13733         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13734         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13735         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13736         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13737         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13738         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13739         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13740         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13742         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13743         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13744         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13745         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13746         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13747         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13749         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13750         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13751         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13752         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13753         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13754         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13755         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13756         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13757         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13758         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13759         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13760         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13762         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13763         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13764         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13765         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13766         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13767         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13768         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13769         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13770         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13771         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13772         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13773         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13774         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13775         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13776         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13777         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13778         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13779         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13780         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13781         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13782         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13783         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13785         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13787         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13788         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13789         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13790         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13791         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13792         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13793         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13795         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13796         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13797         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13798         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13799         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13800         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13801         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13802         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13803         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13804         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13805         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13806         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13807         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13808         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13809         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13810         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13811         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13812         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13813         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13814         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13815         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13816         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13817         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13818         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13819         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13820         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13821         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13822         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13823         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13826         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13827         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13828         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13830         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13831         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13832         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13833         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13834         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13835         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13836         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13837         * sysdeps/ieee754/s_lib_version.c: Likewise.
13838         * sysdeps/ieee754/s_matherr.c: Likewise.
13839         * sysdeps/ieee754/s_signgam.c: Likewise.
13840         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13841         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13842         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13843         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13844         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13845         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13846         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13847         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13848         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13849         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13850         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13851         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13852         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13853         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13854         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13855         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13856         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13857         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13858         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13859         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13860         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13862 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13864         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13865         * sunrpc/rpc_main.c: Likewise.
13866         * sunrpc/rpc_svcout.c: Likewise.
13868 2012-03-09  David S. Miller  <davem@davemloft.net>
13870         * include/math_private.h: New file.
13872 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13874         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13875         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13876         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13877         from <bits/socket_type.h>.
13878         (enum __socket_type): Don't define here.
13879         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13881         bits/socket_type.h.
13883         [BZ #13566]
13884         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13885         checking __USE_GNU.
13887         * Makerules ($(inst_includedir)/%.h): New rule.
13888         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13889         (install-others): Remove variable setting.
13890         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13892 2012-03-08  Richard Henderson  <rth@twiddle.net>
13894         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13895         from macro to inline function; merge with the
13896         !__LIBC_INTERNAL_MATH_INLINES version.
13897         (__ieee754_sqrtf): Likewise.
13899         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13900         to inline function.
13901         (__rintf, __floor, __floorf): Likewise.
13903         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13904         macro to inline function.
13905         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13907         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13908         not <math/math_private.h>.
13910 2012-03-08  David S. Miller  <davem@davemloft.net>
13912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13913         copyright year.
13914         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13916 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
13918         * resolv/gai_misc.c (handle_requests): Fix struct timespec
13919         normalization.
13920         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13921         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13923 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
13925         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
13926         be defined individually, they must be defined as a block.  Define
13927         S for printing a string instead of hidint the different by using a
13928         macro for adding the 'l'.
13929         * stdio-common/tst-fphex-wide.c: Adjust.
13931 2012-03-07  Marek Polacek  <polacek@redhat.com>
13933         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13935 2012-03-08  Marek Polacek  <polacek@redhat.com>
13937         [BZ #13806]
13938         * stdio-common/Makefile (tests): Add tst-fphex-wide.
13939         * stdio-common/tst-fphex.c: Define a few macros to make the
13940         test reusable.  Use them.
13941         * stdio-common/tst-fphex-wide.c: New file.
13943 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
13945         [BZ #6911]
13946         * manual/macros.texi (gnusystems): New macro.
13947         (nongnusystems): Likewise.
13948         (gnulinuxhurdsystems): Likewise.
13949         (gnuhurdsystems): Likewise..
13950         (gnulinuxsystems): Likewise.
13951         * manual/charset.texi: Use new macros or @theglibc{} to refer to
13952         variants of the GNU system, not "GNU system".
13953         * manual/conf.texi: Likewise.
13954         * manual/errno.texi: Likewise.  Update example of errno macro
13955         expansion.
13956         * manual/filesys.texi: Likewise.
13957         (getumask): Document as specific to GNU/Hurd.
13958         * manual/install.texi: Likewise.  Reword some references to
13959         GNU/Linux.
13960         * manual/intro.texi: Likewise.
13961         * manual/io.texi: Likewise.
13962         (File Name Portability): Detail which constraints are inapplicable
13963         to all GNU systems and which are only inapplicable to GNU/Hurd.
13964         * manual/job.texi: Likewise.
13965         * manual/llio.texi: Likewise.
13966         (O_NOCTTY): Document as present on GNU/Linux.
13967         * manual/maint.texi: Likewise.
13968         * manual/memory.texi: Likewise.
13969         * manual/pattern.texi: Likewise.
13970         * manual/pipe.texi: Likewise.
13971         * manual/process.texi: Likewise.
13972         * manual/resource.texi: Likewise.
13973         (RUSAGE_CHILDREN): Remove statement about specifying a particular
13974         child on GNU/Hurd.
13975         * manual/setjmp.texi: Likewise.
13976         * manual/signal.texi: Likewise.
13977         * manual/startup.texi: Likewise.
13978         * manual/stdio.texi: Likewise.
13979         * manual/terminal.texi: Likewise.
13980         (ONLCR): Document as POSIX.
13981         (OXTABS): Document availability on GNU/Linux as XTABS.
13982         (ONOEOT): Document availability separately from other bits.
13983         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13984         * manual/time.texi: Likewise.
13985         * manual/users.texi: Likewise.
13986         * INSTALL: Regenerated.
13987         * sysdeps/gnu/errlist.c: Regenerated.
13989         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13990         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13991         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
13992         puts.
13993         * configure: Regenerated.
13995 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
13997         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13998         default includes instead of AC_HEADER_CHECK.
13999         * sysdeps/i386/configure: Regenerated.
14001         [BZ #10716]
14002         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14003         * math/s_cacoshf.c (__cacoshf): Likewise.
14004         * math/s_cacoshl.c (__cacoshl): Likewise.
14005         * math/s_casinh.c (__casinh): Set signs of result from argument.
14006         * math/s_casinhf.c (__casinhf): Likewise.
14007         * math/s_casinhl.c (__casinhl): Likewise.
14008         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14009         (casinh_test): Add more tests.
14010         * sysdeps/i386/fpu/libm-test-ulps: Update.
14011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14013 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14015         * po/zh_TW.po: Update from translation team.
14017         * login/Makefile (distribute): Remove variable.
14018         * catgets/Makefile: Likewise.
14019         * mach/Makefile: Likewise.
14020         * malloc/Makefile: Likewise.
14021         * misc/Makefile: Likewise.
14022         * iconv/Makefile: Likewise.
14023         * nscd/Makefile: Likewise.
14024         * hurd/Makefile: Likewise.
14025         * manual/Makefile: Likewise.
14026         * locale/Makefile: Likewise.
14027         * intl/Makefile: Likewise.
14028         * conform/Makefile: Likewise.
14029         * nss/Makefile: Likewise.
14030         * time/Makefile: Likewise.
14031         * soft-fp/Makefile: Likewise.
14032         * dirent/Makefile: Likewise.
14033         * gmon/Makefile: Likewise.
14034         * po/Makefile: Likewise.
14035         * rt/Makefile: Likewise.
14036         * socket/Makefile: Likewise.
14037         * math/Makefile: Likewise.
14038         * signal/Makefile: Likewise.
14039         * debug/Makefile: Likewise.
14040         * elf/Makefile: Likewise.
14041         * timezone/Makefile: Likewise.
14042         * stdlib/Makefile: Likewise.
14043         * iconvdata/Makefile: Likewise.
14044         * sunrpc/Makefile: Likewise.
14045         * io/Makefile: Likewise.
14046         * argp/Makefile: Likewise.
14047         * inet/Makefile: Likewise.
14048         * hesiod/Makefile: Likewise.
14049         * grp/Makefile: Likewise.
14050         * csu/Makefile: Likewise.
14051         * wctype/Makefile: Likewise.
14052         * crypt/Makefile: Likewise.
14053         * libio/Makefile: Likewise.
14054         * string/Makefile: Likewise.
14055         * nis/Makefile: Likewise.
14056         * resolv/Makefile: Likewise.
14057         * stdio-common/Makefile: Likewise.
14058         * wcsmbs/Makefile: Likewise.
14059         * dlfcn/Makefile: Likewise.
14060         * posix/Makefile: Likewise.
14062         [BZ #6959]
14063         * timezone/Makefile: Don't install timezone files, just the programs
14064         and scripts.
14066 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14068         * nss/databases.def: Add missing gshadow entry.
14070         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14072 2012-03-06  Marek Polacek  <polacek@redhat.com>
14074         [BZ #13726]
14075         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14076         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14077         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14078         * stdio-common/tst-long-dbl-fphex.c: New file.
14080 2012-03-06  David S. Miller  <davem@davemloft.net>
14082         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14083         (set_obp_int): New function.
14084         (get_obp_int): New function.
14085         (__get_clockfreq_via_dev_openprom): Likewise.
14086         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14087         Avoid unused variable warnings on 'val' and use builtin_expect.
14088         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14089         __builtin_expect.
14090         (INLINE_CLONE_SYSCALL): Likewise.
14092 2012-03-05  David S. Miller  <davem@davemloft.net>
14094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14096 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14100         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14101         only for |x| >= 40.
14102         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14104 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14106         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14107         Replace gettimeofday with __vdso_gettimeofday.
14109         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14110         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14111         __vdso_clock_gettime and __vdso_getcpu.
14113         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14114         time with __vdso_time.
14116 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14118         * manual/lang.texi (size_t): Note types to which size_t may be
14119         equivalent with the GNU C Library, but do not describe when
14120         differences between them are significant.
14122 2012-03-05  Andreas Jaeger  <aj@suse.de>
14124         * sysdeps/i386/fpu/libm-test-ulps: Update.
14126 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14128         [BZ #3976]
14129         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14130         (__ieee754_pow): Save and restore rounding mode and use
14131         round-to-nearest for main computations.
14132         * math/libm-test.inc (pow_test_tonearest): New function.
14133         (pow_test_towardzero): Likewise.
14134         (pow_test_downward): Likewise.
14135         (pow_test_upward): Likewise.
14136         (main): Call the new functions.
14137         * sysdeps/i386/fpu/libm-test-ulps: Update.
14138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14140         [BZ #3976]
14141         * math/libm-test.inc (cosh_test_tonearest): New function.
14142         (cosh_test_towardzero): Likewise.
14143         (cosh_test_downward): Likewise.
14144         (cosh_test_upward): Likewise.
14145         (sinh_test_tonearest): Likewise.
14146         (sinh_test_towardzero): Likewise.
14147         (sinh_test_downward): Likewise.
14148         (sinh_test_upward): Likewise.
14149         (main): Call the new functions.
14150         * sysdeps/i386/fpu/libm-test-ulps: Update.
14151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14153 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14155         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14156         default stack guard is set in last bytes.
14157         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14159 2012-03-05  Kees Cook  <keescook@chromium.org>
14161         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14163         [BZ #13656]
14164         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14165         possibly allocate from heap instead of stack.
14166         * stdio-common/bug-vfprintf-nargs.c: New file.
14167         * stdio-common/Makefile (tests): Add nargs overflow test.
14169 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14173 2012-03-03  Marek Polacek  <polacek@redhat.com>
14175         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14176         * math/math_private.h: Likewise.
14177         * stdlib/tst-strtod.c: Likewise.
14178         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14179         * sysdeps/x86_64/bits/atomic.h: Likewise.
14181 2012-03-02  David S. Miller  <davem@davemloft.net>
14183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14187         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14188         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14189         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14190         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14192 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14194         [BZ #13792]
14195         * manual/examples/README: New file, says the example source files
14196         can be used under GPL>=2.
14197         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14198         line containing just "*/".
14199         * manual/examples/add.c: Add copyright header (GPL>=2).
14200         * manual/examples/argp-ex1.c: Likewise.
14201         * manual/examples/argp-ex2.c: Likewise.
14202         * manual/examples/argp-ex3.c: Likewise.
14203         * manual/examples/argp-ex4.c: Likewise.
14204         * manual/examples/atexit.c: Likewise.
14205         * manual/examples/db.c: Likewise.
14206         * manual/examples/dir.c: Likewise.
14207         * manual/examples/dir2.c: Likewise.
14208         * manual/examples/execinfo.c: Likewise.
14209         * manual/examples/filecli.c: Likewise.
14210         * manual/examples/filesrv.c: Likewise.
14211         * manual/examples/fmtmsgexpl.c: Likewise.
14212         * manual/examples/genpass.c: Likewise.
14213         * manual/examples/inetcli.c: Likewise.
14214         * manual/examples/inetsrv.c: Likewise.
14215         * manual/examples/isockad.c: Likewise.
14216         * manual/examples/longopt.c: Likewise.
14217         * manual/examples/memopen.c: Likewise.
14218         * manual/examples/memstrm.c: Likewise.
14219         * manual/examples/mkfsock.c: Likewise.
14220         * manual/examples/mkisock.c: Likewise.
14221         * manual/examples/mygetpass.c: Likewise.
14222         * manual/examples/pipe.c: Likewise.
14223         * manual/examples/popen.c: Likewise.
14224         * manual/examples/rprintf.c: Likewise.
14225         * manual/examples/search.c: Likewise.
14226         * manual/examples/select.c: Likewise.
14227         * manual/examples/setjmp.c: Likewise.
14228         * manual/examples/sigh1.c: Likewise.
14229         * manual/examples/sigusr.c: Likewise.
14230         * manual/examples/stpcpy.c: Likewise.
14231         * manual/examples/strdupa.c: Likewise.
14232         * manual/examples/strftim.c: Likewise.
14233         * manual/examples/strncat.c: Likewise.
14234         * manual/examples/subopt.c: Likewise.
14235         * manual/examples/swapcontext.c: Likewise.
14236         * manual/examples/termios.c: Likewise.
14237         * manual/examples/testopt.c: Likewise.
14238         * manual/examples/testpass.c: Likewise.
14239         * manual/examples/timeval_subtract.c: Likewise.
14241         [BZ #13792]
14242         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14243         function to ...
14244         * manual/timeval_subtract.c.texi: ... here, new file.
14246 2012-03-02  David S. Miller  <davem@davemloft.net>
14248         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14250 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14252         [BZ #3976]
14253         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14254         (__sin): Save and restore rounding mode and use round-to-nearest
14255         for all computations.
14256         (__cos): Save and restore rounding mode and use round-to-nearest
14257         for all computations.
14258         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14259         <fenv.h>.
14260         (tan): Save and restore rounding mode and use round-to-nearest for
14261         all computations.
14262         * math/libm-test.inc (cos_test_tonearest): New function.
14263         (cos_test_towardzero): Likewise.
14264         (cos_test_downward): Likewise.
14265         (cos_test_upward): Likewise.
14266         (sin_test_tonearest): Likewise.
14267         (sin_test_towardzero): Likewise.
14268         (sin_test_downward): Likewise.
14269         (sin_test_upward): Likewise.
14270         (tan_test_tonearest): Likewise.
14271         (tan_test_towardzero): Likewise.
14272         (tan_test_downward): Likewise.
14273         (tan_test_upward): Likewise.
14274         (main): Call the new functions.
14275         * sysdeps/i386/fpu/libm-test-ulps: Update.
14276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14278         [BZ #10135]
14279         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14280         small n, then large n, before computing and testing k+n.
14281         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14283         Likewise.
14284         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14285         Likewise.
14286         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14287         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14288         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14289         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14290         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14291         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14292         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14293         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14294         * math/libm-test.inc (scalbn_test): Add more tests.
14295         (scalbln_test): Likewise.
14297         * manual/filesys.texi (mode_t): Describe constraints on size and
14298         signedness, not exact equivalence to a particular type.
14299         (ino_t): Likewise.
14300         (ino64_t): Likewise.
14301         (dev_t): Likewise.
14302         (nlink_t): Likewise.
14303         (blkcnt_t): Likewise.
14304         (blkcnt64_t): Likewise.
14305         * manual/llio.texi (off_t): Likewise.
14307         [BZ #3976]
14308         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14309         (__ieee754_exp): Save and restore rounding mode and use
14310         round-to-nearest for all computations.
14311         * math/libm-test.inc (exp_test_tonearest): New function.
14312         (exp_test_towardzero): Likewise.
14313         (exp_test_downward): Likewise.
14314         (exp_test_upward): Likewise.
14315         (main): Call the new functions.
14316         * sysdeps/i386/fpu/libm-test-ulps: Update.
14317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14319 2012-03-01  Chris Demetriou  <cgd@google.com>
14321         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14322         have predictable order.
14324 2012-03-01  David S. Miller  <davem@davemloft.net>
14326         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14328         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14329         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14330         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14331         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14333         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14334         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14335         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14337         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14338         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14339         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14340         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14341         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14345         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14346         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14347         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14349         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14350         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14351         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14352         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14353         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14354         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14355         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14356         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14357         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14358         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14359         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14360         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14362         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14363         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14365         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14366         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14367         * sysdeps/sparc/elf/configure: Regenerated.
14369 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14371         * configure.in (AS, LD): Require binutils 2.20 or later.
14372         * configure: Regenerated.
14373         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14374         as required minimum version.
14375         * INSTALL: Regenerated.
14377         [BZ #2541]
14378         [BZ #4108]
14379         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14380         before squaring exponent.
14381         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14382         bottom long double and 27 bits of top long double before squaring
14383         exponent.
14384         * math/libm-test.inc (erfc_test): Add more tests.
14385         * sysdeps/i386/fpu/libm-test-ulps: Update.
14386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14391         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14392         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14393         containing bit-fields.
14394         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14395         * soft-fp/single.h (_FP_UNION_S): Likewise.
14396         * soft-fp/double.h (_FP_UNION_D): Likewise.
14398 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #13786]
14401         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14402         not include ../strcmp.S.
14403         [USE_AS_STRNCASECMP_L]: Likewise.
14404         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14405         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14406         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14407         (__strncasecmp_l_ia32): Define as alias to
14408         __strncasecmp_l_nonascii.
14410         [BZ #5794]
14411         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14412         * sysdeps/i386/fpu/libm-test-ulps: Update.
14413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14415         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14418 2012-02-29  Jeff Law  <law@redhat.com>
14420         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14421         out of bounds read.
14423 2012-02-29  Marek Polacek  <polacek@redhat.com>
14425         [BZ #13706]
14426         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14427         * elf/Makefile: Add rules to run tst-unused-dep.out.
14429 2012-02-28  David S. Miller  <davem@davemloft.net>
14431         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14432         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14433         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14434         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14435         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14436         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14438 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14440         * math/libm-test.inc (llround_test): Move one test from
14441         lround_test.  Use TEST_f_L in moved test.
14442         (lround_test): Move misplaced test to llround_test.  Add testcase
14443         from bug 2561.
14445 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14447         * sysdeps/x86_64/fpu/e_expf.S: New file.
14448         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14450 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14452         [BZ #13637]
14453         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14454         of remain_len that may cause incomplete multi-byte character and
14455         false match.
14456         * posix/bug-regex33.c: New file.
14457         * posix/Makefile (tests): Add bug-regex33.
14459 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14461         * manual/macros.texi: New file.
14462         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14463         * manual/libc.texinfo: Include macros.texi.
14464         * manual/creatute.texi: Likewise.
14465         * manual/install.texi: Likewise.
14466         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14467         @glibcadj{} in references to the GNU C Library.
14468         * manual/charset.texi: Likewise.
14469         * manual/conf.texi: Likewise.
14470         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14471         when not using those macros.
14472         * manual/creature.texi: Likewise.
14473         * manual/crypt.texi: Likewise.
14474         * manual/errno.texi: Likewise.
14475         * manual/filesys.texi: Likewise.
14476         * manual/header.texi: Likewise.
14477         * manual/install.texi: Likewise.
14478         * manual/intro.texi: Likewise.
14479         * manual/io.texi: Likewise.
14480         * manual/job.texi: Likewise.
14481         * manual/lang.texi: Likewise.
14482         * manual/libc.texiinfo: Likewise.
14483         * manual/llio.texi: Likewise.
14484         * manual/locale.texi: Likewise.
14485         * manual/maint.texi: Likewise.
14486         * manual/math.texi: Likewise.
14487         * manual/memory.texi: Likewise.
14488         * manual/message.texi: Likewise.
14489         * manual/nss.texi: Likewise.
14490         * manual/pattern.texi: Likewise.
14491         * manual/process.texi: Likewise.
14492         * manual/resource.texi: Likewise.
14493         * manual/search.texi: Likewise.
14494         * manual/setjmp.texi: Likewise.
14495         * manual/signal.texi: Likewise.
14496         * manual/socket.texi: Likewise.
14497         * manual/startup.texi: Likewise.
14498         * manual/stdio.texi: Likewise.
14499         * manual/string.texi: Likewise.
14500         * manual/sysinfo.texi: Likewise.
14501         * manual/syslog.texi: Likewise.
14502         * manual/terminal.texi: Likewise.
14503         * manual/time.texi: Likewise.
14504         * manual/users.texi: Likewise.
14505         * INSTALL: Regenerated.
14506         * NOTES: Regenerated.
14507         * sysdeps/gnu/errlist.c: Regenerated.
14509 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14511         * include/dirent.h: Include <dirstream.h> before
14512         <dirent/dirent.h>.
14514 2012-02-28  David S. Miller  <davem@davemloft.net>
14516         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14517         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14518         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14519         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14521 2012-02-27  David S. Miller  <davem@davemloft.net>
14523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14525         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14526         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14529         frame pointer instead of stack pointer relative arg slot.
14530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14531         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14532         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14534 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14536         [BZ #3992]
14537         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14539 2012-02-27  David S. Miller  <davem@davemloft.net>
14541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14545         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14546         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14547         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14548         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14550 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14552         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14553         later.  Allow versions 5-9.
14554         * configure: Regenerated.
14555         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14556         required minimum version and 4.6 as recommended version.  Do not
14557         mention bugs in GCC 2.7 and 2.8.
14558         * INSTALL: Regenerated.
14560 2012-02-27  David S. Miller  <davem@davemloft.net>
14562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14566         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14567         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14568         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14569         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14571         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14572         manipulate bits before adding and subtracting TWO112[sx].
14573         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14575 2012-02-27  Roland McGrath  <roland@hack.frob.com>
14577         [BZ #13775]
14578         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14579         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14580         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14581         being in POSIX, because they are in 1003.1-2008.
14583         * rt/tst-aio.c: Include <fcntl.h>.
14584         * rt/tst-aio7.c: Likewise.
14585         * rt/tst-aio64.c: Likewise.
14587         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14589 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14591         * manual/install.texi (--with-headers): Describe headers as
14592         interface headers, not private headers.
14593         (Specific advice for GNU/Linux systems): Describe use of headers
14594         from "make headers_install", not private headers from older
14595         kernels.
14596         * INSTALL: Regenerated.
14597         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14598         Change to 2.6.19.
14599         * sysdeps/unix/sysv/linux/configure: Regenerated.
14601         * manual/llio.texi (fclean): Remove documentation.
14603         * manual/Makefile (libc-texi-generated): New variable.  Include
14604         version.texi.
14605         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14606         $(libc-texi-generated), not duplicated list of files.
14607         (version.texi, stamp-version): New rules.
14608         (realclean): Remove $(libc-texi-generated), not individual files
14609         from that list.  Do not remove dir-add.texinfo.
14610         * manual/libc.texinfo: Comment out uses of edition numbers and
14611         references to printed manual.  Remove last-updated dates.
14612         (EDITION): Comment out.
14613         (ISBN): Likewise.
14614         (VERSION, UPDATED): Remove.
14615         (version.texi): Include.
14617 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
14619         * sysdeps/posix/spawni.c: Include <signal.h>.
14620         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14621         * sysdeps/pthread/aio_fsync.c: Likewise.
14623 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
14625         * conform/Makefile (tests): Run only when not cross-compiling and
14626         when fast-check is not defined.
14628         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14629         * conform/data/limits.h-data: Fixes for POSIX2008.
14630         * conform/run-conformtest.sh: Run all tests.
14631         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14632         headers.
14633         * include/bits/dlfcn.h: Likewise.
14634         * include/langinfo.h: Likewise.
14635         * include/monetary.h: Likewise.
14636         * include/sys/poll.h: Likewise.
14638         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14639         for __USE_GNU.
14640         * posix/spawn.h: Define __need_sigset_t.
14641         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14642         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14643         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
14644         to get sigevent_t only.
14645         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14646         only for __USE_GNU.
14647         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14648         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14649         process_vm_writev only for __USE_GNU.
14650         * termios/termios.h: Declare tcgetsid also for POSIX2008.
14652         * conform/Makefile: For now ignore errors from run-conformtest.
14653         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
14654         POSIX to avoid namespace pollution.  Don't prepend headers.
14655         * conform/data/aio.h-data: Fixes for POSIX testing.
14656         * conform/data/fcntl.h-data: Likewise.
14657         * conform/data/glob.h-data: Likewise.
14658         * conform/data/grp.h-data: Likewise.
14659         * conform/data/pthread.h-data: Likewise.
14660         * conform/data/pwd.h-data: Likewise.
14661         * conform/data/signal.h-data: Likewise.
14662         * conform/data/spawn.h-data: Likewise.
14663         * conform/data/stdio.h-data: Likewise.
14664         * conform/data/stdlib.h-data: Likewise.
14665         * conform/data/stropts.h-data: Likewise.
14666         * conform/data/sys/mman.h-data: Likewise.
14667         * conform/data/sys/stat.h-data: Likewise.
14668         * conform/data/sys/types.h-data: Likewise.
14669         * conform/data/sys/wait.h-data: Likewise.
14670         * conform/data/time.h-data: Likewise.
14671         * conform/data/unistd.h-data: Likewise.
14672         * conform/data/utime.h-data: Likewise.
14674         * io/sys/stat.h: fchmod was always in POSIX.
14675         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14676         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14677         * rt/aio.h: Define __need_timespec before including <time.h>.
14678         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14679         struct.  Add forward declaration of pthread_attr_t and use it in
14680         sigevent.
14681         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14682         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14683         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14684         always remove CLK_TCK definition.
14686 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
14688         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14690 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
14692         * conform/run-conformtest.sh: New file.
14693         * conform/Makefile: Run run-conformtest for tests.
14694         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
14695         support.
14697         * conform/data/uchar.h-data: New file.
14698         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14699         * conform/data/arpa/inet.h-data: Likewise.
14700         * conform/data/assert.h-data: Likewise.
14701         * conform/data/complex.h-data: Likewise.
14702         * conform/data/cpio.h-data: Likewise.
14703         * conform/data/ctype.h-data: Likewise.
14704         * conform/data/dirent.h-data: Likewise.
14705         * conform/data/dlfcn.h-data: Likewise.
14706         * conform/data/errno.h-data: Likewise.
14707         * conform/data/fcntl.h-data: Likewise.
14708         * conform/data/float.h-data: Likewise.
14709         * conform/data/fmtmsg.h-data: Likewise.
14710         * conform/data/fnmatch.h-data: Likewise.
14711         * conform/data/ftw.h-data: Likewise.
14712         * conform/data/glob.h-data: Likewise.
14713         * conform/data/grp.h-data: Likewise.
14714         * conform/data/iconv.h-data: Likewise.
14715         * conform/data/inttypes.h-data: Likewise.
14716         * conform/data/langinfo.h-data: Likewise.
14717         * conform/data/libgen.h-data: Likewise.
14718         * conform/data/limits.h-data: Likewise.
14719         * conform/data/locale.h-data: Likewise.
14720         * conform/data/math.h-data: Likewise.
14721         * conform/data/monetary.h-data: Likewise.
14722         * conform/data/mqueue.h-data: Likewise.
14723         * conform/data/ndbm.h-data: Likewise.
14724         * conform/data/net/if.h-data: Likewise.
14725         * conform/data/netdb.h-data: Likewise.
14726         * conform/data/netinet/in.h-data: Likewise.
14727         * conform/data/nl_types.h-data: Likewise.
14728         * conform/data/poll.h-data: Likewise.
14729         * conform/data/pthread.h-data: Likewise.
14730         * conform/data/pwd.h-data: Likewise.
14731         * conform/data/regex.h-data: Likewise.
14732         * conform/data/sched.h-data: Likewise.
14733         * conform/data/search.h-data: Likewise.
14734         * conform/data/semaphore.h-data: Likewise.
14735         * conform/data/setjmp.h-data: Likewise.
14736         * conform/data/signal.h-data: Likewise.
14737         * conform/data/spawn.h-data: Likewise.
14738         * conform/data/stdarg.h-data: Likewise.
14739         * conform/data/stdio.h-data: Likewise.
14740         * conform/data/stdlib.h-data: Likewise.
14741         * conform/data/string.h-data: Likewise.
14742         * conform/data/strings.h-data: Likewise.
14743         * conform/data/stropts.h-data: Likewise.
14744         * conform/data/sys/ipc.h-data: Likewise.
14745         * conform/data/sys/mman.h-data: Likewise.
14746         * conform/data/sys/msg.h-data: Likewise.
14747         * conform/data/sys/resource.h-data: Likewise.
14748         * conform/data/sys/select.h-data: Likewise.
14749         * conform/data/sys/sem.h-data: Likewise.
14750         * conform/data/sys/shm.h-data: Likewise.
14751         * conform/data/sys/socket.h-data: Likewise.
14752         * conform/data/sys/stat.h-data: Likewise.
14753         * conform/data/sys/statvfs.h-data: Likewise.
14754         * conform/data/sys/time.h-data: Likewise.
14755         * conform/data/sys/timeb.h-data: Likewise.
14756         * conform/data/sys/times.h-data: Likewise.
14757         * conform/data/sys/types.h-data: Likewise.
14758         * conform/data/sys/uio.h-data: Likewise.
14759         * conform/data/sys/un.h-data: Likewise.
14760         * conform/data/sys/utsname.h-data: Likewise.
14761         * conform/data/sys/wait.h-data: Likewise.
14762         * conform/data/syslog.h-data: Likewise.
14763         * conform/data/tar.h-data: Likewise.
14764         * conform/data/termios.h-data: Likewise.
14765         * conform/data/utime.h-data: Likewise.
14766         * conform/data/utmpx.h-data: Likewise.
14767         * conform/data/varargs.h-data: Likewise.
14768         * conform/data/wchar.h-data: Likewise.
14769         * conform/data/wctype.h-data: Likewise.
14770         * conform/data/wordexp.h-data: Likewise.
14772         * include/stropts.h: New file.
14773         * include/uchar.h: New file.
14774         * include/aio.h: Changes to allow conformtest.pl to use the headers.
14775         * include/assert.h: Likewise.
14776         * include/ctype.h: Likewise.
14777         * include/dirent.h: Likewise.
14778         * include/dlfcn.h: Likewise.
14779         * include/fcntl.h: Likewise.
14780         * include/fnmatch.h: Likewise.
14781         * include/glob.h: Likewise.
14782         * include/grp.h: Likewise.
14783         * include/libio.h: Likewise.
14784         * include/locale.h: Likewise.
14785         * include/math.h: Likewise.
14786         * include/net/if.h: Likewise.
14787         * include/netdb.h: Likewise.
14788         * include/netinet/in.h: Likewise.
14789         * include/pthread.h: Likewise.
14790         * include/pwd.h: Likewise.
14791         * include/regex.h: Likewise.
14792         * include/sched.h: Likewise.
14793         * include/search.h: Likewise.
14794         * include/setjmp.h: Likewise.
14795         * include/signal.h: Likewise.
14796         * include/stdio.h: Likewise.
14797         * include/stdlib.h: Likewise.
14798         * include/string.h: Likewise.
14799         * include/sys/cdefs.h: Likewise.
14800         * include/sys/mman.h: Likewise.
14801         * include/sys/msg.h: Likewise.
14802         * include/sys/resource.h: Likewise.
14803         * include/sys/select.h: Likewise.
14804         * include/sys/socket.h: Likewise.
14805         * include/sys/stat.h: Likewise.
14806         * include/sys/statvfs.h: Likewise.
14807         * include/sys/time.h: Likewise.
14808         * include/sys/times.h: Likewise.
14809         * include/sys/uio.h: Likewise.
14810         * include/sys/utsname.h: Likewise.
14811         * include/sys/wait.h: Likewise.
14812         * include/termios.h: Likewise.
14813         * include/time.h: Likewise.
14814         * include/ulimit.h: Likewise.
14815         * include/unistd.h: Likewise.
14816         * include/utime.h: Likewise.
14817         * include/wchar.h: Likewise.
14818         * include/wctype.h: Likewise.
14819         * include/wordexp.h: Likewise.
14821         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14823         * time/time.h: TIME_UTC must be a macro.
14824         Make timespec_get available for ISO C11 only as well.
14826 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
14828         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14829         Reported by Peng Haitao <penght@cn.fujitsu.com>.
14831 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14833         * configure.in: Use -o not -a in test for unsupported multi-arch.
14835 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14837         * manual/texinfo.tex: Update to version 2012-01-19.16.
14839 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14841         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14843 2012-02-24  Roland McGrath  <roland@hack.frob.com>
14845         [BZ #13738]
14846         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14847         * manual/fdl-1.3.texi: New file.
14848         * manual/fdl-1.1.texi: File removed.
14850         [BZ #13738]
14851         * manual/libc.texinfo (FDL_VERSION): New @set.
14852         Use it for mention of FDL in cover text.
14853         (Documentation License): Use it in @include file name.
14855 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14856             Roland McGrath  <roland@hack.frob.com>
14858         [BZ #5461]
14859         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14860         not LONG_LONG_MAX and LONG_LONG_MIN.
14861         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14862         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
14863         name.
14864         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14866 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14868         [BZ #2547]
14869         [BZ #11365]
14870         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14871         manipulate bits before adding and subtracting TWO23[sx].
14872         * math/libm-test.inc (nearbyint_test): Add more tests.
14874 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14876         [BZ #2548]
14877         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14878         bits before adding and subtracting TWO23[sx].
14879         * math/libm-test.inc (rint_test): Add more tests.
14880         (rint_test_tonearest): Likewise.
14881         (rint_test_towardzero): Likewise.
14882         (rint_test_downward): Likewise.
14883         (rint_test_upward: Likewise.
14885 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14887         [BZ #10110]
14888         * include/stdc-predef.h: New file.  Extracted from features.h.
14889         * include/features.h: Include stdc-predef.h.
14890         * Makefile (headers): Add stdc-predef.h.
14891         * CONFORMANCE (Compiler limitations): Update.
14893 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14895         * manual/libc.texinfo (VERSION, UPDATED): Revert.
14897 2012-02-21  David S. Miller  <davem@davemloft.net>
14899         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14900         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14902 2012-02-20  David S. Miller  <davem@davemloft.net>
14904         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14905         using a normal save/restore sequence, rather than allocating a
14906         dummy stack frame just to store a frame pointer and restore.
14907         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14909 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14911         * manual/install.texi: Fix stray word in line-wrapped comment.
14913 2012-02-20  David S. Miller  <davem@davemloft.net>
14915         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14916         both binutils and gcc support GOTDATA.
14918         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14919         "rd %pc" in the PIC register setup sequences.
14921         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14922         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14923         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14924         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14925         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14928         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14930         (SYSCALL_ERROR_HANDLER): Likewise.
14931         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14932         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14934         (SYSCALL_ERROR_HANDLER): Likewise.
14936         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14937         (HAVE_GCC_GOTDATA): New.
14938         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14939         relocation support in both binutils and gcc.
14940         * sysdeps/sparc/elf/configure: Regenerate.
14942         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14943         * sysdeps/sparc/sparc32/elf/configure: Delete.
14944         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14945         * sysdeps/sparc/sparc64/elf/configure: Delete.
14946         * sysdeps/sparc/elf/configure.in: New file.
14947         * sysdeps/sparc/elf/configure: Generate.
14949         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14950         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14951         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14952         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14953         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14955 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14957         * manual/install.texi: Do not mention specific glibc version
14958         numbers.
14959         * manual/libc.texinfo (VERSION, UPDATED): Update.
14960         (@copying): Use @copyright{} and range of years.
14962 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14964         [BZ #13695]
14965         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14966         [crti.S not in sysdirs] (generated): Do not append.
14967         [crti.S not in sysdirs] (omit-deps): Likewise.
14968         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14969         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14970         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14971         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14972         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14973         Likewise.
14974         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14975         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14976         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14977         * csu/defs.awk: Remove file.
14978         * sysdeps/generic/initfini.c: Likewise.
14979         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14980         variable.
14981         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14982         Likewise.
14984 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
14986         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14987         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14988         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14989         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14990         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14991         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14992         <bits/epoll.h>.
14993         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14994         (__EPOLL_PACKED): Define to empty if not defined by
14995         <bits/epoll.h>.
14996         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14997         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14998         bits/epoll.h.
15000 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15002         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15003         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15004         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15005         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15006         <bits/timerfd.h>.
15007         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15008         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15009         bits/timerfd.h.
15011 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15013         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15014         in C locale.
15015         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15016         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15017         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15020 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15022         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15023         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15025 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15027         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15028         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15029         defined.
15030         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15031         Likewise.
15032         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15033         entry for 2.16.
15035 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15037         * math/w_acos.c: Use non-signaling floating-point comparisons.
15038         * math/w_acosf.c: Likewise.
15039         * math/w_acosh.c: Likewise.
15040         * math/w_acoshf.c: Likewise.
15041         * math/w_acoshl.c: Likewise.
15042         * math/w_acosl.c: Likewise.
15043         * math/w_asin.c: Likewise.
15044         * math/w_asinf.c: Likewise.
15045         * math/w_asinl.c: Likewise.
15046         * math/w_atanh.c: Likewise.
15047         * math/w_atanhf.c: Likewise.
15048         * math/w_atanhl.c: Likewise.
15049         * math/w_exp2.c: Likewise.
15050         * math/w_exp2f.c: Likewise.
15051         * math/w_exp2l.c: Likewise.
15052         * math/w_j0.c: Likewise.
15053         * math/w_j0f.c: Likewise.
15054         * math/w_j0l.c: Likewise.
15055         * math/w_j1.c: Likewise.
15056         * math/w_j1f.c: Likewise.
15057         * math/w_j1l.c: Likewise.
15058         * math/w_jn.c: Likewise.
15059         * math/w_jnf.c: Likewise.
15060         * math/w_log.c: Likewise.
15061         * math/w_log10.c: Likewise.
15062         * math/w_log10f.c: Likewise.
15063         * math/w_log10l.c: Likewise.
15064         * math/w_log2.c: Likewise.
15065         * math/w_log2f.c: Likewise.
15066         * math/w_log2l.c: Likewise.
15067         * math/w_logf.c: Likewise.
15068         * math/w_logl.c: Likewise.
15069         * math/w_sqrt.c: Likewise.
15070         * math/w_sqrtf.c: Likewise.
15071         * math/w_sqrtl.c: Likewise.
15072         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15073         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15074         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15075         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15076         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15078 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15080         [BZ #9739]
15081         * manual/string.texi (strnlen): Use correct parameter name in
15082         equivalent expression.
15084 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15086         [BZ #11174]
15087         * manual/users.texi (seteuid): Consistently use neweuid for
15088         argument name.
15090 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15092         [BZ #13704]
15093         * manual/nss.texi (Services in the NSS configuration): Correct
15094         list of services in example configuration file.
15096 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15098         [BZ #11322]
15099         * manual/arith.texi: Remove statements about negative zero
15100         behaving identically to zero.
15102 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15104         [BZ #5993]
15105         * manual/install.texi: Do not document upgrading from libc5.
15107 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15109         [BZ #4596]
15110         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15112 2012-02-18  David S. Miller  <davem@davemloft.net>
15114         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15115         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15116         %o7 across the call.
15117         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15118         instead.
15119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15120         SETUP_PIC_REG_LEAF.
15121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15122         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15123         * sysdeps/sparc/crtn.S: Likewise.
15125 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15127         * aout/Makefile: Remove.
15129 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15131         [BZ #13058]
15132         * manual/examples/argp-ex1.c (main): Format definition in GNU
15133         style.
15134         * manual/examples/argp-ex2.c (main): Likewise.
15135         * manual/examples/argp-ex3.c (main): Likewise.
15136         * manual/examples/argp-ex4.c (main): Likewise.
15137         * manual/examples/longopt.c (main): Use new-style prototype
15138         definition.
15139         * manual/examples/strncat.c (main): Specify return type and use
15140         (void) for arguments.
15141         * manual/examples/subopt.c (main): Use char **argv argument.
15143 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15145         [BZ #5077]
15146         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15147         rounding modes.
15149 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15151         [BZ #6907]
15152         * manual/string.texi (strchr): Change when strchrnul is
15153         recommended.
15155 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15157         [BZ #174]
15158         * manual/locale.texi (setlocale): Document LOCPATH.
15160 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15162         [BZ #10210]
15163         * manual/process.texi (execle): Move @dots{} before last argument.
15165 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15167         [BZ #12047]
15168         * manual/charset.texi (Generic Charset Conversion): Fix typo
15169         (LC_TYPE -> LC_CTYPE).
15171 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15173         [BZ #5805]
15174         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15175         (scalbnf): Likewise.
15176         (scalbnl): Likewise.
15177         (scalbln): Likewise.
15178         (scalblnf): Likewise.
15179         (scalblnl): Likewise.
15180         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15181         (vwarnx): Likewise.
15182         (verr): Likewise.
15183         (verrx): Likewise.
15184         * manual/filesys.texi (telldir): Use braces around return type.
15185         * manual/llio.texi (mmap): Add space after comma.
15186         (mmap64): Likewise.
15187         * manual/math.texi (jn): Use @var{} on parameter names.
15188         (jnf): Likewise.
15189         (jnl): Likewise.
15190         (yn): Likewise.
15191         (ynf): Likewise.
15192         (ynl): Likewise.
15193         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15194         line.
15195         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15196         "...".
15197         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15198         (sched_get_priority_max): Likewise.
15199         * manual/signal.texi (sigvec): Add space after comma.
15200         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15201         names.
15202         (if_indextoname): Likewise.
15203         (if_freenameindex): Likewise.
15204         (sendto): Use ',' instead of '.' in prototype.
15205         * manual/startup.texi (syscall): Use @dots{} instead of literal
15206         "...".
15207         * manual/stdio.texi (__fpending): Separate initial words of
15208         paragraph from @deftypefun line.
15209         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15210         "...".
15211         (vsyslog): Use @var{} on parameter names.
15212         * manual/terminal.texi (stty): Use @var{} on parameter names.
15213         * manual/users.texi (getutmp): Use @var{} on parameter names.
15214         (getutmpx): Likewise.
15216 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15218         [BZ #6884]
15219         * manual/stdio.texi (fopen): Fix typos in description of
15220         ",ccs=STRING".
15222 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15224         [BZ #4026]
15225         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15226         get clock_id definition.
15228 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15230         [BZ #4822]
15231         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15232         (madvise): Cast every argument to void on its own.
15234 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15236         [BZ #9902]
15237         * manual/startup.texi (Exit Status): Fix typo.
15239 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15241         [BZ #10140]
15242         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15243         * manual/examples/argp-ex2.c: Likewise.
15244         * manual/examples/argp-ex3.c: Likewise.
15246 2012-02-16  Richard Henderson  <rth@redhat.com>
15248         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15249         * sysdeps/s390/s390-32/initfini.c: Remove.
15250         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15251         * sysdeps/s390/s390-64/initfini.c: Remove.
15253 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15255         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15256         compiler output for sysdeps/generic/initfini.c.
15257         * sysdeps/sh/elf/initfini.c: Remove file.
15259 2012-02-16  David S. Miller  <davem@davemloft.net>
15261         [BZ #11494]
15262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15264         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15265         * sysdeps/sparc/crti.S: New file.
15266         * sysdeps/sparc/crtn.S: New file.
15267         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15268         * sysdeps/sparc/sparc64/Makefile: Likewise.
15270 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15272         [BZ #3335]
15273         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15275 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15277         [BZ #4822]
15278         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15280         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15281         (write, read, close): Likewise.
15282         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15284 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15286         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15287         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15288         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15289         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15290         <bits/signalfd.h>.
15291         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15293         bits/signalfd.h.
15295 2012-02-14  Marek Polacek  <polacek@redhat.com>
15297         * sysdeps/x86_64/crti.S: New file.
15298         * sysdeps/x86_64/crtn.S: New file.
15299         * sysdeps/x86_64/elf/initfini.c: Remove file.
15301 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15303         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15304         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15305         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15306         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15307         <bits/inotify.h>.
15308         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15310         bits/inotify.h.
15312 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15314         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15315         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15316         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15317         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15318         <bits/eventfd.h>.
15319         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15321         bits/eventfd.h.
15323 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15325         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15326         __feraiseexcept instead of feraiseexcept.
15328         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15329         nanosleep invocations.
15330         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15331         strings, and add error checking for a nanosleep invocations.
15333 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15335         Replace FSF snail mail address with URLs, as per GNU coding standards.
15336         Most of the snail mail addresses were wrong anyway, and omitting
15337         them makes the source code easier to maintain.  Almost all of the
15338         changes are to license notices and to locale LC_IDENTIFICATION
15339         addresses, except for this one:
15340         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15341         not its snail mail address.
15343 2012-02-09  Richard Henderson  <rth@twiddle.net>
15345         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15346         of kernel-features.h.
15348         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15350 2012-02-08  Marek Polacek  <polacek@redhat.com>
15352         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15353         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15354         * sysdeps/gnu/_G_config.h: Likewise.
15355         * sysdeps/generic/_G_config.h: Likewise.
15357 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15359         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15360         tests.
15361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15363         * sysdeps/powerpc/powerpc32/crti.S: New file.
15364         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15365         * sysdeps/powerpc/powerpc64/crti.S: New file.
15366         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15368         * Makeconfig (have-initfini): Don't set.
15369         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15370         * configure.in (nopic_initfini): Don't substitute.
15371         * config.h.in (HAVE_INITFINI): Don't #undef.
15372         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15373         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15375 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15377         Support crti.S and crtn.S provided directly by architectures.
15378         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15379         [crti.S in sysdirs] (omit-deps): Likewise.
15380         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15381         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15382         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15383         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15384         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15385         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15386         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15387         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15388         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15389         compiler output for sysdeps/generic/initfini.c.
15390         * sysdeps/i386/elf/Makefile: Remove file.
15391         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15393 2012-02-07  Marek Polacek  <polacek@redhat.com>
15395         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15396         * sysdeps/gnu/_G_config.h: Likewise.
15397         * sysdeps/mach/hurd/_G_config.h: Likewise.
15399 2012-02-07  Marek Polacek  <polacek@redhat.com>
15401         * math/Makefile (tests): Add tst-CMPLX2.
15402         * math/tst-CMPLX2.c: New file.
15404 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15406         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15408         * math/libm-test.inc (jn_test): Add missing L suffix.
15410 2012-02-06  Marek Polacek  <polacek@redhat.com>
15412         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15413         * sysdeps/i386/fpu/e_powf.S: Likewise.
15414         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15415         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15416         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15417         * sysdeps/i386/fpu/e_pow.S: Likewise.
15418         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15419         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15420         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15421         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15422         * sysdeps/i386/fpu/e_log2.S: Likewise.
15423         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15424         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15425         * sysdeps/i386/fpu/e_powl.S: Likewise.
15426         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15427         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15428         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15429         * sysdeps/i386/fpu/e_logl.S: Likewise.
15430         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15431         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15432         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15433         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15434         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15435         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15436         * sysdeps/i386/fpu/e_log.S: Likewise.
15437         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15438         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15439         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15440         * sysdeps/i386/fpu/e_logf.S: Likewise.
15441         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15442         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15443         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15444         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15445         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15446         * sysdeps/i386/fpu/e_log10.S: Likewise.
15447         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15448         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15449         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15450         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15451         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15452         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15453         * sysdeps/i386/asm-syntax.h: Likewise.
15454         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15455         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15456         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15457         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15458         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15459         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15460         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15461         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15462         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15463         * sysdeps/powerpc/sysdep.h: Likewise.
15464         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15465         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15467 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15469         [BZ #411]
15470         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15472 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15474         * sysdeps/i386/sysdep.h: Include <features.h>.
15475         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15476         version.
15478 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15480         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15481         Define.
15482         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15483         LOAD_PIC_REG_STR.
15485 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15487         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15488         (SETUP_PIC_REG): Use GET_PC_THUNK.
15489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15490         macro.
15492 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15494         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15495         for non-PIC compilation.
15496         (SETUP_PIC_REG): Add .p2align directive.
15497         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15498         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15499         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15500         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15501         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15502         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15503         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15504         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15505         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15506         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15507         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15508         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15509         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15510         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15511         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15512         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15513         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15514         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15515         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15516         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15517         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15518         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15519         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15520         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15521         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15522         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15523         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15524         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15525         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15526         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15527         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15528         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15529         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15530         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15531         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15532         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15533         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15534         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15535         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15536         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15537         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15539 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15541         * math/tst-CMPLX.c: Include <stdio.h>.
15543 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15545         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15546         float.
15547         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15548         * sysdeps/sparc/bits/mathdef.h: Likewise.
15550 2012-01-31  Marek Polacek  <polacek@redhat.com>
15552         * libio/libio.h: Don't define _PARAMS.
15553         * locale/programs/config.h: Don't define PARAMS.
15554         * stdlib/strtol_l.c: Likewise.
15555         (__strtol_l): Remove PARAMS from the prototype.
15557 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15559         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15560         names.  Just use the correct names.  Remove unnecessary wrapper
15561         functions.
15562         * malloc/arena.c: Likewise.
15563         * malloc/hooks.c: Likewise.
15565         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15566         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15567         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15569 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
15571         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15572         into tail calls.
15573         (update_get_addr): New function.
15574         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15575         GET_ADDR_MODULE parameter.
15577 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15579         * crypt/cert.c: Remove __STDC__ conditionals.
15580         * crypt/crypt-entry.c: Likewise.
15581         * crypt/crypt_util.c: Likewise.
15582         * libio/filedoalloc.c: Likewise.
15583         * libio/fileops.c: Likewise.
15584         * libio/genops.c: Likewise.
15585         * libio/iofclose.c: Likewise.
15586         * libio/iofdopen.c: Likewise.
15587         * libio/iofopen.c: Likewise.
15588         * libio/iofopen64.c: Likewise.
15589         * libio/iogetdelim.c: Likewise.
15590         * libio/iopopen.c: Likewise.
15591         * libio/obprintf.c: Likewise.
15592         * libio/oldfileops.c: Likewise.
15593         * libio/oldiofclose.c: Likewise.
15594         * libio/oldiofdopen.c: Likewise.
15595         * libio/oldiofopen.c: Likewise.
15596         * libio/oldiopopen.c: Likewise.
15597         * libio/wfiledoalloc.c: Likewise.
15598         * libio/wgenops.c: Likewise.
15599         * locale/programs/xmalloc.c: Likewise.
15600         * misc/syslog.c: Likewise.
15601         * stdio-common/xbug.c: Likewise.
15602         * string/memchr.c: Likewise.
15603         * string/memcmp.c: Likewise.
15604         * string/memrchr.c: Likewise.
15605         * string/rawmemchr.c: Likewise.
15606         * sysdeps/posix/getcwd.c: Likewise.
15607         * time/strftime_l.c: Likewise.
15609 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15611         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15612         * config.make.in (config-cflags-sse2avx): Define.
15613         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15614         Fix typo.
15616 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
15618         * scripts/config.guess: Update from upstream config git repository.
15619         * scripts/config.sub: Likewise.
15621 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
15623         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15624         (EM_NUM): Update.
15625         (R_TILEPRO_*, R_TILEGX_*): New macros.
15627         * scripts/firstversions.awk: Fix bug in version range handling.
15629         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15631         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15633         * include/sys/epoll.h: New file.
15634         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15635         libc_hidden_def.
15637 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
15639         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15640         Avoid unnecessary __WORDSIZE == 64 test.
15641         (fmaxf): Use VEX format if possible.
15642         (fmax): Likewise.
15643         (fminf): Likewise.
15644         (fmin): Likewise.
15646         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15647         * math/math_private.h: Remove libc_fegetround* and
15648         libc_fesetround*.
15649         * sysdeps/i386/configure.in: Check for -msse2avx.
15650         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15651         also if SSE2AVX is defined.
15652         Remove libc_fegetround* and libc_fesetround*.
15653         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15654         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
15655         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15656         of HAS_YMM_USABLE.
15657         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15658         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15659         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15660         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15661         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15663         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15665 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15667         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15668         size is not set.
15669         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15671 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
15673         [BZ #13618]
15674         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15675         relocation.
15676         * Makeconfig (libm): Define.
15677         * elf/Makefile: Add rules to build and run tst-relsort1.
15678         * elf/tst-relsort1.c: New file.
15679         * elf/tst-relsort1mod1.c: New file.
15680         * elf/tst-relsort1mod2.c: New file.
15682 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
15684         * math/s_ldexp.c: Remove __STDC__ conditionals.
15685         * math/s_ldexpf.c: Likewise.
15686         * math/s_ldexpl.c: Likewise.
15687         * math/s_nextafter.c: Likewise.
15688         * math/s_nexttowardf.c: Likewise.
15689         * math/s_significand.c: Likewise.
15690         * math/s_significandf.c: Likewise.
15691         * math/s_significandl.c: Likewise.
15692         * math/w_jnl.c: Likewise.
15693         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15694         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15695         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15696         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15697         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15699         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15700         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15701         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15702         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15703         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15704         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15705         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15706         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15707         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15708         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15709         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15710         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15711         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15712         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15713         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15714         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15715         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15716         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15717         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15718         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15719         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15720         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15721         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15722         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15723         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15724         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15725         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15726         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15727         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15728         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15729         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15730         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15731         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15732         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15733         * sysdeps/ieee754/k_standard.c: Likewise.
15734         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15736         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15737         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15738         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15739         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15740         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15741         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15742         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15743         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15744         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15745         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15746         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15747         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15748         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15749         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15750         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15751         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15752         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15753         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15754         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15755         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15756         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15757         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15758         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15759         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15763         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15764         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15765         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15766         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15767         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15768         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15769         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15770         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15771         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15772         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15773         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15774         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15775         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15776         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15777         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15778         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15779         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15780         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15781         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15782         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15783         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15784         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15785         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15786         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15787         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15789         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15790         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15791         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15792         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15793         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15794         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15795         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15796         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15797         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15798         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15799         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15800         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15801         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15802         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15803         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15804         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15805         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15806         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15807         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15808         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15809         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15810         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15811         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15812         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15813         * sysdeps/ieee754/s_matherr.c: Likewise.
15814         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15815         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15816         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15819 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15821         * crypt/md5.h: Remove __STDC__ conditionals.
15822         * libio/libioP.h: Likewise.
15823         * locale/programs/config.h: Likewise.
15824         * sysdeps/generic/sysdep.h: Likewise.
15825         * sysdeps/i386/asm-syntax.h: Likewise.
15826         * sysdeps/s390/asm-syntax.h: Likewise.
15827         * sysdeps/unix/sysdep.h: Likewise.
15828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15831 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15833         * libio/libio.h: Remove __STDC__ conditionals.
15834         * malloc/obstack.h: Likewise.
15835         * math/complex.h: Likewise.
15836         * math/math.h: Likewise.
15837         * sysdeps/generic/_G_config.h: Likewise.
15838         * sysdeps/gnu/_G_config.h: Likewise.
15839         * sysdeps/mach/hurd/_G_config.h: Likewise.
15840         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15841         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15842         * sysdeps/sparc/bits/mathdef.h: Likewise.
15844 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
15846         [BZ #13583]
15847         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15848         Clean up HAS_* macros.
15849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15850         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15851         possible.
15852         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15853         HAS_AVX.
15854         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15855         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15856         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15857         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15858         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15860 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
15862         * elf/tst-unique3.cc (gets): Remove declaration.
15863         * elf/tst-unique3lib.cc (gets): Likewise.
15864         * elf/tst-unique3lib2.cc (gets): Likewise.
15865         * elf/tst-unique4.cc (gets): Likewise.
15867 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
15869         * include/stdio.h: Add C++ protection.  Add gets declarations and
15870         definitions.
15871         * debug/tst-chk1.c: Don't declare gets here.
15872         * stdio-common/tst-gets.c: Likewise.
15874 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15876         * posix/glob: Remove directory.
15878 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15880         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15882 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
15884         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15885         of the non-standard EPFNOSUPPORT.
15887 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15889         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15890         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15891         ANYWHERE set to 1 only on KERN_NO_SPACE error.
15893 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
15895         * wcsmbs/uchar.h: Test __STDC_VERSION__.
15897 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
15899         * nscd/aicache.c (addhstaiX): Do not cache negative results of
15900         transient errors.
15901         * nscd/grpcache.c (cache_addgr): Likewise.
15902         * nscd/hstcache.c (cache_addhst): Likewise.
15903         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15904         * nscd/pwdcache.c (cache_addpw): Likewise.
15905         * nscd/servicescache.c (cache_addserv): Likewise.
15907 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
15909         * malloc/malloc.c: Various cleanups.
15910         * malloc/hooks.c: Likewise.
15912         * stdlib/Makefile (tests): Add bug-fmtmsg1.
15913         * stdlib/bug-fmtmsg1.c: New file.
15915         * stdlib/fmtmsg.c (init): Add missing unlock.
15916         Patch by Peng Haitao <penght@cn.fujitsu.com>.
15918 2012-01-12  Marek Polacek  <polacek@redhat.com>
15920         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15921         and _GNU_SOURCE.
15923 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15925         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15926         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15927         macro to ensure uniqueness of label name.
15928         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15929         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15931 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
15933         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15935         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15936         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15937         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15938         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15940 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
15942         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15944         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15945         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15946         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15948         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15950         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15951         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15952         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15955         * math/bits/math-finite.h: Add ldexp support.
15957 2012-01-10  Marek Polacek  <polacek@redhat.com>
15959         * locale/programs/localedef.h (show_archive_content): Add noreturn
15960         attribute.
15962 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
15964         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15966 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15968         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15970         * io/Makefile (headers): Add bits/poll2.h.
15972 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
15974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15975         typo #include statement.
15977 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15979         * include/sys/cdefs.h: Define __attribute_alloc_size.
15980         * catgets/gencat.c: Add alloc_size attribute and apply consistently
15981         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15982         * elf/pldd.c: Likewise.
15983         * iconv/iconv_charmap.c: Likewise.
15984         * iconv/iconvconfig.c: Likewise.
15985         * iconv/strtab.c: Likewise.
15986         * locale/programs/locale.c: Likewise.
15987         * locale/programs/localedef.h: Likewise.
15988         * locale/programs/simple-hash.c: Likewise.
15989         * nscd/nscd.h: Likewise.
15990         * nss/makedb.c: Likewise.
15991         * sysdeps/generic/ldconfig.h: Likewise.
15992         * locale/programs/localedef.c: Remove xmalloc prototype.
15993         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15995 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15997         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15998         appropriate.
16000 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16002         * math/Makefile (tests): Add tst-CMPLX.
16003         * math/tst-CMPLX.c: New file.
16005         * math/complex.h (CMPLXL): Fix typo.
16007         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16008         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16009         GLIBC_2.16.
16010         * debug/tst-chk1.c: Add poll and ppoll tests.
16011         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16012         * include/sys/poll.h: Add hidden proto for ppoll.
16013         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16014         * sysdeps/mach/hurd/ppoll.c: Likewise.
16015         * io/ppoll.c: Likewise.
16016         * debug/poll_chk.c: New file.
16017         * debug/ppoll_chk.c: New file.
16018         * include/bits/poll2.h: New file.
16019         * io/bits/poll2.h: New file.
16021         [BZ #1350]
16022         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16024         * configure.in: static is always set to yes.  Remove.
16025         * config.make.in: Don't set build-static.
16026         * Makeconfig: Remove use of build-static.
16027         * dlfcn/Makefile: Likewise.
16028         * elf/Makefile: Likewise.
16029         * math/Makefile: Likewise.
16030         * misc/Makefile: Likewise.
16031         * nptl/Makefile: Likewise.
16032         * sysdeps/mach/hurd/Makefile: Likewise.
16034         * configure.in: PWD_P is not used anymore.
16035         * config.make.in: Remove PWD_P entry.
16037         * configure.in: Remove last remnants of RANLIB.
16038         No need to check for signed size_t anymore.
16039         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16040         and IA-64.
16041         Remove __builtin_expect test because we require at least gcc 3.4.
16042         * aclocal.m4: Likewise.
16044         * wcsmbs/mbrtoc16.c: Implement using towc function.
16045         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16046         * wcsmbs/wcsmbsload.c: Likewise.
16047         * iconv/gconv_simple.c: Likewise.
16048         * iconv/gconv_int.h: Likewise.
16049         * iconv/gconv_builtin.h: Likewise.
16050         * iconv/iconv_prog.c: Remove CHAR16 handling.
16052         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16054         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16056         * configure.in: Remove --with-elf and --enable-bounded options.
16057         Dont set base_machine for ia64.  More non-ELF conditions removed.
16058         Remove testing and setting of leading underscore information.
16059         * config.make.in (build-bounded): Set to no.
16060         * config.h.in: Remove NO_UNDERSCORES entry.
16061         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16062         them.
16063         * csu/start.c: Remove !NO_UNDERSCORE code.
16064         * locale/localeinfo.h: Likewise.
16065         * sysdeps/generic/machine-gmon.h: Likewise.
16066         * sysdeps/generic/sysdep.h: Likewise.
16067         * sysdeps/i386/sysdep.h: Likewise.
16068         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16069         * sysdeps/mach/sysdep.h: Likewise.
16070         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16071         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16072         * sysdeps/sh/sysdep.h: Likewise.
16073         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16074         * sysdeps/unix/i386/sysdep.S: Likewise.
16075         * sysdeps/unix/sparc/start.c: Likewise.
16076         * sysdeps/unix/sparc/sysdep.S: Likewise.
16077         * sysdeps/unix/sparc/sysdep.h: Likewise.
16078         * sysdeps/unix/start.c: Likewise.
16079         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16080         * sysdeps/x86_64/sysdep.h: Likewise.
16082 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16084         [BZ #13553]
16085         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16086         for non-gcc.
16087         * argp/argp-fmtstream.h: Use const instead __const.
16088         * argp/argp.h: Likewise.
16089         * assert/assert.h: Likewise.
16090         * bits/fenv.h: Likewise.
16091         * bits/sched.h: Likewise.
16092         * bits/sigset.h: Likewise.
16093         * bits/sigthread.h: Likewise.
16094         * catgets/nl_types.h: Likewise.
16095         * conform/data/pthread.h-data: Likewise.
16096         * crypt/crypt-private.h: Likewise.
16097         * crypt/crypt.h: Likewise.
16098         * crypt/crypt_util.c: Likewise.
16099         * ctype/ctype.h: Likewise.
16100         * debug/execinfo.h: Likewise.
16101         * debug/mbsnrtowcs_chk.c: Likewise.
16102         * debug/mbsrtowcs_chk.c: Likewise.
16103         * debug/wcsnrtombs_chk.c: Likewise.
16104         * debug/wcsrtombs_chk.c: Likewise.
16105         * debug/wcstombs_chk.c: Likewise.
16106         * dirent/dirent.h: Likewise.
16107         * dlfcn/dlfcn.h: Likewise.
16108         * elf/neededtest4.c: Likewise.
16109         * grp/grp.h: Likewise.
16110         * gshadow/gshadow.h: Likewise.
16111         * iconv/gconv.h: Likewise.
16112         * iconv/gconv_int.h: Likewise.
16113         * iconv/gconv_simple.c: Likewise.
16114         * iconv/iconv.h: Likewise.
16115         * iconv/loop.c: Likewise.
16116         * iconv/skeleton.c: Likewise.
16117         * include/aio.h: Likewise.
16118         * include/aliases.h: Likewise.
16119         * include/argz.h: Likewise.
16120         * include/arpa/inet.h: Likewise.
16121         * include/assert.h: Likewise.
16122         * include/dirent.h: Likewise.
16123         * include/dlfcn.h: Likewise.
16124         * include/execinfo.h: Likewise.
16125         * include/fcntl.h: Likewise.
16126         * include/fenv.h: Likewise.
16127         * include/glob.h: Likewise.
16128         * include/grp.h: Likewise.
16129         * include/libintl.h: Likewise.
16130         * include/mntent.h: Likewise.
16131         * include/netdb.h: Likewise.
16132         * include/pwd.h: Likewise.
16133         * include/rpc/netdb.h: Likewise.
16134         * include/sched.h: Likewise.
16135         * include/search.h: Likewise.
16136         * include/shadow.h: Likewise.
16137         * include/signal.h: Likewise.
16138         * include/stdio.h: Likewise.
16139         * include/stdlib.h: Likewise.
16140         * include/string.h: Likewise.
16141         * include/sys/socket.h: Likewise.
16142         * include/sys/stat.h: Likewise.
16143         * include/sys/statfs.h: Likewise.
16144         * include/sys/statvfs.h: Likewise.
16145         * include/sys/syslog.h: Likewise.
16146         * include/sys/time.h: Likewise.
16147         * include/sys/uio.h: Likewise.
16148         * include/time.h: Likewise.
16149         * include/unistd.h: Likewise.
16150         * include/utmp.h: Likewise.
16151         * include/wchar.h: Likewise.
16152         * include/wctype.h: Likewise.
16153         * inet/aliases.h: Likewise.
16154         * inet/arpa/inet.h: Likewise.
16155         * inet/netinet/ether.h: Likewise.
16156         * inet/netinet/in.h: Likewise.
16157         * intl/libintl.h: Likewise.
16158         * io/bits/fcntl2.h: Likewise.
16159         * io/fcntl.h: Likewise.
16160         * io/ftw.h: Likewise.
16161         * io/sys/poll.h: Likewise.
16162         * io/sys/stat.h: Likewise.
16163         * io/sys/statfs.h: Likewise.
16164         * io/sys/statvfs.h: Likewise.
16165         * io/utime.h: Likewise.
16166         * libio/bits/stdio.h: Likewise.
16167         * libio/bits/stdio2.h: Likewise.
16168         * libio/libio.h: Likewise.
16169         * libio/libioP.h: Likewise.
16170         * libio/stdio.h: Likewise.
16171         * locale/lc-ctype.c: Likewise.
16172         * locale/locale.h: Likewise.
16173         * login/utmp.h: Likewise.
16174         * malloc/arena.c: Likewise.
16175         * malloc/malloc.c: Likewise.
16176         * malloc/malloc.h: Likewise.
16177         * malloc/mcheck.c: Likewise.
16178         * malloc/mtrace.c: Likewise.
16179         * math/bits/mathcalls.h: Likewise.
16180         * math/fenv.h: Likewise.
16181         * math/math_private.h: Likewise.
16182         * misc/bits/error.h: Likewise.
16183         * misc/bits/syslog.h: Likewise.
16184         * misc/err.h: Likewise.
16185         * misc/error.h: Likewise.
16186         * misc/fstab.h: Likewise.
16187         * misc/mntent.h: Likewise.
16188         * misc/regexp.h: Likewise.
16189         * misc/search.h: Likewise.
16190         * misc/sgtty.h: Likewise.
16191         * misc/sys/mman.h: Likewise.
16192         * misc/sys/syslog.h: Likewise.
16193         * misc/sys/uio.h: Likewise.
16194         * misc/sys/xattr.h: Likewise.
16195         * misc/ttyent.h: Likewise.
16196         * nis/rpcsvc/ypclnt.h: Likewise.
16197         * nss/nss.h: Likewise.
16198         * posix/bits/unistd.h: Likewise.
16199         * posix/fnmatch.h: Likewise.
16200         * posix/glob.h: Likewise.
16201         * posix/sched.h: Likewise.
16202         * posix/spawn.h: Likewise.
16203         * posix/sys/wait.h: Likewise.
16204         * posix/unistd.h: Likewise.
16205         * posix/wordexp.h: Likewise.
16206         * pwd/pwd.h: Likewise.
16207         * resolv/netdb.h: Likewise.
16208         * resource/sys/resource.h: Likewise.
16209         * rt/aio.h: Likewise.
16210         * rt/bits/mqueue2.h: Likewise.
16211         * rt/mqueue.h: Likewise.
16212         * shadow/shadow.h: Likewise.
16213         * signal/signal.h: Likewise.
16214         * socket/send.c: Likewise.
16215         * socket/sendto.c: Likewise.
16216         * socket/sys/socket.h: Likewise.
16217         * stdio-common/printf.h: Likewise.
16218         * stdlib/bits/stdlib.h: Likewise.
16219         * stdlib/fmtmsg.h: Likewise.
16220         * stdlib/monetary.h: Likewise.
16221         * stdlib/stdlib.h: Likewise.
16222         * stdlib/ucontext.h: Likewise.
16223         * streams/stropts.h: Likewise.
16224         * string/argz.h: Likewise.
16225         * string/bits/string2.h: Likewise.
16226         * string/string.h: Likewise.
16227         * string/strings.h: Likewise.
16228         * sunrpc/rpc/auth.h: Likewise.
16229         * sunrpc/rpc/auth_des.h: Likewise.
16230         * sunrpc/rpc/clnt.h: Likewise.
16231         * sunrpc/rpc/netdb.h: Likewise.
16232         * sunrpc/rpc/pmap_clnt.h: Likewise.
16233         * sunrpc/rpc/xdr.h: Likewise.
16234         * sysdeps/generic/inttypes.h: Likewise.
16235         * sysdeps/generic/net/if.h: Likewise.
16236         * sysdeps/generic/sys/swap.h: Likewise.
16237         * sysdeps/gnu/net/if.h: Likewise.
16238         * sysdeps/gnu/utmpx.h: Likewise.
16239         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16240         * sysdeps/i386/i486/bits/string.h: Likewise.
16241         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16242         * sysdeps/s390/bits/string.h: Likewise.
16243         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16244         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16245         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16246         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16247         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16248         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16249         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16250         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16251         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16252         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16253         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16254         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16255         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16256         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16257         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16258         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16259         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16261         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16263         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16264         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16265         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16266         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16267         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16268         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16269         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16270         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16271         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16272         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16273         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16274         * sysvipc/sys/ipc.h: Likewise.
16275         * sysvipc/sys/msg.h: Likewise.
16276         * sysvipc/sys/sem.h: Likewise.
16277         * sysvipc/sys/shm.h: Likewise.
16278         * termios/termios.h: Likewise.
16279         * time/sys/time.h: Likewise.
16280         * time/time.h: Likewise.
16281         * wcsmbs/bits/wchar2.h: Likewise.
16282         * wcsmbs/uchar.h: Likewise.
16283         * wcsmbs/wchar.h: Likewise.
16284         * wctype/wctype.h: Likewise.
16286         [BZ #13551]
16287         * Makeconfig: Remove all but ELF support including AIX support.
16288         * Makerules: Likewise.
16289         * config.h.in: Likewise.
16290         * config.make.in: Likewise.
16291         * configure: Likewise.
16292         * configure.in: Likewise.
16293         * csu/Makefile: Likewise.
16294         * csu/version.c: Likewise.
16295         * debug/Makefile: Likewise.
16296         * dlfcn/Makefile: Likewise.
16297         * elf/Makefile: Likewise.
16298         * extra-lib.mk: Likewise.
16299         * iconv/Makefile: Likewise.
16300         * include/libc-symbols.h: Likewise.
16301         * include/shlib-compat.h: Likewise.
16302         * resolv/Makefile: Likewise.
16303         * resolv/res_libc.c: Likewise.
16304         * rt/Makefile: Likewise.
16305         * sysdeps/i386/asm-syntax.h: Likewise.
16306         * sysdeps/i386/sysdep.h: Likewise.
16307         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16308         * sysdeps/mach/sysdep.h: Likewise.
16309         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16310         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16311         * sysdeps/s390/asm-syntax.h: Likewise.
16312         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16313         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16314         * sysdeps/sh/sysdep.h: Likewise.
16315         * sysdeps/unix/sparc/sysdep.h: Likewise.
16316         * sysdeps/wordsize-32/divdi3.c: Likewise.
16317         * sysdeps/x86_64/sysdep.h: Likewise.
16319         * argp/Versions: Remove _argp_unlock_xxx.
16321         [BZ #13559]
16322         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16323         * abilist/libBrokenLocale.abilist: Likewise.
16324         * abilist/libanl.abilist: Likewise.
16325         * abilist/libc.abilist: Likewise.
16326         * abilist/libcrypt.abilist: Likewise.
16327         * abilist/libdl.abilist: Likewise.
16328         * abilist/libm.abilist: Likewise.
16329         * abilist/libnsl.abilist: Likewise.
16330         * abilist/libpthread.abilist: Likewise.
16331         * abilist/libresolv.abilist: Likewise.
16332         * abilist/librt.abilist: Likewise.
16333         * abilist/libthread_db.abilist: Likewise.
16334         * abilist/libutil.abilist: Likewise.
16335         * abilist/libnss_db.abilist: New file.
16337         * scripts/abilist.awk: Add support for indirect functions.
16339         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16341         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16343         * shlib-versions: Remove entries for ports architectures.
16345         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16346         files in ports.
16347         * elf/stackguard-macros.h: Remove support for IA-64.
16348         * elf/tst-auditmod1.c: Likewise.
16349         * sysdeps/generic/ldsodefs.h: Likewise.
16351         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16352         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16353         configure files.
16355         [BZ #13552]
16356         * configure.in: Remove --enable-omitfp support.
16357         * FAQ.in: Adjust.
16358         * config.make.in: Likewise.
16359         * Makeconfig: Likewise.
16360         * manual/install.texi: Likewise.
16362         In case anyone cares, the IA-64 architecture could move to ports.
16363         * sysdeps/ia64/*: Removed.
16364         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16365         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16367         [BZ #13555]
16368         * configure.in: Remove entries for unsupported architectures.
16370         [BZ #13533]
16371         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16372         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16373         routines.
16374         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16375         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16376         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16377         fall back to using wcrtomb.
16378         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16379         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16380         renaming.
16381         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16382         * wcsmbs/tst-c16c32-1.c: New file.
16384         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16385         local variable.
16387         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16389         * elf/tst-unique3.cc: Add explicit declaration of gets.
16390         * elf/tst-unique3lib.cc: Likewise.
16391         * elf/tst-unique3lib2.cc: Likewise.
16392         * elf/tst-unique4.cc: Likewise.
16394         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16396 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16398         [BZ #13566]
16399         * assert/assert.h (static_assert): Don't define for C++.
16400         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16401         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16403 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16405         * iconv/loop.c (single loop): Fix assertion in storing of
16406         remaining bytes.
16408         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16410 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16412         * posix/getconf.c: Update copyright year.
16413         * nss/getent.c: Likewise.
16414         * nss/makedb.c: Likewise.
16415         * iconv/iconvconfig.c: Likewise.
16416         * iconv/iconv_prog.c: Likewise.
16417         * elf/ldconfig.c: Likewise.
16418         * elf/pldd.c: Likewise.
16419         * elf/sotruss.ksh: Likewise.
16420         * catgets/gencat.c: Likewise.
16421         * csu/version.c: Likewise.
16422         * elf/ldd.bash.in: Likewise.
16423         * elf/sprof.c (print_version): Likewise.
16424         * locale/programs/locale.c: Likewise.
16425         * locale/programs/localedef.c: Likewise.
16426         * login/programs/pt_chown.c: Likewise.
16427         * nscd/nscd.c (print_version): Likewise.
16428         * debug/xtrace.sh: Likewise.
16429         * malloc/memusage.sh: Likewise.
16430         * malloc/mtrace.pl: Likewise.
16431         * debug/catchsegv.sh: Likewise.
16433 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16435         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16436         pure attribute.
16438 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16440         [BZ #13533]
16441         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16442         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16443         transformations.
16444         * iconv/gconv_int.h: Likewise.
16445         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16446         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16447         from libc for GLIBC_2.16.
16448         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16449         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16450         * wcsmbs/uchar.h: Really define mbstate_t.
16451         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16452         * wcsmbs/c16rtomb.c: New file.
16453         * wcsmbs/mbrtoc16.c: New file.
16454         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16455         for C/POSIX locale.
16456         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16457         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16459         * wcsmbs/wchar.h: Add missing __restrict.
16461 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16463         [BZ #13532]
16464         * time/Makefile (routines): Add timespec_get.
16465         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16466         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16467         timespec for ISO C11.
16468         * time/timespec_get.c: New file.
16469         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16470         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16472         [BZ #13531]
16473         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16474         * stdlib/stdlib.h: Declare aligned_alloc.
16475         * Versions.def: Add GLIBC_2.16 for libc.
16476         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16478         [BZ 13527]
16479         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16480         ISO C11.
16482         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16483         code.
16485         [BZ #13528]
16486         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16488         [BZ #13529]
16489         * assert/assert.h (static_assert): Define.
16491         * version.h: Update for 2.16 development version.
16493         [BZ #13526]
16494         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16495         _ISOC11_SOURCE.
16497         * version.h (RELEASE): Bump for 2.15 release.
16498         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16500         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16501         Patch by Marek Polacek <mpolacek@redhat.com>.
16503         * bits/byteswap.h: Protect long long constants with __extension__.
16504         * sysdeps/i386/bits/byteswap.h: Likewise.
16505         * sysdeps/ia64/bits/byteswap.h: Likewise.
16506         * sysdeps/s390/bits/byteswap.h: Likewise.
16507         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16509 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16511         [BZ #13540]
16512         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16513         destination buffer.
16514         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16516 2011-12-23  Marek Polacek  <polacek@redhat.com>
16518         * elf/dl-addr.c (determine_info): Add inline keyword.
16519         * elf/tst-auditmod4b.c (check_avx): Likewise.
16520         * elf/tst-auditmod6b.c (check_avx): Likewise.
16521         * elf/tst-auditmod6c.c (check_avx): Likewise.
16522         * elf/tst-auditmod7b.c (check_avx): Likewise.
16524 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16526         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16527         !__SSE_MATH__.
16529 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16531         [BZ #13540]
16532         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16533         processing for last bytes.
16535 2011-08-06  Bruno Haible  <bruno@clisp.org>
16537         [BZ #13061]
16538         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16539         U+0385, not to U+1FEE.
16541         [BZ #13062]
16542         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16543         entry for U+00A5 U+0301.
16545 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16547         [BZ #13166]
16548         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16549         buffer for the output is too small.
16551         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16552         optimization.
16554         [BZ #13185]
16555         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16556         SSE flags if possible.
16558 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16560         [BZ #13540]
16561         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16562         processing for last bytes.
16564 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16566         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16567         (syscall-list-default-options, syscall-list-default-condition)
16568         (syscall-list-includes): Define.
16569         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16570         list of ABIs and options and #if conditions for each ABI.  Do not
16571         handle common syscalls between ABIs specially.
16572         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16573         Remove.
16574         (syscall-list-variants, syscall-list-32bit-options)
16575         (syscall-list-32bit-condition, syscall-list-64bit-options)
16576         (syscall-list-64bit-condition): Define.
16577         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16578         (syscall-list-variants, syscall-list-32bit-options)
16579         (syscall-list-32bit-condition, syscall-list-64bit-options)
16580         (syscall-list-64bit-condition): Define.
16581         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16582         Remove.
16583         (syscall-list-variants, syscall-list-32bit-options)
16584         (syscall-list-32bit-condition, syscall-list-64bit-options)
16585         (syscall-list-64bit-condition): Define.
16586         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16587         Remove.
16588         (syscall-list-variants, syscall-list-32bit-options)
16589         (syscall-list-32bit-condition, syscall-list-64bit-options)
16590         (syscall-list-64bit-condition): Define.
16592 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16594         * locale/iso-639.def: Add brx entry.
16596         [BZ #13328]
16597         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16598         Proposed by Mariusz_Cukr <marcukr@op.pl>.
16600         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16601         __feraiseexcept_renamed.
16603 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16605         [BZ #13538]
16606         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16607         EPOLLET with unsigned values.
16608         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16609         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16611         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16612         to large cancellation.
16613         * math/s_cacoshf.c: Likewise.
16614         * math/s_cacoshl.c: Likewise.
16616 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
16618         [BZ #13305]
16619         [BZ #12786]
16620         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16621         * math/s_cacoshf.c: Likewise.
16622         * math/s_cacoshl.c: Likewise.
16624 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16626         [BZ #13439]
16627         * iconv/gconv.h: Define __GCONV_SWAP.
16628         * iconvdata/unicode.c: The swap bit must be stored in __flags.
16629         * iconvdata/utf-16.c: Likewise.
16630         * iconvdata/utf-32.c: Likewise.
16632 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16634         [BZ #13524]
16635         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16636         numerator after shifting it by one limb.
16638 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
16640         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16641         under [__USE_EXTERN_INLINES].
16643 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16645         [BZ #13446]
16646         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16648 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16650         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16651         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16652         optimized code.
16653         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16654         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16655         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16656         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16657         for strncasecmp/strncasecmp_l compilation.
16658         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16659         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16661 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
16663         [BZ #13484]
16664         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16665         of __asm__.
16667 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16669         [BZ #13506]
16670         * time/tzfile.c (__tzfile_read): Check values from file header.
16672 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16674         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16675         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16676         * powerpc/powerpc32/dl-start.S: Likewise.
16677         * powerpc/powerpc32/elf/start.S: Likewise.
16678         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16679         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16680         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16681         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16682         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16683         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16684         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16685         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16686         * powerpc/powerpc32/fpu/s_round.S: Likewise.
16687         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16688         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16689         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16690         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16691         * powerpc/powerpc32/memset.S: Likewise.
16692         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16693         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16694         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16695         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16696         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16697         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16698         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16699         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16700         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16701         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16702         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16703         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16704         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16706 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16708         * math/libm-test.inc: Added more nearbyint tests.
16709         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16710         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16711         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16714 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
16716         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16717         FD_CLOEXEC.
16719 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16721         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16722         Add wcscpy-ssse3 wcscpy-c.
16723         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16724         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16725         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16726         * sysdeps/x86_64/wcschr.S: New file.
16727         * sysdeps/x86_64/wcsrchr.S: New file.
16728         * string/test-strcmp.c: Remove checking of wcscmp function for
16729         wrong alignments.
16730         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16731         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16732         wcsrchr-sse2 wcsrchr-c.
16733         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16734         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16735         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16736         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16737         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16738         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16739         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16740         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16741         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16742         * wcsmbc/wcschr.c (WCSCHR): New macro.
16744 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16746         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16747         * wcsmbs/test-wcsrchr.c: New file.
16748         * string/test-strrchr.c: Add wcsrchr support.
16749         (WIDE): New macro.
16750         * wcsmbs/test-wcscpy.c: New file.
16751         * string/test-strcpy.c: Add wcscpy support.
16752         (WIDE): New macro.
16754 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
16756         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16757         the inner loop.
16759 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
16761         [BZ #13472]
16762         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16764 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
16766         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16767         Minor optimizations.
16769         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16770         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16771         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16773 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
16775         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16776         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16777         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16778         for gcc to avoid warnings.
16779         * inet/Makefile (tests): Add tst-checks.
16780         * inet/tst-checks.c: New file.
16782         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16783         warning.
16785         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16786         __wmemcmp_sse2.
16788         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16789         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16791         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16793 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
16795         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16796         problem.
16798         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16800 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
16802         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16803         conditional on GCC version.
16804         (__arch_compare_and_exchange_val_8_acq)
16805         (__arch_compare_and_exchange_val_16_acq)
16806         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16807         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16808         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16810 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
16812         * sysdeps/sh/backtrace.c: New file.
16814 2011-12-02  Andreas Schwab  <schwab@redhat.com>
16816         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
16817         parenthesis.
16819 2011-12-01  Andreas Schwab  <schwab@redhat.com>
16821         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16822         falling back to utime.
16824 2011-11-30  Andreas Schwab  <schwab@redhat.com>
16826         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16827         expectations for float.
16829 2011-11-29  Andreas Schwab  <schwab@redhat.com>
16831         * locale/weight.h (findidx): Add parameter len.
16832         * locale/weightwc.h (findidx): Likewise.
16833         * posix/fnmatch_loop.c (FCT): Adjust caller.
16834         * posix/regcomp.c (build_equiv_class): Likewise.
16835         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16836         * posix/regexec.c (check_node_accept_bytes): Likewise.
16837         * string/strcoll_l.c (STRCOLL): Likewise.
16838         * string/strxfrm_l.c (STRXFRM): Likewise.
16840 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
16842         * Makefile.in: Remove CVSOPT handling.
16843         * configure.in: Remove use of AC_REVISION.
16844         * iconvdata/Makefile (distribute): No need to filter out CVS.
16845         * scripts/list-sources.sh: Remove CVS, subversion and monotone
16846         handling.
16848 2011-11-16  Andreas Schwab  <schwab@redhat.com>
16850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16851         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16852         [USE_AS_STRNCASECMP_L]: Likewise.
16853         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16854         NO_TLS_DIRECT_SEG_REFS.
16855         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16856         Fix argument offsets for non-PIC.
16857         [USE_AS_STRNCASECMP_L]: Likewise.
16858         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16859         NO_TLS_DIRECT_SEG_REFS.
16861 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16863         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16864         O_CLOEXEC.
16865         * locale/loadlocale.c (_nl_load_locale): Likewise.
16867 2011-11-15  Andreas Schwab  <schwab@redhat.com>
16869         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16870         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16871         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16872         (SYSCALL_GETTIME): Set errno on error.
16874         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16875         count references to noai6ai_cached.
16877 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16879         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16881         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16882         FD_CLOEXEC for /proc/self/maps.
16884         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16885         FD_CLOEXEC for /proc/meminfo.
16887         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16888         gai.conf.
16890         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
16891         FD_CLOEXEC for given file.
16893         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16895         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16896         FD_CLOEXEC for /etc/hosts.
16897         (_gethtent): Likewise.
16899         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16901         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16902         cancellation and set FD_CLOEXEC for /etc/netgroup.
16904         * nss/nss_files/files-key.c (search): Don't allow cancellation when
16905         reading /etc/publickey.
16907         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16908         allow cancellation when reading /etc/group.
16910         * nss/nss_files/files-alias.c (internal_setent): Don't allow
16911         cancellation.
16912         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
16914         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16915         when using data file.
16917         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16919         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16920         (write_nis_obj): Use "c" and "e" in fopen.
16922         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16924         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16926         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16928         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16930         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16931         locale.alias.
16933         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16935         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16937         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16939         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16940         file parsing and set FD_CLOEXEC.
16942 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
16944         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16946 2011-11-14  Andreas Schwab  <schwab@redhat.com>
16948         * malloc/arena.c (arena_get2): Don't call reused_arena when
16949         _int_new_arena failed.
16951 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
16953         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16954         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16955         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16956         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16957         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16958         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16959         to compile strcasecmp and strncasecmp.
16960         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16961         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16963         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16965 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
16967         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16968         locale-defines.sym to gen-as-const-headers.
16969         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16970         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16972         to compile strcasecmp and strncasecmp.
16973         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16974         strcasecmp_l and strncasecmp_l.
16975         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16976         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16977         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16978         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16979         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16980         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16981         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16982         * sysdeps/i386/i686/multiarch/strncase.S: New file.
16983         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16984         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16985         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16987 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
16989         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16990         result of SYSDEP_GETTIME_CPU to retval.
16991         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16992         parameter list to macro.  Remove trailing semicolon.  Adjust users.
16994         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16995         variable.
16997         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16998         mantissa words.
16999         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17001         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17002         from unused variable.
17004         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17005         DWARF definitions.
17006         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17007         for assembling.
17009         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17010         over namespaces.
17012         * sunrpc/rpc_prot.c (rejected): Fix case value.
17014         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17015         unsigned long long int to avoid warnings in shift.
17017         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17018         of use of trans.
17019         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17020         variable tmp.
17022         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17023         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17024         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17026         * nis/nis_table.c (nis_list): Use variable of correct type for
17027         result of __follow_path call.
17029 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17031         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17032         of math functions ceil, trunc, floor, round, and sqrt, when
17033         avaliable on the platform.
17034         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17035         name clash.
17036         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17037         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17038         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17040 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17042         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17043         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17045 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17047         * include/unistd.h: Fix __readlink return type.
17048         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17050 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17052         * stdlib/ucontext.h: Undo last change for makecontext.
17054 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17056         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17058         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17059         * setjmp/setjmp.h: Mark functions as non-leaf.
17060         * setjmp/bits/setjmp2.h: Likewise.
17061         * stdlib/ucontext.h: Likewise.
17063 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17065         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17066         (reused_arena): Don't check arena limit.
17067         (arena_get2): Atomically check arena limit.
17069 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17071         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17072         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17075         instructions.
17077 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17079         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17080         handler when locking.
17082         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17083         Fix size of allocated buffer.
17085 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17087         [BZ #10103]
17088         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17089         declarations for long double functions.
17090         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17092         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17094 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17096         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17097         installed.
17099         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17100         is disabled.
17102 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17104         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17106 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17108         * include/alloca.h (stackinfo_alloca_round): Define.
17109         (extend_alloca): Use it.
17110         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17111         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17112         here.
17114         * scripts/check-local-headers.sh: Ignore libaudit.h.
17116         * nscd/Makefile (extra-objs): Make recursively expanded.
17118 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17120         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17121         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17123         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17124         * posix/tst-rfc3484-2.c: Likewise.
17125         * posix/tst-rfc3484-3.c: Likewise.
17127         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17128         process_vm_writev.
17129         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17130         process_vm_writev.
17131         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17132         process_vm_writev from libc using GLIBC_2.15 version.
17134         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17136 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17138         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17139         stack usage.
17141 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17143         [BZ #13367]
17144         * nss/getent.c (initgroups_keys): Show error message in case no group
17145         names are given.
17147         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17148         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17149         __bump_nl_timestamp.
17150         * nscd/connections (nscd_init): When host database is served open
17151         netlink socket and request notification about configuration changes.
17152         (main_loop_poll): Track netlink file descriptor and bump timestamp
17153         in case data becomes available.
17154         (main_loop_epoll): Likewise.
17155         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17156         (database_pers_head): Add extra_data fileds.
17157         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17158         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17159         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17160         Adjust caller.
17161         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17162         in6ai data, call __free_in6ai.
17163         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17164         Add -DHAVE_NETLINK.
17165         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17166         interface information.  Reuse previous data if netlink timestamp
17167         is not changed.
17168         (__bump_nl_timestamp): New function.
17169         (__free_in6ai): New function.
17171 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17173         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17174         close_not_cancel_no_status here.
17175         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17177 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17179         [BZ #13276]
17180         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17181         return value.
17183         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17184         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17185         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17187 2011-07-03  Andreas Jaeger  <aj@suse.de>
17189         [BZ #10709]
17190         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17191         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17192         * math/libm-test.inc (sin_test): Add test case.
17194 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17196         [BZ #13337]
17197         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17198         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17200         * elf/chroot_canon.c (chroot_canon): Cleanups.
17202         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17204         [BZ #13335]
17205         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17206         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17208         * string/test-strchr.c: Make usable for strchrnul testing.
17209         * string/test-strchrnul.c: New file.
17210         * string/Makefile (strop-tests): Add strchrnul.
17212         * po/it.po: Update from translation team.
17213         * po/es.po: Likewise.
17215 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17217         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17218         the three constants needed as parameters.  Drop the others.
17219         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17220         __m128i_strloadu_tolower.
17221         Create and initialize variable zero and use it in all the places
17222         where _mm_setzero_si128 was used.
17224         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17225         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17226         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17227         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17228         anymore.
17229         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17230         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17231         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17232         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17233         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17234         __mpranred, __mptan.
17235         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17236         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17237         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17238         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17239         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17240         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17241         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17242         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17243         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17245 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17247         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17248         redefine if SHARED.
17249         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17251         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17252         wide char related routines to wcsmbs subdir.
17254 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17256         [BZ #13344]
17257         * misc/sys/cdefs.h (__THROWNL): Define.
17258         * posix/unistd.h: Use __THREADNL instead of __THREAD
17259         for memory synchronization functions.
17261 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17263         [BZ #13349]
17264         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17265         doesn't exist.
17266         * manual/stdio.texi (Obstack Streams): Node removed.
17268 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17270         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17271         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17272         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17274         * math/math_private.h (math_force_eval): Allow non-addressable
17275         arguments.
17276         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17278 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17280         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17281         file is not needed.
17283         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17284         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17285         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17286         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17287         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17288         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17289         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17290         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17291         Add AVX variants.
17292         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17293         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17294         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17295         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17296         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17297         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17298         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17299         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17300         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17301         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17302         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17303         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17304         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17305         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17306         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17307         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17308         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17309         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17310         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17312         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17313         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17315         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17316         place.  Use VEX encoding when compiling for AVX.
17318 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17320         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17321         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17323         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17325 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17327         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17328         useless if() expression.
17329         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17330         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17331         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17332         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17333         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17334         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17335         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17336         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17337         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17338         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17339         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17340         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17341         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17342         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17343         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17344         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17345         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17346         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17347         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17349         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17351 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17353         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17354         condition.
17355         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17357 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17359         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17360         .text section.  Avoid duplicate constants.
17361         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17362         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17363         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17364         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17365         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17366         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17367         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17368         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17369         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17370         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17371         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17372         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17373         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17374         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17375         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17376         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17377         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17378         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17379         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17381         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17382         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17383         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17384         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17385         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17386         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17387         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17388         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17389         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17390         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17391         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17392         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17393         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17394         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17395         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17396         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17397         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17398         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17399         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17400         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17401         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17402         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17403         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17404         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17405         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17407 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17409         * sysdeps/x86_64/dla.h: Move to ...
17410         * sysdeps/x86_64/fpu/dla.h: ...here.
17411         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17412         situations.  Use __builtin_fma only for gcc 4.6 and up.
17414         * config.make.in: Add have-mfma4 entry.
17415         * configure.in: Substitute libc_cv_cc_fma4.
17416         * math/Makefile (dbl-only-routines): Add sincostab.
17417         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17418         Use __sincostab not sincos.
17419         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17420         name is a macro.
17421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17424         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17425         using __copysign.
17426         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17427         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17428         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17429         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17430         and __inv.
17431         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17432         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17433         __copysign.
17434         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17435         define aliases when function name is a macro.
17436         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17437         sysdeps/ieee754/dbl-64/sincos.tbl.
17438         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17439         fma4-enabled routines.
17440         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17441         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17442         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17443         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17444         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17445         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17446         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17447         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17448         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17449         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17450         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17451         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17452         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17453         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17455         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17456         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17457         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17458         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17459         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17460         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17461         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17462         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17463         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17465         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17466         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17467         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17468         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17469         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17471         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17472         rename.
17473         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17475         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17476         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17477         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17478         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17479         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17480         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17482 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17484         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17486 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17488         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17490         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17491         prediction.
17492         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17494         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17495         Remove unused variable magic_bits.
17496         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17498         * string/strnlen.c: Define and use STRNLEN macro.
17499         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17500         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17501         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17502         * wcsmbs/wcslen.c: Define and use WCSLEN.
17503         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17504         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17505         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17506         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17507         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17508         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17509         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17511 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17514         strnlen-sse2-no-bsf.
17515         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17516         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17517         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17518         Add strnlen support.
17519         (USE_AS_STRNLEN): New macro.
17520         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17521         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17522         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17523         * sysdeps/x86_64/wcslen.S: New file.
17525 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17527         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17528         XMM-moves are used for copying on small sizes.
17530 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17532         * wcsmbs/Makefile (strop-tests): Add wcschr.
17533         * wcsmbs/test-wcschr.c: New file.
17534         * string/test-strchr.c: Update.
17535         Add wcschr support.
17536         (WIDE): New macro.
17538 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17540         * wcsmbs/Makefile (strop-tests): Add wcslen.
17541         * wcsmbs/test-wcslen.c: New file.
17542         * string/test-strlen.c: Update.
17543         Add wcslen support.
17544         (WIDE): New macro.
17546 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17548         * po/it.po: Update from translation team.
17550 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17552         * sysdeps/x86_64/wcscmp.S: Update.
17553         Fix wrong comparison semantics.
17554         wcscmp shall use signed comparison not unsigned.
17555         Don't use substraction to avoid overflow bug.
17556         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17557         * wcsmbc/wcscmp.c: Likewise.
17558         * string/test-strcmp.c: Likewise.
17559         Add new tests to check cases with negative values.
17561 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17563         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17564         * sysdeps/x86_64/dla.h: ...here.  New file.
17565         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17567         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17568         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17569         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17570         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17571         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17572         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17573         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17575 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
17577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17578         __ynl_finite aliases.
17580 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17584         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17585         define DLA_FMA.
17586         [DLA_FMA] (EMULV): Use DLA_FMA.
17587         [DLA_FMA] (MUL12): Use EMULV.
17588         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17589         that are not needed.
17590         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17591         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17592         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17593         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17594         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17595         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17596         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17598 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
17600         * math/s_nan.c: Undef __nan.
17601         * math/s_nanf.c: Undef __nanf.
17602         * math/s_nanl.c: Undef __nanl.
17603         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17604         "math_private.h".
17606 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17608         * math/s_catan.c: Add branch predictions.
17609         * math/s_catanf.c: Likewise.
17610         * math/s_catanh.c: Likewise.
17611         * math/s_catanhf.c: Likewise.
17612         * math/s_catanhl.c: Likewise.
17613         * math/s_catanl.c: Likewise.
17614         * math/s_cexp.c: Likewise.
17615         * math/s_cexpf.c: Likewise.
17616         * math/s_cexpl.c: Likewise.
17617         * math/s_clog.c: Likewise.
17618         * math/s_clog10.c: Likewise.
17619         * math/s_clog10f.c: Likewise.
17620         * math/s_clog10l.c: Likewise.
17621         * math/s_clogf.c: Likewise.
17622         * math/s_clogl.c: Likewise.
17623         * math/s_csqrt.c: Likewise.
17624         * math/s_csqrtf.c: Likewise.
17625         * math/s_csqrtl.c: Likewise.
17626         * math/s_ctanf.c: Likewise.
17627         * math/s_ctanh.c: Likewise.
17628         * math/s_ctanhf.c: Likewise.
17629         * math/s_ctanhl.c: Likewise.
17630         * math/s_ctanl.c: Likewise.
17632         * math/math_private.h: Define __nan, __nanf, __nanl.
17633         * math/s_cacosh.c: Include <math_private.h>.
17634         * math/s_cacoshl.c: Likewise.
17635         * math/s_casinh.c: Likewise.
17636         * math/s_casinhf.c: Likewise.
17637         * math/s_casinhl.c: Likewise.
17638         * math/s_ccos.c: Rely entire on ccosh.
17639         * math/s_ccosf.c: Rely entire on ccoshf.
17640         * math/s_ccosl.c: Rely entirely on ccoshl.
17641         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
17642         Remove tests for FE_INVALID.
17643         * math/s_ccoshf.c: Likewise.
17644         * math/s_ccoshl.c: Likewise.
17645         * math/s_csin.c: Likewise.
17646         * math/s_csinf.c: Likewise.
17647         * math/s_csinh.c Likewise.
17648         * math/s_csinhf.c: Likewise.
17649         * math/s_csinhl.c: Likewise.
17650         * math/s_csinl.c: Likewise.
17651         * math/s_ctan.c: Likewise.
17652         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17653         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17654         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17656 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
17658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17659         compilation problems.
17661         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17662         __builtin_expect.
17664 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
17666         * sysdeps/i386/configure.in: Test for -mfma4 option.
17667         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17668         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17669         COMMON_CPUID_INDEX_80000001.
17670         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17671         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17672         use it if FMA3 is not supported.
17673         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17675         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17676         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17678 2011-10-20  Andreas Schwab  <schwab@redhat.com>
17680         [BZ #12892]
17681         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17682         it would create a cycle with a link time dependency.
17684 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
17686         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17687         instruction.
17688         * string/Makefile (strop-tests): Add rawmemchr.
17689         * string/test-rawmemchr.c: New file.
17691         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17692         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
17693         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
17694         when compiling str{,n}casecmp and when AVX is available.  Hook up
17695         new optimized code in initializers.
17697 2011-10-19  Andreas Schwab  <schwab@redhat.com>
17699         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17700         __feraiseexcept instead of feraiseexcept.
17702 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
17704         * math/math_private.h: Define defaults for libc_fetestexcept and
17705         libc_feupdateenv.
17706         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17707         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17708         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17709         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17710         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17711         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17712         libc_fetestexcept and libc_feupdateenv.
17714         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17715         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17716         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17717         * sysdeps/x86_64/fpu/math_private.h: Define special version of
17718         libc_feholdexcept_setround.
17720         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17721         Add s_nearbyint-c and s_nearbyintf-c.
17722         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17723         nearbyintf inlines.
17724         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17725         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17726         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17727         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17729         * math/math_private.h: Define defaults for libc_fegetround,
17730         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17731         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17732         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17733         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17734         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17735         standard functions.
17736         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17737         Remove comments and hacks for old compiler versions.
17738         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17739         libc_fegetround, libc_fesetround, libc_feholdexcept, and
17740         libc_feholdexceptl.
17742 2011-10-18  Andreas Schwab  <schwab@redhat.com>
17744         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17745         (__feraiseexcept_renamed): Add __NTH.
17746         (feraiseexcept): Add __NTH.  Rename local variables to fix
17747         namespace violations.
17749 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
17751         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17753         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17755         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17756         recently added interfaces.
17757         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17759         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17760         about macro parameter expansion.
17762         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17763         __NO_MATH_INLINES is defined.  Cleanups.
17765         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17766         and __floorf is target has SSE4.1.
17767         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17768         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17769         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17770         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17772         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17773         name.
17774         (floorf): Likewise.
17776         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17778 2011-10-17  Andreas Schwab  <schwab@redhat.com>
17780         * misc/sys/cdefs.h: Fix last change.
17782         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17783         database lookup.
17785 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
17787         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17789         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17790         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17791         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17792         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17793         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17794         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17795         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17797         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17798         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17799         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17800         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17801         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17802         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17803         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17804         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17805         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17806         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17807         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17808         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17809         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17810         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17812         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17813         ceil, ceilf, floor, floorf.
17815         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17816         Perform IRELATIVE relocations last.
17818         * elf/do-rel.h: Add another parameter nrelative, replacing the
17819         local variable with the same name.  Change name of the function
17820         to end in Rel or Rela (uppercase).
17821         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17822         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
17823         elf_dynamic_do_##reloc function.
17825 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17827         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17828         is sufficient, at least on modern CPUs.
17830         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17832         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17833         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17835         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17836         __expl_finite.
17837         * math/bits/math-finite.h: Add entries for exp.
17838         * math/e_expl.c: Add __*_finite alias.
17839         * sysdeps/i386/fpu/e_exp.S: Likewise.
17840         * sysdeps/i386/fpu/e_expf.S: Likewise.
17841         * sysdeps/i386/fpu/e_expl.c: Likewise.
17842         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17843         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17844         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17845         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17846         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17847         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17848         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17850         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17851         is sufficient, at least on modern CPUs.
17853         * ctype/ctype-info.c (__ctype_init): Define.
17854         * include/ctype.h (__ctype_init): Declare.
17855         (__ctype_b_loc): The variable is always initialized.
17856         (__ctype_toupper_loc): Likewise.
17857         (__ctype_tolower_loc): Likewise.
17858         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17859         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17861 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
17863         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17865         * configure.in: Also look in $cxxmachine/include for C++ system
17866         headers.
17868 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17870         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17871         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17872         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17873         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
17874         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17875         (USE_AS_WMEMCMP): New macro.
17876         Fixing indents.
17877         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17878         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17879         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17880         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17881         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17882         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17883         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17884         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17885         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17886         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17887         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17888         (USE_AS_WMEMCMP): New macro.
17889         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17890         * sysdeps/string/test-memcmp.c: Update.
17891         Fix simple_wmemcmp.
17892         Add new tests.
17893         * wcsmbs/wmemcmp.c: Update.
17894         (WMEMCMP): New macro.
17895         Fix overflow bug.
17897 2011-10-12  Andreas Jaeger  <aj@suse.de>
17899         [BZ #13268]
17900         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17902 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17904         * libio/iofwide.c (do_length): Avoid warning.
17906         * ctype/ctype.h (__isctype_f): Add missing __THROW.
17908 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
17910         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17912         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17913         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17914         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17915         * sysdeps/i386/i686/fpu/e_log.S: New file.
17916         * sysdeps/i386/i686/fpu/e_logf.S: New file.
17917         * sysdeps/i386/i686/fpu/e_logl.S: New file.
17919         * ctype/ctype.h: Add support for inlined isXXX functions when
17920         compiling C++ code.
17922 2011-10-14  Andreas Schwab  <schwab@redhat.com>
17924         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17926         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17928 2011-10-13  Roland McGrath  <roland@hack.frob.com>
17930         [BZ #13291]
17931         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17933 2011-10-13  Andreas Schwab  <schwab@redhat.com>
17935         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17936         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17937         feraiseexcept.
17939         * sysdeps/x86_64/memrchr.S: Check for zero size.
17941         * string/stratcliff.c: Add memrchr tests.
17943 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17945         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17946         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17947         rawmemchr-sse2 rawmemchr-sse2-bsf.
17948         * sysdeps/i386/i686/multiarch/memchr.S: New file.
17949         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17950         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17951         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17952         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17953         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17954         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17955         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17956         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17957         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17958         * string/memrchr.c (MEMRCHR): New macro.
17960 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
17962         Add integration with gcc's -ffinite-math-only and optimize wrapper
17963         functions in libm.
17964         * Versions.def: Define GLIBC_2.15 version for libm.
17965         * math/Makefile (headers): Add bits/math-finite.h.
17966         * math/bits/math-finite.h: New file.
17967         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17968         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17969         * math/e_acoshl.c: Add __*_finite alias.
17970         * math/e_acosl.c: Likewise.
17971         * math/e_asinl.c: Likewise.
17972         * math/e_atan2l.c: Likewise.
17973         * math/e_atanhl.c: Likewise.
17974         * math/e_coshl.c: Likewise.
17975         * math/e_exp10.c: Likewise.
17976         * math/e_exp10f.c: Likewise.
17977         * math/e_exp10l.c: Likewise.
17978         * math/e_exp2l.c: Likewise.
17979         * math/e_fmodl.c: Likewise.
17980         * math/e_gammal_r.c: Likewise.
17981         * math/e_hypotl.c: Likewise.
17982         * math/e_j0l.c: Likewise.
17983         * math/e_j1l.c: Likewise.
17984         * math/e_jnl.c: Likewise.
17985         * math/e_lgammal_r.c: Likewise.
17986         * math/e_log10l.c: Likewise.
17987         * math/e_log2l.c: Likewise.
17988         * math/e_logl.c: Likewise.
17989         * math/e_powl.c: Likewise.
17990         * math/e_sinhl.c: Likewise.
17991         * math/e_sqrtl.c: Likewise.
17992         * math/e_scalb.c: Completely rewritten and optimized.
17993         * math/e_scalbf.c: Likewise.
17994         * math/e_scalbl.c: Likewise.
17995         * math/w_acos.c: Likewise.
17996         * math/w_acosf.c: Likewise.
17997         * math/w_acosl.c: Likewise.
17998         * math/w_acosh.c: Likewise.
17999         * math/w_acoshf.c: Likewise.
18000         * math/w_acoshl.c: Likewise.
18001         * math/w_asin.c: Likewise.
18002         * math/w_asinf.c: Likewise.
18003         * math/w_asinl.c: Likewise.
18004         * math/w_atan2.c: Likewise.
18005         * math/w_atan2f.c: Likewise.
18006         * math/w_atan2l.c: Likewise.
18007         * math/w_atanh.c: Likewise.
18008         * math/w_atanhf.c: Likewise.
18009         * math/w_atanhl.c: Likewise.
18010         * math/w_exp10.c: Likewise.
18011         * math/w_exp10f.c: Likewise.
18012         * math/w_exp10l.c: Likewise.
18013         * math/w_fmod.c: Likewise.
18014         * math/w_fmodf.c: Likewise.
18015         * math/w_fmodl.c: Likewise.
18016         * math/w_j0.c: Likewise.
18017         * math/w_j0f.c: Likewise.
18018         * math/w_j0l.c: Likewise.
18019         * math/w_j1.c: Likewise.
18020         * math/w_j1f.c: Likewise.
18021         * math/w_j1l.c: Likewise.
18022         * math/w_jn.c: Likewise.
18023         * math/w_jnf.c: Likewise.
18024         * math/w_log.c: Likewise.
18025         * math/w_logf.c: Likewise.
18026         * math/w_logl.c: Likewise.
18027         * math/w_log10.c: Likewise.
18028         * math/w_log10f.c: Likewise.
18029         * math/w_log10l.c: Likewise.
18030         * math/w_log2.c: Likewise.
18031         * math/w_log2f.c: Likewise.
18032         * math/w_log2l.c: Likewise.
18033         * math/w_pow.c: Likewise.
18034         * math/w_powf.c: Likewise.
18035         * math/w_powl.c: Likewise.
18036         * math/w_remainder.c: Likewise.
18037         * math/w_remainderf.c: Likewise.
18038         * math/w_remainderl.c: Likewise.
18039         * math/w_scalb.c: Likewise.
18040         * math/w_scalbf.c: Likewise.
18041         * math/w_scalbl.c: Likewise.
18042         * math/w_sqrt.c: Likewise.
18043         * math/w_sqrtf.c: Likewise.
18044         * math/w_sqrtl.c: Likewise.
18045         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18046         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18047         used.
18048         * math/math_private.h: Declare __kernel_standard_f.
18049         * math/w_cosh.c: Remove cruft and optimize a bit.
18050         * math/w_coshf.c: Likewise.
18051         * math/w_coshl.c: Likewise.
18052         * math/w_exp2.c: Likewise.
18053         * math/w_exp2f.c: Likewise.
18054         * math/w_exp2l.c: Likewise.
18055         * math/w_hypot.c: Likewise.
18056         * math/w_hypotf.c: Likewise.
18057         * math/w_hypotl.c: Likewise.
18058         * math/w_lgamma.c: Likewise.
18059         * math/w_lgamma_r.c: Likewise.
18060         * math/w_lgammaf.c: Likewise.
18061         * math/w_lgammaf_r.c: Likewise.
18062         * math/w_lgammal.c: Likewise.
18063         * math/w_lgammal_r.c: Likewise.
18064         * math/w_sinh.c: Likewise.
18065         * math/w_sinhf.c: Likewise.
18066         * math/w_sinhl.c: Likewise.
18067         * math/w_tgamma.c: Likewise.
18068         * math/w_tgammaf.c: Likewise.
18069         * math/w_tgammal.c: Likewise.
18070         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18071         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18072         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18073         Minor optimizations.  Pretty printing.  Remove cruft.
18074         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18075         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18076         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18077         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18078         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18079         * sysdeps/i386/fpu/e_asin.S: Likewise.
18080         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18081         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18082         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18083         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18084         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18085         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18086         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18087         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18088         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18089         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18090         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18091         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18092         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18093         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18094         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18095         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18096         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18097         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18098         * sysdeps/i386/fpu/e_log.S: Likewise.
18099         * sysdeps/i386/fpu/e_log10.S: Likewise.
18100         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18101         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18102         * sysdeps/i386/fpu/e_log2.S: Likewise.
18103         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18104         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18105         * sysdeps/i386/fpu/e_logf.S: Likewise.
18106         * sysdeps/i386/fpu/e_logl.S: Likewise.
18107         * sysdeps/i386/fpu/e_pow.S: Likewise.
18108         * sysdeps/i386/fpu/e_powf.S: Likewise.
18109         * sysdeps/i386/fpu/e_powl.S: Likewise.
18110         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18111         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18112         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18113         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18114         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18115         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18116         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18117         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18118         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18119         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18120         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18122         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18123         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18124         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18125         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18126         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18127         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18130         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18132         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18133         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18134         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18135         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18136         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18137         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18138         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18139         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18140         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18141         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18142         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18143         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18144         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18145         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18146         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18147         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18148         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18149         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18150         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18151         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18152         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18153         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18154         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18155         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18156         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18157         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18158         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18159         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18160         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18161         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18162         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18163         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18164         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18165         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18166         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18167         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18168         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18169         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18170         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18171         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18172         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18173         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18174         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18175         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18176         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18177         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18178         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18179         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18180         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18181         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18183         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18184         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18185         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18186         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18187         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18188         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18189         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18190         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18191         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18192         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18193         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18194         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18195         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18196         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18197         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18198         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18199         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18200         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18201         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18202         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18203         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18204         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18205         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18206         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18207         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18208         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18209         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18210         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18211         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18212         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18213         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18214         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18215         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18216         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18217         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18218         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18219         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18220         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18221         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18222         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18223         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18224         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18226         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18227         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18228         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18229         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18230         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18231         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18232         (__isnanf): Likewise.
18233         (__isinf_ns): Likewise.
18234         (__isinf_nsf): Likewise.
18235         (__finite): Likewise.
18236         (__finitef): Likewise.
18237         (__ieee754_sqrt): Define as macro.
18238         (__ieee754_sqrtf): Define as macro.
18239         (__ieee754_sqrtl): Define as macro.
18240         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18241         inlined copy.
18242         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18243         __FINITE_MATH_ONLY__ consistent.
18244         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18246 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18248         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18249         of rawmemchr.
18251         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18253 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18255         * po/ja.po: Update from translation team.
18257 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18259         * locale/programs/locarchive.c (prepare_address_space): New function.
18260         (create_archive, enlarge_archive, open_archive): Use it.
18262         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18263         inside [SHARED], where it is used.
18265         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18267         * nss/getent.c (netgroup_keys): Remove unused variable.
18268         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18270 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18272         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18273         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18274         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18275         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18276         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18277         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18278         * math/Makefile (libm-calls): Add s_isinf_ns.
18279         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18280         * math/multc3.c: Likewise.
18281         * math/s_casin.c: Likewise.
18282         * math/s_casinf.c: Likewise.
18283         * math/s_casinl.c: Likewise.
18284         * math/s_ccos.c: Likewise.
18285         * math/s_ccosf.c: Likewise.
18286         * math/s_ccosl.c: Likewise.
18287         * math/s_ctan.c: Likewise.
18288         * math/s_ctanf.c: Likewise.
18289         * math/s_ctanh.c: Likewise.
18290         * math/s_ctanhf.c: Likewise.
18291         * math/s_ctanhl.c: Likewise.
18292         * math/s_ctanl.c: Likewise.
18293         * math/w_fmod.c: Likewise.
18294         * math/w_fmodf.c: Likewise.
18295         * math/w_fmodl.c: Likewise.
18296         * math/w_remainder.c: Likewise.
18297         * math/w_remainderf.c: Likewise.
18298         * math/w_remainderl.c: Likewise.
18299         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18300         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18301         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18302         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18303         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18304         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18305         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18306         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18308         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18309         of the number.
18310         * stdio-common/printf_fphex.c: Likewise.
18311         * stdio-common/printf_size.c: Likewise.
18313         * math/e_exp10.c: Include math_private.h using <...> not "...".
18314         * math/e_exp10f.c: Likewise.
18315         * math/e_exp10l.c: Likewise.
18316         * math/e_exp2l.c: Likewise.
18317         * math/e_j0l.c: Likewise.
18318         * math/e_j1l.c: Likewise.
18319         * math/e_jnl.c: Likewise.
18320         * math/e_lgammal_r.c: Likewise.
18321         * math/e_rem_pio2l.c: Likewise.
18322         * math/e_scalb.c: Likewise.
18323         * math/e_scalbf.c: Likewise.
18324         * math/e_scalbl.c: Likewise.
18325         * math/k_cosl.c: Likewise.
18326         * math/k_sinl.c: Likewise.
18327         * math/k_tanl.c: Likewise.
18328         * math/s_cacoshf.c: Likewise.
18329         * math/s_catan.c: Likewise.
18330         * math/s_catanf.c: Likewise.
18331         * math/s_catanh.c: Likewise.
18332         * math/s_catanhf.c: Likewise.
18333         * math/s_catanhl.c: Likewise.
18334         * math/s_catanl.c: Likewise.
18335         * math/s_ccosh.c: Likewise.
18336         * math/s_ccoshf.c: Likewise.
18337         * math/s_ccoshl.c: Likewise.
18338         * math/s_cexp.c: Likewise.
18339         * math/s_cexpf.c: Likewise.
18340         * math/s_cexpl.c: Likewise.
18341         * math/s_clog.c: Likewise.
18342         * math/s_clog10.c: Likewise.
18343         * math/s_clog10f.c: Likewise.
18344         * math/s_clog10l.c: Likewise.
18345         * math/s_clogf.c: Likewise.
18346         * math/s_clogl.c: Likewise.
18347         * math/s_csin.c: Likewise.
18348         * math/s_csinf.c: Likewise.
18349         * math/s_csinh.c: Likewise.
18350         * math/s_csinhf.c: Likewise.
18351         * math/s_csinhl.c: Likewise.
18352         * math/s_csinl.c: Likewise.
18353         * math/s_csqrt.c: Likewise.
18354         * math/s_csqrtf.c: Likewise.
18355         * math/s_csqrtl.c: Likewise.
18356         * math/s_ctan.c: Likewise.
18357         * math/s_ctanf.c: Likewise.
18358         * math/s_ctanh.c: Likewise.
18359         * math/s_ctanhf.c: Likewise.
18360         * math/s_ctanhl.c: Likewise.
18361         * math/s_ctanl.c: Likewise.
18362         * math/s_ldexp.c: Likewise.
18363         * math/s_ldexpf.c: Likewise.
18364         * math/s_ldexpl.c: Likewise.
18365         * math/s_significand.c: Likewise.
18366         * math/s_significandf.c: Likewise.
18367         * math/s_significandl.c: Likewise.
18368         * math/w_acos.c: Likewise.
18369         * math/w_acosf.c: Likewise.
18370         * math/w_acosh.c: Likewise.
18371         * math/w_acoshf.c: Likewise.
18372         * math/w_acoshl.c: Likewise.
18373         * math/w_acosl.c: Likewise.
18374         * math/w_asin.c: Likewise.
18375         * math/w_asinf.c: Likewise.
18376         * math/w_asinl.c: Likewise.
18377         * math/w_atan2.c: Likewise.
18378         * math/w_atan2f.c: Likewise.
18379         * math/w_atan2l.c: Likewise.
18380         * math/w_atanh.c: Likewise.
18381         * math/w_atanhf.c: Likewise.
18382         * math/w_atanhl.c: Likewise.
18383         * math/w_cosh.c: Likewise.
18384         * math/w_coshf.c: Likewise.
18385         * math/w_coshl.c: Likewise.
18386         * math/w_dremf.c: Likewise.
18387         * math/w_exp10.c: Likewise.
18388         * math/w_exp10f.c: Likewise.
18389         * math/w_exp10l.c: Likewise.
18390         * math/w_exp2.c: Likewise.
18391         * math/w_exp2f.c: Likewise.
18392         * math/w_fmod.c: Likewise.
18393         * math/w_fmodf.c: Likewise.
18394         * math/w_fmodl.c: Likewise.
18395         * math/w_hypot.c: Likewise.
18396         * math/w_hypotf.c: Likewise.
18397         * math/w_hypotl.c: Likewise.
18398         * math/w_j0.c: Likewise.
18399         * math/w_j0f.c: Likewise.
18400         * math/w_j0l.c: Likewise.
18401         * math/w_j1.c: Likewise.
18402         * math/w_j1f.c: Likewise.
18403         * math/w_j1l.c: Likewise.
18404         * math/w_jn.c: Likewise.
18405         * math/w_jnf.c: Likewise.
18406         * math/w_jnl.c: Likewise.
18407         * math/w_lgamma.c: Likewise.
18408         * math/w_lgamma_r.c: Likewise.
18409         * math/w_lgammaf.c: Likewise.
18410         * math/w_lgammaf_r.c: Likewise.
18411         * math/w_lgammal.c: Likewise.
18412         * math/w_lgammal_r.c: Likewise.
18413         * math/w_log.c: Likewise.
18414         * math/w_log10.c: Likewise.
18415         * math/w_log10f.c: Likewise.
18416         * math/w_log10l.c: Likewise.
18417         * math/w_log2.c: Likewise.
18418         * math/w_log2f.c: Likewise.
18419         * math/w_log2l.c: Likewise.
18420         * math/w_logf.c: Likewise.
18421         * math/w_logl.c: Likewise.
18422         * math/w_pow.c: Likewise.
18423         * math/w_powf.c: Likewise.
18424         * math/w_powl.c: Likewise.
18425         * math/w_remainder.c: Likewise.
18426         * math/w_remainderf.c: Likewise.
18427         * math/w_remainderl.c: Likewise.
18428         * math/w_scalb.c: Likewise.
18429         * math/w_scalbf.c: Likewise.
18430         * math/w_scalbl.c: Likewise.
18431         * math/w_sinh.c: Likewise.
18432         * math/w_sinhf.c: Likewise.
18433         * math/w_sinhl.c: Likewise.
18434         * math/w_sqrt.c: Likewise.
18435         * math/w_sqrtf.c: Likewise.
18436         * math/w_sqrtl.c: Likewise.
18437         * math/w_tgamma.c: Likewise.
18438         * math/w_tgammaf.c: Likewise.
18439         * math/w_tgammal.c: Likewise.
18441         * po/ja.po: Update from translation team.
18443 2011-09-29  Andreas Jaeger  <aj@suse.de>
18445         [BZ #13179]
18446         * sunrpc/netname.c (netname2host): Fix logic.
18448         [BZ #6779]
18449         [BZ #6783]
18450         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18451         correctly.
18452         * math/w_remainder.c (__remainder): Likewise.
18453         * math/w_remainderf.c (__remainderf): Likewise.
18454         * math/libm-test.inc (remainder_test): Add test cases.
18456 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18458         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18459         sdiv_qrnnd.
18461 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18463         * string/test-memcmp.c: Avoid unncessary #defines.
18464         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18466 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18468         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18469         Use new sse2 version for core i3 - i7 as it's faster
18470         than sse42 version.
18471         (bit_Prefer_PMINUB_for_stringop): New.
18472         * sysdeps/x86_64/rawmemchr.S: Update.
18473         Replace with faster SSE2 version.
18474         * sysdeps/x86_64/memrchr.S: New file.
18475         * sysdeps/x86_64/memchr.S: Update.
18476         Replace with faster SSE2 version.
18478 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18480         * elf/dl-load.c (lose): Add cast to avoid warning.
18482 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18484         * po/ca.po: Update from translation team.
18486         * inet/getnetgrent_r.c: Hook up nscd.
18487         * nscd/Makefile (routines): Add nscd_netgroup.
18488         (nscd-modules): Add netgroupcache.
18489         (CFLAGS-netgroupcache.c): Define.
18490         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18491         (cache_search): Add const to second parameter.
18492         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18493         INNETGR.
18494         (dbs): Add netgrdb entry.
18495         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18496         (verify_persistent_db): Handle netgrdb.
18497         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18498         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18499         GETFDNETGR.
18500         (netgroup_response_header): Define.
18501         (innetgroup_response_header): Define.
18502         (datahead): Add netgroup_response_header and innetgroup_response_header
18503         elements.
18504         * nscd/nscd.conf: Add entries for netgroup cache.
18505         * nscd/nscd.h (dbtype): Add netgrdb.
18506         (_PATH_NSCD_NETGROUP_DB): Define.
18507         (netgroup_iov_disabled): Declare.
18508         (xmalloc, xcalloc, xrealloc): Move declarations here.
18509         (cache_search): Adjust prototype.
18510         Add netgroup-related prototypes.
18511         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18512         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18513         (__nscd_innetgr): Declare.
18514         * nscd/selinux.c (perms): Use access_vector_t as element type and
18515         add netgroup-related initializers.
18516         * nscd/netgroupcache.c: New file.
18517         * nscd/nscd_netgroup.c: New file.
18518         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18519         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18520         For four parameters use innetgr.
18521         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18522         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18523         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18524         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18526         * nscd/connections.c (register_traced_file): Don't register file
18527         for disabled databases.
18529 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18531         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18533         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18534         from tree and freeing node.
18536 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18538         * nss/nsswitch.c (__nss_database_lookup): Handle
18539         nss_parse_service_list out of memory case.
18541 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18543         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18544         out of memory case.
18546 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18548         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18549         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18550         pass it down.
18551         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18552         elf_machine_rela, elf_machine_lazy_rel.
18553         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18554         (ELF_DYNAMIC_DO_REL): Likewise.
18555         (ELF_DYNAMIC_DO_RELA): Likewise.
18556         (ELF_DYNAMIC_RELOCATE): Likewise.
18557         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18558         to ELF_DYNAMIC_DO_REL.
18559         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18560         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18561         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18562         elf_machine_rela.
18563         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18564         skip_ifunc, don't call ifunc function if non-zero.
18565         (elf_machine_rela): Likewise.
18566         (elf_machine_lazy_rel): Likewise.
18567         (elf_machine_lazy_rela): Likewise.
18568         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18569         (elf_machine_lazy_rel): Likewise.
18570         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18571         Likewise.
18572         (elf_machine_lazy_rel): Likewise.
18573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18574         Likewise.
18575         (elf_machine_lazy_rel): Likewise.
18576         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18577         (elf_machine_lazy_rel): Likewise.
18578         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18579         (elf_machine_lazy_rel): Likewise.
18580         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18581         (elf_machine_lazy_rel): Likewise.
18582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18583         (elf_machine_lazy_rel): Likewise.
18584         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18585         (elf_machine_lazy_rel): Likewise.
18586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18587         (elf_machine_lazy_rel): Likewise.
18589 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
18591         * nss/nss_files/files-init.c (_nss_files_init): Use static
18592         initialization for all the *_traced_file variables.
18594 2011-09-28  Andreas Schwab  <schwab@redhat.com>
18596         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18598 2011-09-27  Roland McGrath  <roland@hack.frob.com>
18600         [BZ #13226]
18601         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18603 2011-09-27  Andreas Schwab  <schwab@redhat.com>
18605         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18606         Reread the line before reparsing it.
18608 2011-09-26  Andreas Schwab  <schwab@redhat.com>
18610         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18612 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
18613             Maxim Kuvyrkov  <maxim@codesourcery.com>
18614             Joseph Myers  <joseph@codesourcery.com>
18616         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18617         if needed for __stack_chk_guard.
18619 2011-09-19  Roland McGrath  <roland@hack.frob.com>
18621         * sysdeps/posix/spawni.c (script_execute): Always define it.
18622         It will be optimized away if unused.
18623         (maybe_script_execute): New function.
18624         (__spawni): Call it.
18626         * Makerules: Don't include tls.make.
18627         (config-tls): Always set to thread.
18628         * tls.make.c: File removed.
18630 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
18632         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18633         * config.make.in (CPPFLAGS-config): New substituted variable.
18635 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18639         [BZ #13192]
18640         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18641         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18643 2011-09-15  Roland McGrath  <roland@hack.frob.com>
18645         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18646         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18647         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18648         (CALL_FAIL): Likewise.
18649         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18650         (CALL_FAIL): Macro removed.
18651         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18653 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18655         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18656         for __FINITE_MATH_ONLY__ == 1.
18658 2011-09-15  Andreas Schwab  <schwab@redhat.com>
18660         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18661         __ieee754_sqrt instead of sqrt.
18662         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18663         __ieee754_sqrtf instead of sqrtf.
18664         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18665         __floorf instead of floorf.
18666         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18667         __floorf, __truncf instead of floorf, truncf.
18669 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
18671         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18673         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18674         __extern_always_inline.
18675         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18676         32-bit.
18678 2011-09-14  Andreas Schwab  <schwab@redhat.com>
18680         * elf/rtld.c (dl_main): Also relocate in dependency order when
18681         doing symbol dependency testing.
18683 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
18685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18686         Always define `refsym'.
18688 2011-09-13  Andreas Schwab  <schwab@redhat.com>
18690         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18691         (__FD_ELT): Renamed from __FDELT.
18692         * misc/bits/select2.h (__FD_ELT): Likewise.
18693         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18694         __FD_MASK instead of __FDELT, __FDMASK.
18695         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18696         Likewise.
18697         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18698         Likewise.
18700         * elf/Makefile (gen-ldd): Fix pattern.
18702         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18703         (init_tls): Likewise.
18705 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
18707         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18709 2011-09-12  Andreas Schwab  <schwab@redhat.com>
18711         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18712         `struct cmsghdr *' instead of `void *'.
18713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18714         Likewise.
18716 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18718         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18719         if non-absolute.
18720         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18721         ldd_rewrite_script.
18723 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
18725         * configure.in: Remove --with-tls option.
18726         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18727         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18728         out in case it is missing.
18729         * sysdeps/ia64/elf/configure.in: Likewise.
18730         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18731         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18732         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18733         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18734         * sysdeps/sh/elf/configure.in: Likewise.
18735         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18736         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18737         * sysdeps/x86_64/elf/configure.in: Likewise.
18738         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18739         * sysdeps/mach/hurd/tls.h: Likewise.
18741         [BZ #13067]
18742         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18744         [BZ #13090]
18745         * configure.in: Fix use of AC_INIT.
18747         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18749 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
18751         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18752         __set_errno.
18753         * malloc/hooks.c: Likewise.
18755         [BZ #11929]
18756         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
18757         variables statically.
18758         (narenas): Initialize.
18759         (list_lock): Initialize.
18760         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
18761         initializtion of main_arena and list_lock.  Small cleanups.
18762         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18763         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
18764         Add initializers to main_arena and mp_.
18765         (malloc_state): Remove pagesize member.  Change all users to use
18766         GLRO(dl_pagesize).
18768         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18769         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
18770         is always initialized.
18772         * malloc/malloc.c: Removed unused configurations and dead code.
18773         * malloc/arena.c: Likewise.
18774         * malloc/hooks.c: Likewise.
18775         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18777         * include/tls.h: Removed.  USE___THREAD must always be defined.
18778         * bits/libc-tsd.h: Don't handle !USE___THREAD.
18779         * elf/dl-libc.c: Likewise.
18780         * elf/dl-tsd.c: Likewise.
18781         * include/errno.h: Likewise.
18782         * include/netdb.h: Likewise.
18783         * include/resolv.h: Likewise.
18784         * inet/herrno-loc.c: Likewise.
18785         * inet/herrno.c: Likewise.
18786         * malloc/arena.c: Likewise.
18787         * malloc/hooks.c: Likewise.
18788         * malloc/malloc.c: Likewise.
18789         * resolv/res-state.c: Likewise.
18790         * resolv/res_libc.c: Likewise.
18791         * sysdeps/i386/dl-machine.h: Likewise.
18792         * sysdeps/ia64/dl-machine.h: Likewise.
18793         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18794         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18795         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18796         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18797         * sysdeps/sh/dl-machine.h: Likewise.
18798         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18799         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18800         * sysdeps/unix/i386/sysdep.S: Likewise.
18801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18802         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18807         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18808         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18811         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18812         * sysdeps/x86_64/dl-machine.h: Likewise.
18813         * tls.make.c: Likewise.
18815         * configure.in: Remove --with-__thread option.  Make tests for
18816         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18817         tls_model attribute fail if no support is available.  Remove
18818         USE_IN_LIBIO.
18819         * Makeconfig: Adjust for dropped configure option.  All features are
18820         now mandatory.
18821         * Makerules: Likewise.
18822         * Versions.def: Likewise.
18823         * argp/argp-fmtstream.c: Likewise.
18824         * argp/argp-fmtstream.h: Likewise.
18825         * argp/argp-help.c: Likewise.
18826         * assert/assert.c: Likewise.
18827         * config.h.in: Likewise.
18828         * config.make.in: Likewise.
18829         * configure: Likewise.
18830         * configure.in: Likewise.
18831         * csu/Versions: Likewise.
18832         * csu/init.c: Likewise.
18833         * elf/tst-audit2.c: Likewise.
18834         * elf/tst-tls10.c: Likewise.
18835         * elf/tst-tls10.h: Likewise.
18836         * elf/tst-tls11.c: Likewise.
18837         * elf/tst-tls12.c: Likewise.
18838         * elf/tst-tls14.c: Likewise.
18839         * elf/tst-tlsmod11.c: Likewise.
18840         * elf/tst-tlsmod12.c: Likewise.
18841         * elf/tst-tlsmod13.c: Likewise.
18842         * elf/tst-tlsmod13a.c: Likewise.
18843         * elf/tst-tlsmod14a.c: Likewise.
18844         * elf/tst-tlsmod15b.c: Likewise.
18845         * elf/tst-tlsmod16a.c: Likewise.
18846         * elf/tst-tlsmod16b.c: Likewise.
18847         * elf/tst-tlsmod7.c: Likewise.
18848         * elf/tst-tlsmod8.c: Likewise.
18849         * elf/tst-tlsmod9.c: Likewise.
18850         * gmon/gmon.c: Likewise.
18851         * grp/fgetgrent_r.c: Likewise.
18852         * grp/putgrent.c: Likewise.
18853         * hurd/fopenport.c: Likewise.
18854         * include/libc-symbols.h: Likewise.
18855         * include/tls.h: Likewise.
18856         * intl/gettextP.h: Likewise.
18857         * intl/loadinfo.h: Likewise.
18858         * locale/global-locale.c: Likewise.
18859         * locale/localeinfo.h: Likewise.
18860         * mach/devstream.c: Likewise.
18861         * malloc/arena.c: Likewise.
18862         * malloc/set-freeres.c: Likewise.
18863         * misc/err.c: Likewise.
18864         * misc/getttyent.c: Likewise.
18865         * misc/mntent_r.c: Likewise.
18866         * posix/getopt.c: Likewise.
18867         * posix/wordexp.c: Likewise.
18868         * pwd/fgetpwent_r.c: Likewise.
18869         * resolv/Versions: Likewise.
18870         * resolv/res_hconf.c: Likewise.
18871         * shadow/fgetspent_r.c: Likewise.
18872         * shadow/putspent.c: Likewise.
18873         * stdio-common/printf_fphex.c: Likewise.
18874         * stdio-common/tmpfile.c: Likewise.
18875         * stdlib/abort.c: Likewise.
18876         * stdlib/fmtmsg.c: Likewise.
18877         * sunrpc/auth_unix.c: Likewise.
18878         * sunrpc/clnt_perr.c: Likewise.
18879         * sunrpc/clnt_tcp.c: Likewise.
18880         * sunrpc/clnt_udp.c: Likewise.
18881         * sunrpc/clnt_unix.c: Likewise.
18882         * sunrpc/openchild.c: Likewise.
18883         * sunrpc/svc_simple.c: Likewise.
18884         * sunrpc/svc_tcp.c: Likewise.
18885         * sunrpc/svc_udp.c: Likewise.
18886         * sunrpc/svc_unix.c: Likewise.
18887         * sunrpc/xdr.c: Likewise.
18888         * sunrpc/xdr_array.c: Likewise.
18889         * sunrpc/xdr_rec.c: Likewise.
18890         * sunrpc/xdr_ref.c: Likewise.
18891         * sunrpc/xdr_stdio.c: Likewise.
18893 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18895         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18897 2011-07-03  Andreas Jaeger  <aj@suse.de>
18899         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18900         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18901         regenerate with gen-libm-tests.pl.
18903 2010-05-12  Petr Baudis  <pasky@suse.cz>
18905         [BZ #11589]
18906         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18907         around j0() zero points by switching to j1().
18908         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18909         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18910         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18913 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18915         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18916         instead of 0.
18917         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18918         instead of 0.                              .
18919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18920         Patch in part by Pavel Roskin <proski@gnu.org>.
18922         [BZ #13138]
18923         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18924         realloc.
18925         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
18926         Free memory block if necessary.
18928         [BZ #12847]
18929         * libio/genops.c (INTDEF): For string streams the _lock pointer can
18930         be NULL.  Don't lock in this case.
18932 2011-09-09  Roland McGrath  <roland@hack.frob.com>
18934         * elf/elf.h (ELFOSABI_GNU): New macro.
18935         (ELFOSABI_LINUX): Define to that.
18937 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
18939         * string/strncat.c (strncat): Undef the symbol in case it has been
18940         defined in bits/string.h.
18942 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18944         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18946         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18947         link map.
18949 2011-08-17  Andreas Jaeger  <aj@suse.de>
18951         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18953 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18954             Ian Lance Taylor  <iant@google.com>
18956         * math/libm-test.inc (lround_test): New testcase.
18957         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18959 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
18961         * Makefile: Remove support for automatic cvs check-ins.
18962         * Makerules: Likewise.
18963         * config.make.in: Likewise.
18964         * configure.in: Likewise.
18965         * intl/Makefile: Likewise.
18966         * locale/Makefile: Likewise.
18967         * po/Makefile: Likewise.
18968         * posix/Makefile: Likewise.
18969         * sysdeps/gnu/Makefile: Likewise.
18970         * sysdeps/mach/hurd/Makefile: Likewise.
18971         * sysdeps/sparc/sparc32/Makefile: Likewise.
18973         [BZ #13118]
18974         * posix/Makefile (bug-regex32-ENV): Define.
18975         Patch by John Stanley <jpsinthemix@verizon.net>.
18977         * misc/Makefile (headers): Add bits/select2.h.
18978         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18979         * misc/bits/select2.h: New file.
18980         * include/bits/select2.h: New file.
18981         * debug/Makefile (routines): Add fdelt_chk.
18982         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18983         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18984         FD_ISSET.
18985         * debug/fdelt_chk.c: New file.
18987         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
18988         * wcsmbs/test-wmemcmp.c: Likewise.
18989         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18990         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18992 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18994         * string/Makefile (strop-tests): Add memcmp.
18995         * string/test-wmemcmp.c: New file.
18996         * string/test-memcmp.c: Add wmemcmp support.
18998 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19000         [BZ #13153]
19001         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19002         2011-07-19 change.
19004         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19005         garbage value in a __mach_port_mod_refs call in the cases of the
19006         task-self and thread-self ports.
19008 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19010         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19012 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19014         * elf/dl-load.c (lose): Check for non-null L.
19016 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19018         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19020         * elf/dl-libc.c (dlerror_run): Pass back error code from
19021         dl_catch_error.
19023         [BZ #13123]
19024         * elf/dl-load.c (lose): Free l_origin if it is valid.
19026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19027         names.
19028         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19029         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19030         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19031         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19032         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19033         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19035 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19037         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19038         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19039         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19040         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19041         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19042         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19043         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19044         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19045         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19046         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19048 2011-08-15  Alan Modra  <amodra@gmail.com>
19050         [BZ #13092]
19051         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19052         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19053         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19054         ppc_mcount to static-only-routines.
19055         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19056         __mcount_internal.
19057         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19058         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19060 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19062         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19063         for finite and infinity parameters.
19065 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19067         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19068         and add nop instructions for throughput optimization.
19069         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19071 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19073         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19074         aligned copy for power7 with vector-scalar instructions.
19075         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19077 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19079         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19080         AVX check.
19082 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19084         [BZ #13144]
19085         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19086         last change.
19088 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19090         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19091         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19092         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19093         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19094         clock_gettime.
19096 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19098         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19099         Forgot to demangle the pointer.
19101         * sysdeps/i386/sysdep.h: Define atom_text_section.
19102         * sysdeps/x86_64/sysdep.h: Likewise.
19103         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19104         section with atom_text_section.
19105         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19106         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19107         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19108         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19109         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19111         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19112         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19113         already be defined.  Change to take two parameters and don't assign
19114         result to variable.  Adjust all users.
19115         Define INTERNAL_GETTIME if not already defined.
19116         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19117         call.
19118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19119         HAVE_CLOCK_GETTIME_VSYSCALL.
19120         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19123         gettimeofday vsyscall, just use time.
19125 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19127         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19128         <errno.h>.
19130 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19132         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19133         syscall on x86-64.
19134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19135         syscall.
19136         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19137         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19138         syscall if possible.
19140 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19142         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19143         e_ident.  Don't pass to find_mapsXX.
19144         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19146 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19149         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19150         * sysdeps/x86_64/multiarch/strchr.S: Update.
19151         Check bit_slow_BSF bit.
19152         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19153         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19154         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19156 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19158         [BZ #13134]
19159         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19160         before glibc 2.15.
19161         (tryshell): Define.
19162         (__spawni): Change last parameter to be flag.  Test
19163         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19164         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19165         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19166         * posix/spawni.c: Likewise.
19167         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19168         * posix/spawnp.c: Likewise.  Change normal version to use
19169         SPAWN_XFLAGS_USE_PATH.
19170         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19171         SPAWN_XFLAGS_TRY_SHELL.
19173         [BZ #13150]
19174         * posix/glob.h: Remove gcc 1.x support.
19176         [BZ #13068]
19177         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19179 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19182         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19183         strrchr-sse2-bsf
19184         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19185         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19186         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19187         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19188         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19189         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19191 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19193         * sysdeps/x86_64/wcscmp.S: New file.
19195         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19196         wcscmp-c wcscmp-sse2
19197         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19198         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19199         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19200         * wcsmbs/wcscmp.c: Allow renaming.
19202 2011-09-05  David S. Miller  <davem@davemloft.net>
19204         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19205         stack slot, rather than the struct return pointer slot.
19206         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19207         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19209         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19211 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19213         * po/ja.po: Update from translation team.
19215         [BZ #13144]
19216         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19217         kernel in 64-bit binaries.
19219 2011-09-01  David S. Miller  <davem@davemloft.net>
19221         * elf/elf.h (HWCAP_SPARC_*): Move to..
19222         * sysdeps/sparc/sysdep.h: this new file and add new values.
19223         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19224         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19225         _DL_HWCAP_COUNT to 24.
19226         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19227         entries.
19228         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19229         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19230         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19231         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19232         instead of magic constants.
19233         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19235 2011-08-31  David S. Miller  <davem@davemloft.net>
19237         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19239         Reimplement to do errno handling inline.
19240         (SYSCALL_ERROR_HANDLER): New macro.
19241         (__SYSCALL_STRING): Do not do errno handling in asm.
19242         (__CLONE_SYSCALL_STRING): Delete.
19243         (__INTERNAL_SYSCALL_STRING): Delete.
19244         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19245         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19246         (PSEUDO): Reimplement to do errno handling inline.
19247         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19248         (SYSCALL_ERROR_HANDLER): New macro.
19249         (__SYSCALL_STRING): Do not do errno handling in asm.
19250         (__CLONE_SYSCALL_STRING): Delete.
19251         (__INTERNAL_SYSCALL_STRING): Delete.
19252         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19253         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19254         i386.
19255         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19256         (inline_syscall*): Add 'err' argument.
19257         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19258         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19259         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19260         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19262         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19263         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19265 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19267         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19269 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19271         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19272         directive.
19274 2011-08-24  David S. Miller  <davem@davemloft.net>
19276         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19278 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19280         * elf/Makefile: Add rules to build and run unload8 test.
19281         * elf/unload8.c: New file.
19282         * elf/unload8mod1.c: New file.
19283         * elf/unload8mod1x.c: New file.
19284         * elf/unload8mod2.c: New file.
19285         * elf/unload8mod3.c: New file.
19287         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19288         it wasn't used.
19290 2011-08-23  David S. Miller  <davem@davemloft.net>
19292         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19293         subtract stack bias.
19294         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19295         %sp not %fp in calculations.
19296         (_JMPBUF_UNWINDS_ADJ): Likewise.
19298         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19299         (aio_suspend): Call it to force an exception region around the
19300         AIO_MISC_WAIT() invocation.
19302 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19304         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19305         backslash.
19307 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19309         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19310         protection macro.
19311         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19312         and <dl-machine.h>.
19313         (Elf64_FuncDesc): Remove.
19315 2011-08-22  David S. Miller  <davem@davemloft.net>
19317         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19318         sigaltstack check, add missing cfi directives.
19319         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19320         missing cfi directives, and sigaltstack handling.
19322 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19324         [BZ #11724]
19325         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19326         object is seen twice.
19327         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19329         * elf/Makefile (distribute): Add tst-initorder2.c.
19330         (tests): Add tst-initorder2.
19331         (modules-names): Add tst-initorder2a tst-initorder2b
19332         tst-initorder2c tst-initorder2d.  Add rules to build them.
19333         ($(objpfx)tst-initorder2.out): New rule.
19334         * elf/tst-initorder2.c: New file.
19335         * elf/tst-initorder2.exp: New file.
19337 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19339         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19341         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19342         dependencies back to end of function.
19344         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19345         $(elfobjdir)/ld.so.
19347 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19349         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19350         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19351         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19352         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19353         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19354         of __vdso_gettimeofday.
19355         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19356         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19357         attribute_hidden.
19358         (_libc_vdso_platform_setup): Remove initialization of
19359         __vdso_gettimeofday and __vdso_time.
19361 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19363         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19364         and fgetc_unlocked.
19365         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19366         getc_unlocked.
19368         * elf/dl-open.c (add_to_global): Report additions to the global scope
19369         for LD_DEBUG=scopes.
19370         (dl_open_worker): Also print scope of newly loaded dependencies.
19371         (_dl_show_scope): Indicate if there is no scope.
19373         [BZ #13114]
19374         * stdio-common/Makefile (tests): Add bug24.
19375         * stdio-common/bug24.c: New file.
19377 2011-08-19  Andreas Jaeger  <aj@suse.de>
19379         [BZ #13114]
19380         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19381         non-existant file when using close-on-exec mode.
19383 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19386         the very first instruction.
19388         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19389         the CFI state in the end.
19390         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19391         inclusion of dl-trampoline.h.
19392         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19394 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19396         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19397         expectations for long double.
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19400         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19402 2011-08-14  David S. Miller  <davem@davemloft.net>
19404         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19405         artificual limit depends upon the system page size.
19407 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19409         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19410         * resolv/Makefile: Define CFLAGS-libresolv.
19412 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19414         * nss/makedb.c (compute_tables): Make variables used in nested
19415         function static.
19417 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19419         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19420         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19421         if buffer was too small.
19423         * elf/pldd.c (main): Attach to all threads in the process.
19424         Rewrite /proc handling to use *at functions.
19426 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19428         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19429         specifies first scope to show.
19430         (dl_open_worker): Update callers.  Move printing scope of new
19431         object to before the relocation.
19432         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19433         * sysdeps/generic/ldsodefs.h: Update declaration.
19435         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19436         string for the scope number.
19438 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19440         * nscd/servicescache.c (cache_addserv): Make sure written is always
19441         initialized.
19443 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19445         * sysdeps/i386/i486/bits/atomic.h
19446         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19447         statement expression, so as to suppress "set but not used" warning.
19448         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19450         * string/strncat.c (STRNCAT): Use prototype definition.
19452         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19453         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19454         -Iprograms here.
19455         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19456         (localedef-modules): Add localedef.
19457         (locale-modules): Add locale.
19459         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19460         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19461         to avoid a warning.
19463 2011-08-14  David S. Miller  <davem@davemloft.net>
19465         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19466         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19468 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19470         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19471         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19472         * elf/rtld.c (dl_main): Set l_name of vDSO.
19473         Call _dl_show_scope when DL_DEBUG_SCOPES.
19474         (process_dl_debug): Recognize scopes flag and also set it for all.
19475         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19476         Declare _dl_show_scope.
19478         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19479         (do_dlopen): Pass caller_dlopen to dl_open.
19480         (__libc_dlopen_mode): Initialize caller_dlopen.
19482         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19483         of libc.  Make tolower call locale-independent.  Optimize a bit by
19484         using isdigit instead of isalnum.
19485         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19487 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19489         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19490         was a dependency or dynamically loaded.
19492 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19494         * intl/l10nflist.c: Allow architecture-specific pop function.
19495         * sysdeps/x86_64/l10nflist.c: New file.
19497         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19498         classification.
19500 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19502         * include/dirent.h: Add libc_hidden_proto for scandirat and
19503         scandirat64.  Don't declare __scandirat64.
19504         * dirent/scandirat.c: Add libc_hidden_def.
19505         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19506         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19508 2011-08-10  David S. Miller  <davem@davemloft.net>
19510         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19511         enum.
19512         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19514         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19516 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19518         * Versions.def [libc]: Add GLIBC_2.15.
19519         * dirent/Makefile (routines): Add scandirat and scandirat64.
19520         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19521         GLIBC_2.15.
19522         * dirent/dirent.h: Declare scandirat and scandirat64.
19523         * dirent/scandirat.c: New file.
19524         * dirent/scandirat64.c: New file.
19525         * sysdeps/wordsize-64/scandirat.c: New file.
19526         * sysdeps/wordsize-64/scandirat64.c: New file.
19527         * dirent/opendir.c: Define opendirat.
19528         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19529         using scandirat.
19530         * dirent/scandir64.c: Adjust for scandir.c change.
19531         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19532         __scandirat64, and __scandir_cancel_handler.
19533         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19534         additional parameter and use openat instead of open (outside of ld.so).
19535         Add new __opendir as wrapper around __opendirat.
19536         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19537         here without requiring old scandirat implementation.
19539 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19541         * dirent/scandir.c (cancel_handler): Renamed to
19542         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19543         defined.  Adjust users.
19544         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19545         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19547 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19549         * string/test-string.h (IMPL): Use __STRING to expand name and then
19550         stringify it.
19552         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19553         of cleanups.
19555 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19557         * string/Makefile: Update.
19558         (strop-tests): Append strncat.
19559         * string/test-wcscmp.c: New file.
19560         New comprehensive test for wcscmp.
19561         * string/test-strcmp.c: Update.
19562         (WIDE): New define.
19564 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19566         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19567         line.
19569 2011-07-26  Andreas Schwab  <schwab@redhat.com>
19571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19572         encoding to ACE if AI_IDN.
19574 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
19576         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19577         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19579 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19581         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19582         Fix overflow bug in strncat.
19583         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19585         * string/test-strncat.c: Update.
19586         Add new tests for checking overflow bugs.
19588 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19591         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19592         * sysdeps/i386/i686/multiarch/strcat.S: New file.
19593         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19594         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19595         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19596         * sysdeps/i386/i686/multiarch/strncat.S: New file.
19597         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19598         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19600         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19601         (USE_AS_STRCAT): Define.
19602         Add strcat and strncat support.
19603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19605 2011-07-25  Andreas Schwab  <schwab@redhat.com>
19607         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19608         __n bigger than INT_MAX+1.
19609         (__strncmp_g): Likewise.
19611 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
19613         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19614         * libio/stido.h: Likewise.
19616         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19617         (AF_NFC): Define.
19618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19619         (AF_NFC): Define.
19621         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19622         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19623         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19624         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19625         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19627         [BZ #13021]
19628         * scripts/test-installation.pl: Don't expect libnss_test1 to be
19629         installed.
19631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19632         typo.
19633         (_dl_x86_64_save_sse): Likewise.
19635 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
19637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19638         OSXSAVE.
19639         (_dl_x86_64_save_sse): Likewise.
19641         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19643         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19645 2011-07-21  Andreas Schwab  <schwab@redhat.com>
19647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19648         change.
19649         (_dl_x86_64_save_sse): Use correct AVX check.
19651 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19653         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19654         bug in strncpy/strncat.
19655         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19657 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
19659         * string/tester.c (test_strcat): Add tests for different alignments
19660         of source and destination.
19661         (test_strncat): Likewise.
19663 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19665         [BZ #12852]
19666         * posix/glob.c (glob): Check passed in values before using them in
19667         expressions to avoid some overflows.
19668         (glob_in_dir): Likewise.
19670         [BZ #13007]
19671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19672         check for AVX enablement so that we don't crash with old kernels and
19673         new hardware.
19674         * elf/tst-audit4.c: Add same checks here.
19675         * elf/tst-audit6.c: Likewise.
19677         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19679 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
19681         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19683 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19685         * po/cs.po: Update from translation team.
19686         * po/bg.po: Likewise.
19688 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
19690         * misc/sys/cdefs.h: Add support for const attribute.
19691         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19692         to gnu_dev_{major,minor,makedev} functions.
19694 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
19696         * intl/dcigettext.c (get_output_charset): Add missing bracket.
19698 2011-07-20  Andreas Schwab  <schwab@redhat.com>
19700         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19701         strlen results.
19703 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19706         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19707         register in order to avoid conflicts with the soft frame pointer
19708         being held in r11 when necessary.
19709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19710         (INTERNAL_VSYSCALL_NCS): Likewise.
19712 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
19714         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19715         * elf/dl-fini.c (_dl_fini): Adjust caller.
19716         * elf/dl-close.c (_dl_close_worker): Likewise.
19717         * sysdeps/generic/ldsodefs.h: Adjust declaration.
19719 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19721         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19722         "aux_cache->nlibs < 0".
19724         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19725         in the reload-count case.
19727 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19730         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19731         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19732         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19733         * sysdeps/x86_64/multiarch/strcat.S: New file.
19734         * sysdeps/x86_64/multiarch/strncat.S: New file.
19735         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19736         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19737         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19738         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19739         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19740         (USE_AS_STRCAT): Define.
19741         Add strcat and strncat support.
19742         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19743         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19744         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19745         * string/strncat.c: Update.
19746         (USE_AS_STRNCAT): Define.
19747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19748         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19749         and i7.
19750         * sysdeps/x86_64/multiarch/init-arch.h
19751         (bit_Prefer_PMINUB_for_stringop): New.
19752         (index_Prefer_PMINUB_for_stringop): Likewise.
19753         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19754         bit_Prefer_PMINUB_for_stringop.
19756 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19758         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19759         buffer64.
19760         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19761         of casting of buffer.
19762         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19763         buffer32 and buffer64.
19764         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19765         writes instead of casting of buffer.
19766         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19767         buffer32.
19768         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19769         casting of buffer.
19771 2011-07-19  Andreas Schwab  <schwab@redhat.com>
19773         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19775 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19777         * nscd/nscd.c (termination_handler): Don't do anything for a database
19778         if it has not yet been initialized.
19780 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19782         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19784 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19786         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19788 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19790         * po/nl.po: Update from translation team.
19791         * po/sv.po: Likewise.
19793 2011-07-16  Roland McGrath  <roland@hack.frob.com>
19795         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19796         now disallowed by GCC.
19798         * configure.in (use-default-link): Default to yes if a test -shared
19799         link meets our qualifications.
19800         * configure: Regenerated.
19802         * config.make.in (output-format): New variable.
19803         * configure.in: Check for ld --print-output-format support.
19804         * configure: Regenerated.
19805         * Makerules ($(common-objpfx)format.lds)
19806         [$(output-format) != unknown]: Just use $(output-format),
19807         instead of the linker-script munging.
19809 2011-07-14  Roland McGrath  <roland@hack.frob.com>
19811         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19812         of $(common-objpfx)shlib.lds.
19813         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19815         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19816         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19818         * configure.in (-z relro check): Adjust test code to add a large
19819         writable data section after it.
19820         * configure: Regenerated.
19822 2011-07-11  Roland McGrath  <roland@hack.frob.com>
19824         * configure.in (-z relro check): Fix test code to make the variable
19825         truly const.
19826         * configure: Regenerated.
19828 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
19830         * nscd/nscd.h (struct traced_file): Define.
19831         (struct database_dyn): Remove inotify_descr, reset_res, and filename
19832         elements.  Add traced_files.
19833         (inotify_fd): Declare.
19834         (register_traced_file): Declare.
19835         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19836         (inotify_fd): Export.
19837         (resolv_conf_descr): Remove.
19838         (nscd_init): Move inotify descriptor creation to main.
19839         Don't register files for notification here.
19840         (register_traced_file): New function.
19841         (invalidate_cache): Don't use reset_res to determine whether to call
19842         res_init, go through the list of registered files.
19843         (main_loop_poll): The inotify descriptors are now stored in the
19844         structures for the traced files.
19845         (main_loop_epoll): Likewise
19846         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
19847         to __nss_disable_nscd.
19848         * nscd/cache.c (prune_cache): There is no single inotify descriptor
19849         for a database anymore.  Check the records for all the registered
19850         files instead.
19851         * nss/Makefile (libnss_files-routines): Add files-init.
19852         (libnss_db-routines): Add db-init.
19853         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19854         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19855         * nss/nss_db/db-init.c: New file.
19856         * nss/nss_files/files-init.c: New file.
19857         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
19858         __nss_lookup_function.
19859         (__nss_lookup_function): Call nss_load_library.
19860         (nss_load_all_libraries): New function.
19861         (__nss_disable_nscd): Take parameter with callback function for files
19862         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
19863         used for the cached services.
19864         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19865         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19866         options for features to all the files in nscd.
19868         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19870 2011-07-10  Roland McGrath  <roland@hack.frob.com>
19872         * csu/elf-init.c (__libc_csu_init): Comment typo.
19874 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
19876         * po/pl.po: Update from translation team.
19877         * po/ja.po: Likewise.
19878         * po/ru.po: Likewise.
19879         * po/ko.po: Likewise.
19880         * po/fr.po: Likewise.
19882 2011-07-09  Roland McGrath  <roland@hack.frob.com>
19884         * configure.in (.ctors/.dtors header and trailer check):
19885         Use an empirical test on a built program.
19886         * configure: Regenerated.
19888         * configure.in (-z relro check): Use an empirical test on a built DSO.
19889         Detect, but do not require, on ia64.
19890         * configure: Regenerated.
19892         * configure.in (READELF): Find it with AC_CHECK_TOOL.
19893         Update tests that use readelf to use $READELF instead.
19894         * configure: Regenerated.
19896 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
19898         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19899         if the result is not used.
19901 2011-07-05  Andreas Jaeger  <aj@suse.de>
19903         [BZ#9696]
19904         * stdlib/tst-strtod.c: Add testcase.
19906 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
19908         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19909         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19910         The latter has a higher limit.  Take additional parameter to pass to
19911         the new function.
19912         (__pathconf): Pass file to __statfs_link_max.
19913         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19914         __statfs_link_max.
19915         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19916         __statfs_link_max.
19918         [BZ #12868]
19919         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19920         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19921         Handle Lustre.
19922         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19923         (__statfs_filesize_max): Likewise.
19924         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19926 2011-07-05  Andreas Jaeger  <aj@suse.de>
19928         * resolv/res_comp.c (dn_skipname): Remove unused variable.
19930 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
19932         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19933         `status' variable.
19934         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19935         Likewise.
19937 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
19939         * Makefile (strop-tests): Add strncat.
19940         * string/test-strncat.c: New file.
19942 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
19944         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19946 2011-06-21  Andreas Jaeger  <aj@suse.de>
19948         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19949         Copy rule from iconvdata/Makefile.
19951 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
19953         [BZ #12922]
19954         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19955         but no long options are defined, just return 'W'.
19957 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
19959         [BZ #9696]
19960         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19962 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
19964         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19965         netgroups to read.
19966         (innetgr): Likewise.
19968 2011-07-05  Roland McGrath  <roland@hack.frob.com>
19970         * config.make.in (install_root): Default to $(DESTDIR).
19972 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
19974         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19976 2011-07-02  Roland McGrath  <roland@hack.frob.com>
19978         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19980         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19981         containing directory rather than embedding absolute directory names.
19983         * scripts/check-local-headers.sh: Rewritten using awk.
19984         Match by word, not by line.  Print error messages for matches.
19985         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19987         * Makerules [shlib-lds-flags empty]:
19988         ($(common-objpfx)libc_pic.opts): New target.
19989         ($(common-objpfx)libc_pic.os.clean): New target.
19990         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19992         * config.make.in (OBJCOPY): New variable.
19993         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19994         * configure: Regenerated.
19996         * config.make.in (use-default-link): New variable.
19997         * configure.in (use_default_link): Grok --with-default-link to set it.
19998         * configure: Regenerated.
19999         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20000         (shlib-lds, shlib-lds-flags): Define to empty.
20002         * Makerules (shlib-lds): New variable.
20003         (shlib-lds-flags): New variable.
20004         (build-shlib, build-moduile, build-module-asneeded): Use it.
20005         ($(common-objpfx)libc.so): Use $(shlib-lds).
20006         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20007         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20009         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20010         DT_FLAGS/DT_FLAGS_1 with zero flags.
20012         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20013         linker script munging.
20015 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20017         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20018         as 128-bit value.
20019         * crypt/sha512.c (sha512_process_block): Perform total addition using
20020         128-bit if possible.
20021         (__sha512_finish_ctx): Likewise.
20022         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20023         as 64-bit value.
20024         * crypt/sha256.c (SWAP64): Define.
20025         (sha256_process_block): Perform total addition using 64-bit if
20026         possible.
20027         (__sha256_finish_ctx): Likewise.
20029 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20031         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20032         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20033         * nscd/hstcache.c (cache_addhst): Likewise.
20034         * nscd/grpcache.c (cache_addgr): Likewise.
20035         * nscd/aicache.c (addhstaiX): Likewise
20036         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20038 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20040         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20041         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20042         * nscd/hstcache.c (cache_addhst): Likewise.
20043         * nscd/grpcache.c (cache_addgr): Likewise.
20044         * nscd/aicache.c (addhstaiX): Likewise
20046 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20048         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20049         domain only when needed.
20051 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20054         is always restored.
20056 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20058         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20059         are re-adding the entry.
20060         * nscd/servicescache.c (cache_addserv): Likewise.
20062 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20064         * sysdeps/generic/dl-irel.h: fix protection against multiple
20065         inclusions.
20066         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20068 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20070         [BZ #12935]
20071         * malloc/memusage.sh: Fix quoting in message.
20072         * debug/xtrace.sh: Likewise.
20074         * configure.in: Remove support for --experimental-malloc option, make
20075         it the default.
20076         * config.make.in: Likewise.
20077         * malloc/Makefile: Likewise.
20079 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20081         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20082         two-byte characters.
20084 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20086         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20087         AC_CACHE_CHECK invocation.
20088         * configure: Regenerated.
20090         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20092 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20094         [BZ #12350]
20095         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20096         bit from old_res_options.
20098         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20100         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20101         value type for setfct.
20103 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20105         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20106         __gettimeofday instead of gettimeofday.
20108 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20110         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20112 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20114         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20116         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20117         info.
20119 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20122         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20123         strcpy-sse2-unaligned strncpy-sse2-unaligned
20124         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20125         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20126         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20127         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20128         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20129         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20130         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20131         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20132         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20133         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20134         (STRCPY): Support SSE2 and SSSE3 versions.
20136 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20138         [BZ #12874]
20139         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20140         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20141         kernels which artificially limit size of requests.
20143 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20146         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20147         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20148         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20149         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20150         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20151         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20152         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20153         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20154         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20155         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20156         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20157         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20158         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20159         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20161         Enable unaligned load optimization for Intel Core i3, i5 and i7
20162         processors.
20163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20164         Define.
20165         (index_Fast_Unaligned_Load): Define.
20166         (HAS_FAST_UNALIGNED_LOAD): Define.
20168 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20170         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20172 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20174         [BZ #12907]
20175         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20176         until it is clear that the information is realy needed.
20177         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20179 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20183 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20186         /sys/devices/system/cpu/online if it is usable.
20188         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20189         reading the information from the /proc filesystem to once a second.
20191 2011-06-21  Andreas Jaeger  <aj@suse.de>
20193         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20194         NULL after inclusion of kernel headers.
20196 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20198         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20199         calls to internal_setent.
20201         [BZ #12885]
20202         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20203         addresses using gethostbyname4_r ignore IPv4 addresses.
20205         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20206         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20208         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20210 2011-06-20  David S. Miller  <davem@davemloft.net>
20212         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20213         inclusions.
20214         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20216         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20217         (elf_irel): Use it.
20218         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20219         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20220         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20221         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20222         * sysdeps/x86_64/dl-irel.h: Likewise.
20224         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20225         * elf/dl-sym.c: Likewise.
20227 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20229         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20230         need to dereference resplen2.
20232 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20234         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20236 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20238         * Makeconfig: Define vardbdir and inst_vardbdir.
20239         * nss/Makefile: Add rules to install db-Makefile.
20241         * nss/nss_db/db-XXX.c: Cleanup.
20243         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20244         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20245         GLIBC_PRIVATE.
20246         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20247         * nss/makedb.c: Implement -g option to specify that value strings
20248         are generated and should not be added to table iterated over for
20249         get*ent calls.
20250         * nss/nss_db/db-initgroups.c: New file.
20252         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20253         interface.
20255         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20256         (internal_getgrouplist): Adjust to name change.
20257         Update use_initgroups_entry if this is not the first call.
20258         * nss/databases.def: Add initgroups entry.
20260         * nss/makedb.c (compute_tables): Check result of multiple hash table
20261         sizes to minimize maximum chain length.
20263 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20265         * Versions.def: Add entry for libnss_db.
20266         * shlib-versions: Likewise.
20267         * nss/Makefile: Add rules to build libnss_db.
20268         * nss/Versions: Add libnss_db information.  Organize libnss_files
20269         entries better.
20270         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20271         makedb progra.  Some minor improvements to generate smaller files.
20272         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20273         here from...
20274         * nss/makedb.c: ...here.
20275         Improve database format to be smaller and require less memory at
20276         runtime.
20277         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20278         db anymore.
20279         * nss/nss_db/db-netgrp.c: Likewise.
20280         * nss/nss_db/db-open.c: Likewise.
20281         * nss/nss_files/flies-XXX.x: Adjust comments.
20282         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20283         * nss/nss_files/files-grp.c: Likewise.
20284         * nss/nss_files/files-hosts.c: Likewise.
20285         * nss/nss_files/files-network.c: Likewise.
20286         * nss/nss_files/files-proto.c: Likewise.
20287         * nss/nss_files/files-pwd.c: Likewise.
20288         * nss/nss_files/files-rpc.c: Likewise.
20289         * nss/nss_files/files-service.c: Likewise.
20290         * nss/nss_files/files-sgrp.c: Likewise.
20291         * nss/nss_files/files-spwd.c: Likewise.
20292         * nss/nss_db/db-alias.c: Removed.
20293         * nss/nss_db/dummy-db.h: Removed.
20295 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20297         * nss/makedb.c: Rewritten to not use database library.
20298         * nss/Makefile: Update to build new makedb program.
20300 2011-06-14  Andreas Jaeger  <aj@suse.de>
20302         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20303         memset declaration.
20305 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20308         tmpbuf.
20310 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20312         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20313         * elf/Makefile ($(objpfx)ld.so): Likewise.
20315         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20316         Don't list ld.so twice in dependencies.
20318         * posix/bug-regex31.c: Include <stdlib.h>.
20320         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20322         * nis/nss_compat/compat-spwd.c
20323         (getspent_next_nss_netgr): Remove unused variable.
20324         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20326         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20327         nonmembers" output to use the right array.
20329         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20331         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20333         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20334         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20335         * catgets/gencat.c (read_input_file): Likewise.
20336         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20338         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20339         variable definition inside #if's controlling its use.
20341         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20343         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20345         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20347         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20348         unreachable code.
20350         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20352         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20353         * configure: Regenerated.
20355         * Makerules: Revert last change.
20356         * elf/Makefile: Likewise.
20358 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20360         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20361         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20362         (reloc-link): Likewise.
20364 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20366         * elf/Makefile: Add rules to build pldd.
20367         * elf/pldd.c: New file.
20368         * elf/pldd-xx.c: New file.
20370 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20372         * version.h: Update for 2.15 development version.
20374 2011-06-07  David S. Miller  <davem@davemloft.net>
20376         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20377         ifuncs.
20378         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20379         elf_machine_lazy_rel): Likewise.
20380         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20382         elf_machine_lazy_rel): Likewise.
20383         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20384         dl_hwcap via passed in argument.
20385         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20386         Likewise.
20388 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20390         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20392 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20394         [BZ #12849]
20395         * manual/fdl-1.1.texi: New file, verbatim from:
20396         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20397         * manual/lgpl-2.1.texi: New file, verbatim from:
20398         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20399         * manual/Makefile (licenses): New variable, list those new file names.
20400         (texis): Use it.
20401         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20403         * manual/fdl.texi: File removed.
20404         * manual/lesser.texi: File removed.
20405         * manual/libc.texinfo (Copying, Documentation License):
20406         Use new @include file names, put @appendix directive before @include.
20408 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20410         [BZ #12841]
20411         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20412         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20413         (mq_open): Add __NTH.
20415 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20418         Assume Intel Core i3/i5/i7 processor if AVX is available.
20420 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20423         typo.
20425 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20427         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20428         memory.  Use alloca_account.  Fix memory leak when retrying.
20430 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20432         * version.h (RELEASE): Bump for 2.14 release.
20433         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20435         * config.make.in (RANLIB): Remove entry.
20437 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20439         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20440         (libc.pot): Work around missing support for .ksh extension in xgettext.
20442         [BZ #12684]
20443         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20444         if both request failed.
20445         (send_dg): In case of server errors clear resplen or *resplen2.
20447         [BZ #12454]
20448         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20449         when there are multiple maps.
20450         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20451         (_dl_fini): Remove test here.
20453         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20455 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20457         [BZ #12350]
20458         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20459         bit from old_res_options.
20460         (gaih_inet): Likewise.
20462         [BZ #11099]
20463         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20464         as signed.
20466         * resolv/res_init.c (res_setoptions): Make the code more compact.
20468         [BZ #11558]
20469         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20470         set RES_USEVC.
20472         [BZ #11634]
20473         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20475         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20477         [BZ #11781]
20478         * malloc/malloc.h: Declare malloc hook variables as volatile.
20480         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20481         in last patch.
20483         [BZ #11799]
20484         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20485         raise in the comment.
20486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20487         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20488         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20490 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20492         [BZ #12811]
20493         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20494         grow the buffers more if it already has to be sufficient.
20495         (build_wcs_upper_buffer): Likewise.
20496         * posix/regexec.c (check_matching): Likewise.
20497         (clean_state_log_if_needed): Likewise.
20498         (extend_buffers): Don't enlarge buffers beyond size of the input
20499         buffer.
20500         Patches mostly by Emil Wojak <emil@wojak.eu>.
20501         * posix/bug-regex32.c: New file.
20502         * posix/Makefile (tests): Add bug-regex32.
20504         * locale/findlocale.c (_nl_find_locale): Return right away if
20505         _nl_explode_name failed.
20506         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20508         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20510         * debug/xtrace.sh: Unify messages.
20511         * malloc/memusage.sh: Likewise.
20513         [BZ #12813]
20514         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20515         time symbol from vDSO.  Substitute with vsyscall if not available.
20516         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20517         __vdso_time.
20519         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20520         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20521         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20522         Add sendmmsg and internal_sendmmsg.
20523         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20524         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20525         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20527         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20528         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20529         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20531 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20533         [BZ #12813]
20534         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20535         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20536         available.
20537         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20538         __vdso_getcpu.
20540         [BZ #12814]
20541         * iconvdata/Makefile (tests): Add bug-iconv9.
20542         * iconvdata/bug-iconv9.c: New file.
20544 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20546         [BZ #12814]
20547         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20549 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20551         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20552         (struct user_regs_struct): Change intcs field back to cs.
20554 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20556         * po/ja.po: Update from translation team.
20558 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20560         [BZ #12795]
20561         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20562         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20564 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20566         * stdlib/longlong.h: Update from GCC.
20568 2011-05-23  Andreas Schwab  <schwab@redhat.com>
20570         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20571         parameter name.
20572         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20573         Add parameter name.
20574         (__sysconf): Pass it down.
20576 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
20578         [BZ #12671]
20579         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20580         some situations.
20581         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20582         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20583         add in in __libc_use_alloca calls.  Adjust callers.
20584         (glob): Use malloc in some situations.
20586         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20587         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20588         pltexit.
20590 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
20592         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20593         and CLOCK_BOOTTIME_ALARM.
20595         [BZ #12782]
20596         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20597         is returned.
20599         * string/_strerror.c (__strerror_r): Print negative errors as signed
20600         numbers.
20602         [BZ #12777]
20603         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20604         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20605         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20607         * configure.in: Fix typo in redirection and correct removal of test
20608         files in two cases.
20610         [BZ #12788]
20611         * locale/setlocale.c (new_composite_name): Fix test to check for
20612         identical name of all categories.
20614         [BZ #12792]
20615         * libio/filedoalloc.c (local_isatty): New function.
20616         (_IO_file_doallocate): Use local_isatty.
20617         * stdio-common/perror.c (perror): In case a new stream is used
20618         forward the stream error.
20619         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20620         error flag.
20622 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
20624         [BZ #11869]
20625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20626         alloca.
20627         * include/alloca.h (extend_alloca_account): Define.
20629         [BZ #11857]
20630         * posix/regex.h: Fix comments with documentation of user-accessible
20631         fields after compilation and describe correct free'ing of pattern
20632         after re_compile_pattern.
20633         Patch by Reuben Thomas <rrt@sc3d.org>.
20635 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
20637         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20638         and -mno-altivec to prevent the compiler from using Altivec and/or
20639         VSX instructions when the corresponding registers are not available.
20641 2011-05-19  Andreas Schwab  <schwab@redhat.com>
20643         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20645 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
20647         * libio/freopen.c (freopen): Use __dup2, not dup2.
20648         * libio/freopen64.c (freopen64): Likewise.
20650 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20652         [BZ #12775]
20653         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20654         * math/Makefile (tests): Add test-powl.
20655         (CFLAGS-test-powl.c): Define.
20656         * math/test-powl.c: New file.
20658 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20660         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20662 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
20664         [BZ #11837]
20665         * iconvdata/gb18030.c: Update to GB18020-2005.
20667 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
20669         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20670         RE_SYNTAX_POSIX_AWK): Update to match recent development.
20671         Patch by Aharon Robbins <arnold@skeeve.com>.
20673         [BZ #11892]
20674         * stdlib/putenv.c (putenv): Don't always create copy of the variable
20675         on the stack.
20677         [BZ #11895]
20678         * misc/pselect.c (__pselect): Handle timeout value errors hidden
20679         through underflows.
20681         [BZ #12766]
20682         * misc/error.c (error_at_line): Ensure file_name and old_file_name
20683         point to strings before performing equality test for error_one_per_line
20684         mode.
20686         [BZ #11697]
20687         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20689         [BZ #11820]
20690         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20691         (struct user_fpregs_struct): Avoid __uint*_t types.
20693         [BZ #6420]
20694         * malloc/mtrace.c (tr_where): Add additional parameter to point to
20695         symbol info.  Use it instead of calling _dl_addr locally.
20696         (lock_and_info): New function.
20697         (tr_freehook): Call lock_and_info and pass symbol info as additional
20698         parameter to tr_where.
20699         (tr_mallochook): Likewise.
20700         (tr_reallochook): Likewise.
20701         (tr_memalignhook): Likewise.
20703         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
20704         used and couldn't be at all thread-safe.
20706 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
20708         * libio/freopen.c (freopen): Don't close old file descriptor
20709         before the new one is opened.  Instead dup the new file descriptor
20710         to the old one after the new stream is created.
20711         * libio/freopen64.c (freopen64): Likewise.
20712         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20713         * libio/fileops.c (_IO_new_file_close_it): Handle new
20714         _IO_FLAGS2_NOCLOSE flag.
20715         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20716         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20717         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20718         _IO_FLAGS2_NOCLOSE flag.
20719         * include/unistd.h: Add hidden_proto for dup3.
20720         Define __have_dup3.
20721         * io/dup3.c: Define hidden symbol.
20722         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20724         [BZ #7101]
20725         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20726         when an incomplete long option is used.
20727         * posix/tst-getopt_long1.c: New file.
20728         * posix/Makefile (tests): Add tst-getopt_long1.
20730         [BZ #10138]
20731         * scripts/config.guess: Update from autoconf-2.68.
20732         * scripts/config.sub: Likewise.
20734         [BZ #10157]
20735         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20736         tests into ...
20737         (has_cpuclock): ...this.  New function.
20738         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20739         macro here based on has_cpuclock code.
20741         [BZ #10149]
20742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20743         First byte (not low byte) is now always NUL.
20744         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20747         Use non-cancelable interfaces.
20749         [BZ #9809]
20750         * locale/iso-639.def: Add entry for Sorani.
20752         [BZ #11901]
20753         * include/stdlib.h: Move include protection to the right place.
20754         Define abort_msg_s.  Declare __abort_msg with it.
20755         * stdlib/abort.c (__abort_msg): Adjust type.
20756         * assert/assert.c (__assert_fail_base): New function.  Majority
20757         of code from __assert_fail.  Allocate memory for __abort_msg with
20758         mmap.
20759         (__assert_fail): Now call __assert_fail_base.
20760         * assert/assert-perr.c: Remove bulk of implementation.  Use
20761         __assert_fail_base.
20762         * include/assert.hL Declare __assert_fail_base.
20763         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20764         mmap.
20765         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20767 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
20769         [BZ #11952]
20770         [BZ #12453]
20771         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20772         until all modules are registered in the DTV.
20773         * elf/Makefile: Add rules to build and run tst-tls19.
20774         * elf/tst-tls19.c: New file.
20775         * elf/tst-tls19mod1.c: New file.
20776         * elf/tst-tls19mod2.c: New file.
20777         * elf/tst-tls19mod3.c: New file.
20778         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20780         [BZ #12083]
20781         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20782         correctly.
20784         [BZ #12601]
20785         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20786         two-byte sequence errors.
20787         * iconvdata/Makefile (tests): Add bug-iconv8.
20788         * iconvdata/bug-iconv8.c: New file.
20790         [BZ #12626]
20791         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20792         buf2 definition.
20794         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20796         [BZ #12432]
20797         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20798         (dummy_getcfa): New function.
20799         (init): Get _Unwind_GetCFA address, use dummy if not found.
20800         (backtrace_helper): In recursion check, also check whether CFA changes.
20801         (__backtrace): Completely initialize arg.
20803         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20804         storing incomplete byte sequence in state object.  Avoid testing for
20805         guaranteed too small input if we know there is enough data available.
20807 2011-05-11  Andreas Schwab  <schwab@redhat.com>
20809         * Makeconfig (+link-pie): Indent.
20810         * Rules (binaries-pie): Define if $(have-fpie) and
20811         $(build-shared).
20812         (binaries-shared): Also filter out $(binaries-pie).
20813         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20814         * nscd/Makefile (others-pie): Add nscd.
20815         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20816         ($(objpfx)nscd): Remove command override.
20817         * login/Makefile (others-pie): Add pt_chown.
20818         ($(objpfx)pt_chown): Remove command override.
20819         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20820         remove command overrides.
20822 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
20824         * libio/tst_putwc.c: Fix error messages.
20826         [BZ #12724]
20827         * libio/fileops.c (_IO_new_file_close_it): Always flush when
20828         currently writing and seek to current position when not.
20829         * libio/Makefile (tests): Add bug-fclose1.
20830         * libio/bug-fclose1.c: New file.
20832 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
20834         [BZ #12511]
20835         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20836         don't set DF_1_NODELETE here.
20837         (do_lookup_x): When entering new entry test for copy relocation
20838         and if necessary set DF_1_NODELETE flag.
20839         * elf/tst-unique4.cc: New file.
20840         * elf/tst-unique4.h: New file.
20841         * elf/tst-unique4lib.cc: New file.
20842         * elf/Makefile: Add rules to build and run tst-unique4.
20843         Patch by Piotr Bury <pbury@goahead.com>.
20845 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
20847         [BZ #12052]
20848         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20850         [BZ #12625]
20851         * misc/mntent_r.c (addmntent): Flush the stream after the output
20853         [BZ #12393]
20854         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20855         (is_trusted_path_normalize): Skip initial colon.  Append slash
20856         to empty buffer.  Duplicate is_trusted_path code but allow
20857         constructed patch to be prefix.
20858         (is_dst): Allow $ORIGIN followed by /.
20859         (_dl_dst_substitute): Correct clearing of check_for_trusted.
20860         Correct testing of result of is_trusted_path_normalize
20861         (decompose_rpath): Fix warning.
20863 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
20865         [BZ #11257]
20866         * grp/initgroups.c (internal_getgrouplist): When we found the service
20867         list through the initgroups entry in nsswitch.conf do not always
20868         continue on a successful lookup.  Don't always use the
20869         __nss_group_database value if it is set.
20870         * nss/nsswitch.conf (initgroups): Change action for successful db
20871         lookup to continue for compatibility.
20873 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
20875         [BZ #11532]
20876         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20877         and CP774 modules.
20878         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20879         and CP774 modules.
20880         * iconvdata/tst-tables.sh: Likewise.
20881         * iconvdata/cp770.c: New file.
20882         * iconvdata/cp771.c: New file.
20883         * iconvdata/cp772.c: New file.
20884         * iconvdata/cp773.c: New file.
20885         * iconvdata/cp774.c: New file.
20886         * iconvdata/testdata/CP770: New file.
20887         * iconvdata/testdata/CP770..UTF8: New file.
20888         * iconvdata/testdata/CP771: New file.
20889         * iconvdata/testdata/CP771..UTF8: New file.
20890         * iconvdata/testdata/CP772: New file.
20891         * iconvdata/testdata/CP772..UTF8: New file.
20892         * iconvdata/testdata/CP773: New file.
20893         * iconvdata/testdata/CP773..UTF8: New file.
20894         * iconvdata/testdata/CP774: New file.
20895         * iconvdata/testdata/CP774..UTF8: New file.
20897         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20898         END CHARMAP line.
20899         * iconvdata/gen-8bit-gap.sh: Likewise.
20900         * iconvdata/gen-8bit.sh: Likewise.
20902         * locale/iso-639.def: Add ary entry.
20904         [BZ #11258]
20905         * locale/C-translit.h.in: Add U20A1 transliteration.
20907         [BZ #12178]
20908         * locale/iso-639.def: Add wae entry.
20909         Patch by Kevin Bortis <bortis@translate-wae.ch>.
20911         [BZ #12545]
20912         * locale/programs/localedef.c (construct_output_path): Use ssize_t
20913         for n.
20915         [BZ #12711]
20916         * locale/C-translit.h.in: Add entry for U20B9.
20917         Patch by pravin.d.s@gmail.com.
20919 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
20921         [BZ #12713]
20922         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20923         ENAMETOOLONG use generic getcwd.
20924         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
20925         in rtld.  Use *stat64.
20926         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20927         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20928         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20929         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20930         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20931         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20932         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20933         __fstatat64 macros.
20934         * include/dirent.h: Add libc_hidden_proto for rewinddir.
20935         * dirent/rewinddir.c: Add libc_hidden_def.
20936         * sysdeps/mach/hurd/rewinddir.c: Likewise.
20937         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
20939         * include/dirent.h (__alloc_dir): Add flags parameter.
20940         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20941         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20942         __alloc_dir.
20943         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
20944         from fdopendir if O_CLOEXEC is already set.
20946 2011-03-15  Alan Modra  <amodra@gmail.com>
20948         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20949         l_tls_firstbyte_offset non-zero.  Save padding offset in
20950         l_tls_firstbyte_offset for later use.
20951         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20952         freeing static tls block.
20954 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
20956         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20957         where #ifdef was intended.  The intent is to prevent ARG_MAX from
20958         being defined by the kernel headers.
20960 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
20962         [BZ #12734]
20963         * resolv/resolv.h: Define RES_NOTLDQUERY.
20964         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20965         no-tld-query and set RES_NOTLDQUERY.
20966         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20967         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20968         modern BIND to search name as TLD unless forbidden.
20970 2011-05-07  Petr Baudis  <pasky@suse.cz>
20971             Ulrich Drepper  <drepper@gmail.com>
20973         [BZ #12393]
20974         * elf/dl-load.c (fillin_rpath): Move trusted path check...
20975         (is_trusted_path): ...to here.
20976         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20977         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20978         using is_trusted_path_normalize() in setuid scripts.
20980 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20982         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20983         __BEGIN/__END_DECLS.
20985 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
20987         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20988         NSS_STATUS_NOTFOUND if no record was found.
20990 2011-05-05  Andreas Schwab  <schwab@redhat.com>
20992         * sunrpc/Makefile (headers): Add rpc/netdb.h.
20993         (headers-not-in-tirpc): Remove rpc/netdb.h
20994         * resolv/netdb.h: Revert last change.
20996 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20998         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20999         circular dependency between libgcc.a and libc.a.
21001 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21003         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21004         * nis/Makefile: Don't install rpcsvc/*.
21005         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21006         instead of <rpc/types.h>.
21007         (MAXHOSTNAMELEN): Define.
21009 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21011         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21013 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21015         [BZ #12714]
21016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21017         gethostbyname4_r when IPv6 results are possible.
21019 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21021         [BZ #12723]
21022         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21023         _PC_PIPE_BUF handling.
21025 2011-04-30  Bruno Haible  <bruno@clisp.org>
21027         [BZ #12717]
21028         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21029         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21030         to 'int'.
21031         * inet/getnameinfo.c (getnameinfo): Likewise.
21033 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21035         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21036         to groups setting in database lookup.
21037         * nss/nsswitch.conf: Add initgroups entry.
21039 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21041         [BZ #12685]
21042         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21043         mode string.
21044         Patch by Eric Blake <eblake@redhat.com>.
21046 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21048         * sunrpc/Makefile (need-export-routines): Add svc_run.
21049         (routines): Remove svc_run.
21050         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21051         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21052         * sunrpc/svc_run.c (svc_run): Likewise.
21053         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21055 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21057         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21058         problem in reallocation in last patch.
21060 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21062         * sunrpc/Makefile: Move inclusion of Rules.
21064 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21066         * nss/nss_files/files-initgroups.c: New file.
21067         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21068         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21069         _nss_files_initgroups_dyn.
21071 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21073         * elf/elf.h (R_ARM_IRELATIVE): Define.
21075 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21077         * po/ru.po: Update from translation team.
21079 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21081         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21082         dependencies.
21084 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21086         [BZ #12653]
21087         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21088         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21089         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21093 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21095         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21096         differing bytes.
21097         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21098         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21099         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21101 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21103         [BZ #12420]
21104         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21105         storing it.
21106         * stdlib/bug-getcontext.c: New file.
21107         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21109 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21111         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21112         instructions into .machine "z9-109".
21113         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21114         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21116 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21118         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21119         between environment variables and auxiliary vector.
21121 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21123         * Makefile: Add rules to build linkobj/libc.so.
21124         * include/libc-symbols.h: Define libc_hidden_nolink.
21125         * include/rpc/auth.h: Mark functions which are to be hidden.
21126         * include/rpc/auth_des.h: Likewise.
21127         * include/rpc/auth_unix.h: Likewise.
21128         * include/rpc/clnt.h: Likewise.
21129         * include/rpc/des_crypt.h: Likewise.
21130         * include/rpc/key_prot.h: Likewise.
21131         * include/rpc/pmap_clnt.h: Likewise.
21132         * include/rpc/pmap_prot.h: Likewise.
21133         * include/rpc/pmap_rmt.h: Likewise.
21134         * include/rpc/rpc_msg.h: Likewise.
21135         * include/rpc/svc.h: Likewise.
21136         * include/rpc/svc_auth.h: Likewise.
21137         * include/rpc/xdr.h: Likewise.
21138         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21139         * nss/Makefile: Likewise.
21140         * sunrpc/Makefile: Don't install headers.  Build library with normal
21141         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21142         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21143         for the compat linking library.  Remove use of INTDEF/INTUSE.
21144         * sunrpc/auth_none.c: Likewise.
21145         * sunrpc/auth_unix.c: Likewise.
21146         * sunrpc/authdes_prot.c: Likewise.
21147         * sunrpc/authuxprot.c: Likewise.
21148         * sunrpc/clnt_gen.c: Likewise.
21149         * sunrpc/clnt_perr.c: Likewise.
21150         * sunrpc/clnt_raw.c: Likewise.
21151         * sunrpc/clnt_simp.c: Likewise.
21152         * sunrpc/clnt_tcp.c: Likewise.
21153         * sunrpc/clnt_udp.c: Likewise.
21154         * sunrpc/clnt_unix.c: Likewise.
21155         * sunrpc/des_crypt.c: Likewise.
21156         * sunrpc/des_soft.c: Likewise.
21157         * sunrpc/get_myaddr.c: Likewise.
21158         * sunrpc/key_call.c: Likewise.
21159         * sunrpc/key_prot.c: Likewise.
21160         * sunrpc/netname.c: Likewise.
21161         * sunrpc/pm_getmaps.c: Likewise.
21162         * sunrpc/pm_getport.c: Likewise.
21163         * sunrpc/pmap_clnt.c: Likewise.
21164         * sunrpc/pmap_prot.c: Likewise.
21165         * sunrpc/pmap_prot2.c: Likewise.
21166         * sunrpc/pmap_rmt.c: Likewise.
21167         * sunrpc/publickey.c: Likewise.
21168         * sunrpc/rpc_cmsg.c: Likewise.
21169         * sunrpc/rpc_common.c: Likewise.
21170         * sunrpc/rpc_dtable.c: Likewise.
21171         * sunrpc/rpc_prot.c: Likewise.
21172         * sunrpc/rpc_thread.c: Likewise.
21173         * sunrpc/rtime.c: Likewise.
21174         * sunrpc/svc.c: Likewise.
21175         * sunrpc/svc_auth.c: Likewise.
21176         * sunrpc/svc_authux.c: Likewise.
21177         * sunrpc/svc_raw.c: Likewise.
21178         * sunrpc/svc_run.c: Likewise.
21179         * sunrpc/svc_simple.c: Likewise.
21180         * sunrpc/svc_tcp.c: Likewise.
21181         * sunrpc/svc_udp.c: Likewise.
21182         * sunrpc/svc_unix.c: Likewise.
21183         * sunrpc/svcauth_des.c: Likewise.
21184         * sunrpc/xcrypt.c: Likewise.
21185         * sunrpc/xdr.c: Likewise.
21186         * sunrpc/xdr_array.c: Likewise.
21187         * sunrpc/xdr_float.c: Likewise.
21188         * sunrpc/xdr_intXX_t.c: Likewise.
21189         * sunrpc/xdr_mem.c: Likewise.
21190         * sunrpc/xdr_rec.c: Likewise.
21191         * sunrpc/xdr_ref.c: Likewise.
21192         * sunrpc/xdr_sizeof.c: Likewise.
21193         * sunrpc/xdr_stdio.c: Likewise.
21195 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21197         [BZ #12650]
21198         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21199         * sysdeps/ia64/dl-tls.h: Likewise.
21200         * sysdeps/powerpc/dl-tls.h: Likewise.
21201         * sysdeps/s390/dl-tls.h: Likewise.
21202         * sysdeps/sh/dl-tls.h: Likewise.
21203         * sysdeps/sparc/dl-tls.h: Likewise.
21204         * sysdeps/x86_64/dl-tls.h: Likewise.
21205         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21207 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21209         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21210         rpath element also skip the following colon.
21211         (expand_dynamic_string_token): Add is_path parameter and pass
21212         down to DL_DST_REQUIRED and _dl_dst_substitute.
21213         (decompose_rpath): Call expand_dynamic_string_token with
21214         non-zero is_path.  Ignore empty rpaths.
21215         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21216         with zero is_path.
21218 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21221         Make cancelable.
21223 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21225         [BZ #12655]
21226         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21227         Patch by Filipe David Manana <fdmanana@apache.org>.
21229 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21232         Maintain aligned stack.
21233         (CHECK_RSP): Remove unused macro.
21235 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21237         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21238         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21240 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21242         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21244         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21246 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21248         [BZ #12518]
21249         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21250         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21251         * sysdeps/x86_64/memmove.c: New file.
21252         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21253         (memcpy): Renamed to ...
21254         (__new_memcpy): This.
21255         (memcpy): Provide GLIBC_2_14 memcpy.
21256         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21257         (memcpy): Provide GLIBC_2_2_5 memcpy.
21259 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21261         [BZ #12631]
21262         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21264 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21266         * misc/syncfs.c: New file.
21267         * misc/Makefile (routines): Add syncfs.
21268         * posix/unistd.h: Declare syncfs.
21269         * sysdeps/unix/syscalls.list: Add syncfs.
21271 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21273         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21274         open_by_handle_at.
21275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21276         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21278         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21280         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21283 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21285         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21286         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21287         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21289         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21293         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21294         sync_file_range.c with -fexceptions.
21295         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21296         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21297         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21298         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21299         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21300         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21302         sync_file_range as cancellation point
21303         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21304         now a wrapper around __call_sync_file_range with cancellation handling.
21305         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21306         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21307         function name to __call_sync_file_range.
21308         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21309         Add call_sync_file_range.
21311 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21313         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21314         bits/timex.h.
21316 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21318         * iconv/iconv.h: Fix typo in comment.
21319         * io/fcntl.h: Likewise.
21320         * libio/stdio.h: Likewise.
21321         * posix/spawn.h: Likewise.
21322         * posix/unistd.h: Likewise.
21323         * stdlib/stdlib.h: Likewise.
21324         * time/time.h: Likewise.
21325         * wcsmbs/wchar.h: Likewise.
21327         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21328         open_by_handle): Add.
21329         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21330         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21331         Augment a few comments.
21332         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21333         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21334         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21337         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21338         open_by_handle.
21340         * io/fcntl.h (AT_EMPTY_PATH): Define.
21342 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21344         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21345         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21346         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21347         to...
21348         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21349         * Versions.def: Add GLIBC_2.14.
21350         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21351         Export.
21353 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21355         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21356         round counter.
21357         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21359 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21361         [BZ #12597]
21362         * string/test-strncmp.c (do_page_test): New function.
21363         (check2): Likewise.
21364         (test_main): Call check2.
21365         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21367 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21369         [BZ #12587]
21370         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21371         Handle cache information in CPU leaf 4.
21372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21374 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21376         [BZ #12583]
21377         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21378         character representation.
21379         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21381 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21383         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21384         END(__isnan) to END(__isnanf) to match function entry point/label
21385         EALIGN(__isnanf,...).
21387 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21389         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21391 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21393         [BZ #12510]
21394         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21395         copy from the symbol referenced in the relocation to initialize the
21396         used variable.
21397         Patch by Piotr Bury <pbury@goahead.com>.
21398         * elf/Makefile: Add rules to build and tst-unique3.
21399         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21400         * elf/tst-unique3.cc: New file.
21401         * elf/tst-unique3.h: New file.
21402         * elf/tst-unique3lib.cc: New file.
21403         * elf/tst-unique3lib2.cc: New file.
21405         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21407 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21409         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21410         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21411         to _start.
21413 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21415         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21416         to-be-loaded object along a path to loader is ld.so.
21418 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21419             Ulrich Drepper  <drepper@gmail.com>
21421         * sysdeps/x86_64/memset.S: After aligning destination, code
21422         branches to different locations depending on the value of
21423         misalignment, when multiarch is enabled. Fix this.
21425 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21427         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21428         Set _x86_64_preferred_memory_instruction for AMD processsors.
21429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21430         Set bit_Prefer_SSE_for_memop for AMD processors.
21432 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21434         * libio/fmemopen.c (fmemopen): Optimize a bit.
21436 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21438         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21440 2011-03-03  Roland McGrath  <roland@redhat.com>
21442         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21444 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21446         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21447         __bzero_ultra1 instead of __memset_ultra1.
21449 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21450             Ulrich Drepper  <drepper@gmail.com>
21452         [BZ #12509]
21453         * include/link.h (struct link_map): Add l_orig_initfini.
21454         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21455         returning unsuccessfully.
21456         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21457         close of a file loaded at startup, restore the original l_initfini
21458         list.
21459         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21460         list, store the pointer.
21461         * elf/Makefile ($(objpfx)noload-mem): New rule.
21462         (noload-ENV): Define.
21463         (tests): Add $(objpfx)noload-mem.
21464         * elf/noload.c: Include <memcheck.h>.
21465         (main): Call mtrace.  Close all opened handles.
21467 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21469         [BZ #12454]
21470         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21471         dependencies are missing.
21473 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21475         Fix __if_freereq crash: Unlike the generic version which uses free,
21476         Hurd needs munmap.
21477         * sysdeps/mach/hurd/ifreq.h: New file.
21479 2011-01-27  Petr Baudis  <pasky@suse.cz>
21480             Ulrich Drepper  <drepper@gmail.com>
21482         [BZ 12445]#
21483         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21484         to extend_alloca().
21485         * stdio-common/bug23.c: New file.
21486         * stdio-common/Makefile (tests): Add bug23.
21488 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21489             Ulrich Drepper  <drepper@gmail.com>
21491         [BZ #12489]
21492         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21493         before performing relro protection.  At old place add assertion
21494         to make sure nothing changed.
21496 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21497             Glauber de Oliveira Costa  <glommer@gmail.com>
21499         * elf/elf.h: Add new ARM TLS relocs.
21501 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21504         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21505         cast from r3.
21506         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21507         'tests' variable.
21508         * sysdeps/wordsize-64/tst-writev.c: New file.
21510 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21512         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21513         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21514         insns in _dl_start to prevent a TOC reference before relocs are
21515         resolved.
21517 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21519         [BZ #12469]
21520         * Makeconfig: Remove RANLIB definition.
21521         * Makerules: Don't use RANLIB.
21522         * aclocal.m4: Remove ranlib test.
21523         * configure.in: No need to check for ranlib.
21524         * elf/rtld-Rules: Don't use RANLIB.
21526 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21528         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21529         protection macro.
21530         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21531         inclusion protection macro.
21533         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21534         SIGRTMIN and SIGRTMAX and print information in that case only when
21535         SIGRTMIN is defined.
21537 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21539         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21540         arginfo fn returning -1.
21542         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21543         and thousands string is zero terminated.
21545 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21548         sysdeps/unix/sysv/linux/bits/socket.h.
21550 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21552         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21553         (__CPU_COUNT): Remove old macros.
21554         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21555         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21556         (__CPU_ALLOC, __CPU_FREE): Add macros.
21557         (__sched_cpualloc, __sched_cpufree): Add declarations.
21559 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21561         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21562         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21563         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21564         (readdhstai): Return value of addhstaiX call.
21565         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21566         (addgrbyX): Return value returned by cache_addgr.
21567         (readdgrbyname): Return value returned by addgrbyX.
21568         (readdgrbygid): Likewise.
21569         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21570         (addpwbyX): Return value returned by cache_addpw.
21571         (readdpwbyname): Return value returned by addhstbyX.
21572         (readdpwbyuid): Likewise.
21573         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21574         (addservbyX): Return value returned by cache_addserv.
21575         (readdservbyname): Return value returned by addservbyX:
21576         (readdservbyport): Likewise.
21577         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21578         (addhstbyX): Return value returned by cache_addhst.
21579         (readdhstbyname): Return value returned by addhstbyX.
21580         (readdhstbyaddr): Likewise.
21581         (readdhstbynamev6): Likewise.
21582         (readdhstbyaddrv6): Likewise.
21583         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21584         (readdinitgroups): Return value returned by addinitgroupsX.
21585         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21586         (prune_cache): Keep track of timeout value of re-added entries.
21587         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21588         * nscd/nscd.h: Adjust prototypes of readd* functions.
21590 2011-02-04  Roland McGrath  <roland@redhat.com>
21592         * nis/nis_server.c (nis_servstate): Use the right name for 0.
21593         (nis_stats): Likewise.
21594         * nis/nis_modify.c (nis_modify): Likewise.
21595         * nis/nis_remove.c (nis_remove): Likewise.
21596         * nis/nis_add.c (nis_add): Likewise.
21598         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21600         * posix/fnmatch_loop.c: Add some consts.
21602         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21604 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
21606         [BZ #12460]
21607         * config.make.in (config-cflags-novzeroupper): Define.
21608         * configure.in: Substitute libc_cv_cc_novzeroupper.
21609         * elf/Makefile (AVX-CFLAGS): Define.
21610         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21611         (CFLAGS-tst-auditmod4a.c): Likewise.
21612         (CFLAGS-tst-auditmod4b.c): Likewise.
21613         (CFLAGS-tst-auditmod6b.c): Likewise.
21614         (CFLAGS-tst-auditmod6c.c): Likewise.
21615         (CFLAGS-tst-auditmod7b.c): Likewise.
21616         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21618 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
21620         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21621         function to the callback.
21622         Patch partly by Jiri Olsa <jolsa@redhat.com>.
21624 2011-02-02  Andreas Schwab  <schwab@redhat.com>
21626         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21627         of errno.
21629 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
21631         [BZ #11724]
21632         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21633         of constructors.
21634         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21635         of destructors.
21636         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21638         [BZ #11724]
21639         * elf/Makefile: Add rules to build and run new test.
21640         * elf/tst-initorder.c: New file.
21641         * elf/tst-initorder.exp: New file.
21642         * elf/tst-initordera1.c: New file.
21643         * elf/tst-initordera2.c: New file.
21644         * elf/tst-initordera3.c: New file.
21645         * elf/tst-initordera4.c: New file.
21646         * elf/tst-initorderb1.c: New file.
21647         * elf/tst-initorderb2.c: New file.
21648         * elf/tst-order-a1.c: New file.
21649         * elf/tst-order-a2.c: New file.
21650         * elf/tst-order-a3.c: New file.
21651         * elf/tst-order-a4.c: New file.
21652         * elf/tst-order-b1.c: New file.
21653         * elf/tst-order-b2.c: New file.
21654         * elf/tst-order-main.c: New file.
21655         New test case by George Gensure <werkt0@gmail.com>.
21657 2010-10-01  Andreas Schwab  <schwab@redhat.com>
21659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21660         decoding ACE if AI_CANONIDN.
21662 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
21664         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21666 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
21668         * version.h (RELEASE): Bump for 2.13 release.
21669         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21671         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21673         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21674         MADV_NOHUGEPAGE.
21675         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21676         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21677         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21678         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21680         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21682         * posix/getconf.c: Update copyright year.
21683         * catgets/gencat.c: Likewise.
21684         * csu/version.c: Likewise.
21685         * debug/catchsegv.sh: Likewise.
21686         * debug/xtrace.sh: Likewise.
21687         * elf/ldconfig.c: Likewise.
21688         * elf/ldd.bash.in: Likewise.
21689         * elf/sprof.c (print_version): Likewise.
21690         * iconv/iconv_prog.c: Likewise.
21691         * iconv/iconvconfig.c: Likewise.
21692         * locale/programs/locale.c: Likewise.
21693         * locale/programs/localedef.c: Likewise.
21694         * malloc/memusage.sh: Likewise.
21695         * malloc/mtrace.pl: Likewise.
21696         * nscd/nscd.c (print_version): Likewise.
21697         * nss/getent.c: Likewise.
21699         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21700         PF_CAIF, and PF_ALG.
21701         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21703 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
21705         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21706         (modules-names): Use them.
21707         (ifunc-test-modules, ifunc-pie-tests): Define.
21708         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21709         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21710         (test-extras): Likewise.
21711         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21712         $(compile-command.c).
21713         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21714         (all-built-dso): Define.
21715         (check-textrel.out, check-execstack.out): Depend on it.
21717         * configure.in: Don't override --enable-multi-arch.
21719 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
21721         [BZ #6812]
21722         * nscd/hstcache.c (tryagain): Define.
21723         (cache_addhst): Return tryagain not notfound for temporary errors.
21724         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21725         failed.
21727 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
21729         [BZ #10563]
21730         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21731         to make the syscall.
21732         * sysdeps/unix/sysv/linux/setgroups.c: New file.
21734         [BZ #12378]
21735         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21736         and fall back to matching as normal character if the string ends before
21737         the matching ']' is found.  This is what POSIX requires.
21738         * posix/testfnm.c: Adjust test result.
21739         * posix/globtest.sh: Adjust test result.  Add new test.
21740         * posix/tst-fnmatch.input: Likewise.
21741         * posix/tst-fnmatch2.c: Add new test.
21743 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
21745         * elf/Makefile (check-execstack): Revert last change.  Depend on
21746         check-execstack.h.
21747         (check-execstack.h): New target.
21748         (generated): Add check-execstack.h.
21749         * elf/check-execstack.c: Include "check-execstack.h".
21750         (main): Revert last change.
21751         (handle_file): Return zero if GNU_STACK is absent and
21752         DEFAULT_STACK_PERMS doesn't include PF_X.
21754 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
21756         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21757         in child fails because the descriptor is already closed.
21758         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21759         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21760         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21762         [BZ #12397]
21763         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21764         syscall.
21766         [BZ #10484]
21767         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21768         temporary buffer used to handle multi lookups locally.
21769         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21771 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21773         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21774         loader is ld.so.
21776 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
21778         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21779         alignment for SSE2.
21781 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21783         [BZ #12394]
21784         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21785         characters.  When rounding increased number of integer digits recompute
21786         number of groups.
21787         * stdio-common/tst-grouping.c: New file.
21788         * stdio-common/Makefile: Add rules to build and run tst-grouping.
21790 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
21792         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21793         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
21795         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21796         void.
21797         * bits/select.h: Likewise.
21799 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
21801         * po/ja.po: Update from translation team.
21803 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
21805         [BZ #11155]
21806         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21807         implementation just like for lxstat, fxstatat, et al.
21809 2010-12-27  Jim Meyering  <meyering@redhat.com>
21811         [BZ #12348]
21812         * posix/regexec.c (build_trtable): Return failure indication upon
21813         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
21815 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
21817         [BZ #12201]
21818         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21819         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21820         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21821         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21823         [BZ #12207]
21824         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21826         [BZ #12204]
21827         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21828         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21830 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21832         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21833         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21834         script has SORT_BY_INIT_PRIORITY.
21835         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21836         NO_CTORS_DTORS_SECTIONS is defined.
21837         * elf/soinit.c: Likewise.
21838         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21839         NO_CTORS_DTORS_SECTIONS is defined.
21840         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21841         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21842         * sysdeps/sh/init-first.c: Likewise.
21843         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21845 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
21847         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21848         always use the slow path.
21850 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
21852         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21853         similar rule which adds the sysdep directories to the header search in
21854         order to pick up the correct platform stackinfo.h.
21855         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21856         perform test if it is, otherwise return successfully without testing.
21857         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21858         DEFAULT_STACK_PERMS define in stackinfo.h.
21859         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21860         defined in stackinfo.h.
21861         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21862         DEFAULT_STACK_PERMS defined in stackinfo.h.
21863         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21864         * sysdeps/ia64/stackinfo.h: Likewise.
21865         * sysdeps/s390/stackinfo.h: Likewise.
21866         * sysdeps/sh/stackinfo.h: Likewise.
21867         * sysdeps/sparc/stackinfo.h: Likewise.
21868         * sysdeps/x86_64/stackinfo.h: Likewise.
21869         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21870         PF_X for powerpc64.  Retain PF_X for powerpc32.
21872 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
21874         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21875         accurately.
21876         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21877         GETDENTS_64BIT_ALIGNED.
21879 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
21881         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21883 2010-12-10  Andreas Schwab  <schwab@redhat.com>
21885         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21886         _GNU_SOURCE.
21888         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21889         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21890         Remove __restrict.
21891         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21892         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21894 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
21896         [BZ #11655]
21897         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21898         are initialized.
21900 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
21902         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21904 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
21906         * po/it.po: Update from translation team.
21908 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21911         unused codes.
21913 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
21915         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21917 2010-11-24  Andreas Schwab  <schwab@redhat.com>
21919         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21920         specially.
21921         (gaih_getanswer_slice): Likewise.
21923 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
21925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21927 2010-05-31  Petr Baudis  <pasky@suse.cz>
21929         [BZ #11149]
21930         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21931         silently even in the chroot mode.
21933 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
21935         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21936         last patch a bit.  Pretty printing
21938 2010-05-31  Petr Baudis <pasky@suse.cz>
21940         [BZ #10085]
21941         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21942         initialization of skip_initgroups_dyn.
21944 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
21946         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21947         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21949 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
21951         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21953 2010-11-11  Andreas Schwab  <schwab@redhat.com>
21955         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21956         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21957         (tst-fnmatch-ENV): Set MALLOC_TRACE.
21958         ($(objpfx)tst-fnmatch-mem): New rule.
21959         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21960         * posix/tst-fnmatch.c (main): Call mtrace.
21962 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
21964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21965         Support Intel processor model 6 and model 0x2c.
21967 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
21969         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21970           signed comparison.
21972 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
21974         [BZ #12205]
21975         * string/test-strncasecmp.c (check_result): New function.
21976         (do_one_test): Use it.
21977         (check1): New function.
21978         (test_main): Use it.
21979         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21980         Support strcasecmp and strncasecmp.
21982 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
21984         [BZ #12194]
21985         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21986         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21988 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21990         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21991         IFUNC support.
21992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21993         memset-x86-64.
21994         * sysdeps/x86_64/multiarch/bzero.S: New file.
21995         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21996         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21997         * sysdeps/x86_64/multiarch/memset.S: New file.
21998         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22000         Set bit_Prefer_SSE_for_memop for Intel processors.
22001         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22002         Define.
22003         (index_Prefer_SSE_for_memop): Define.
22004         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22006 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22008         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22009         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22011 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22013         [BZ #12191]
22014         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22015         (__x86_64_raw_data_cache_size_half): Likewise.
22016         (__x86_64_raw_shared_cache_size): Likewise.
22017         (__x86_64_raw_shared_cache_size_half): Likewise.
22019         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22020         (__x86_64_raw_data_cache_size_half): Likewise.
22021         (__x86_64_raw_shared_cache_size): Likewise.
22022         (__x86_64_raw_shared_cache_size_half): Likewise.
22023         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22024         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22025         and __x86_64_raw_shared_cache_size_half.  Round
22026         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22027         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22028         to multiple of 256 bytes.
22030 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22032         [BZ #12167]
22033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22034         of inacessible symlinks.  Verify result of symlink before returning it.
22035         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22036         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22038 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22040         * math/math.h (isinf): Fix typo in comment.
22042 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22044         * po/da.po: Update from translation team.
22046 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22048         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22049         is added to the list.
22051 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22052             Ulrich Drepper  <drepper@gmail.com>
22054         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22055         the global list here.  Move code to...
22056         (_dl_add_to_namespace_list): ...here.  New function.
22057         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22058         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22059         * elf/dl-load.c (lose): Don't remove the element from the list.
22060         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22061         (_dl_map_object): Likewise.
22063 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22065         [BZ #12159]
22066         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22067         into all bytes of SSE register.
22068         Patch by Richard Li <richardpku@gmail.com>.
22070 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22072         [BZ #12140]
22073         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22074         perturbing.
22076 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22078         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22079         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22080         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22081         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22083         submachine.
22084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22086 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22088         * include/dlfcn.h (__RTLD_SECURE): Define.
22089         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22090         mode & __RTLD_SECURE instead.
22091         (open_path): Rename preloaded parameter to secure.
22092         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22093         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22094         * elf/dl-deps.c (openaux): Likewise.
22095         * elf/rtld.c (struct map_args): Remove is_preloaded.
22096         (map_doit): Don't use it.
22097         (dl_main): Likewise.
22098         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22099         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22101 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22103         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22104         (sysd-rules-targets): Remove duplicates.
22105         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22106         rtld-%.$o dependency.
22108 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22110         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22111         _dl_map_object do it.
22113 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22115         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22116         fast fma builtins, define the macros in the C99 standard.
22117         (FP_FAST_FMAF): Likewise.
22118         (FP_FAST_FMAL): Likewise.
22119         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22121         * bits/mathdef.h: Update copyright year.
22122         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22124 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22126         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22127         builtins, define the macros in the C99 standard.
22128         (FP_FAST_FMAF): Likewise.
22129         (FP_FAST_FMAL): Likewise.
22130         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22131         multiply/add.
22132         (FP_FAST_FMAF): Likewise.
22134 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22136         [BZ #3268]
22137         * math/libm-test.inc (fma_test): Some new testcases.
22138         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22139         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22140         y and infinite z.  Do multiplication by C already in long double.
22141         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22143         y and infinite z.  Do bitwise or of inexact bit into u.d.
22144         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22145         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22146         * sysdeps/i386/fpu/s_fma.S: Removed.
22147         * sysdeps/i386/fpu/s_fmal.S: Removed.
22149 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22151         [BZ #3268]
22152         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22154         computation is not scheduled after fetestexcept.  Fix value
22155         of minimum denormal long double.
22157 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22159         [BZ #3268]
22160         * math/libm-test.inc (fma_test): Add some more tests.
22161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22162         correctly.
22164 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22166         * scripts/data/localplt-s390-linux-gnu.data: New file.
22167         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22169 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22171         [BZ #3268]
22172         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22173         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22174         instead of dbl-64.
22175         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22176         inlines.
22177         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22179         if one of x and y is very large and the other is subnormal.
22180         * sysdeps/s390/fpu/s_fmaf.c: New file.
22181         * sysdeps/s390/fpu/s_fma.c: New file.
22182         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22183         * sysdeps/powerpc/fpu/s_fma.S: New file.
22184         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22185         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22186         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22188 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22190         [BZ #3268]
22191         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22192         fma tests.
22193         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22194         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22195         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22196         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22197         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22198         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22199         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22201 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22203         [BZ #12078]
22204         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22205         * posix/bug-regex31.input: Add test case.
22207 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22209         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22210         * posix/bug-regex31.input: New file.
22212         [BZ #12078]
22213         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22214         (parse_sub_exp): Fix last change, use postorder.
22216         * posix/bug-regex31.c: New file.
22217         * posix/Makefile: Add rules to build and run bug-regex31.
22219         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22221         [BZ #12078]
22222         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22224         [BZ #12108]
22225         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22226         to have entries in sys_siglist.
22228         [BZ #12093]
22229         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22230         be NULL.
22232 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22234         [BZ #3268]
22235         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22236         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22237         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22238         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22239         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22240         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22241         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22242         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22243         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22244         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22245         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22246         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22247         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22248         * math/ftestexcept.c (fetestexcept): Likewise.
22249         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22250         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22251         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22252         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22253         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22254         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22255         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22257 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22259         [BZ #12107]
22260         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22261         newline.
22263 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22265         * string/bug-strstr1.c: New file.
22266         * string/Makefile: Add rules to build and run bug-strstr1.
22268 2010-10-05  Eric Blake  <eblake@redhat.com>
22270         [BZ #12092]
22271         * string/str-two-way.h (two_way_long_needle): Always clear memory
22272         when skipping input due to the shift table.
22274 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22276         [BZ #12005]
22277         * malloc/mcheck.c: Handle large requests.
22279         [BZ #12077]
22280         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22281         for strncmp and strncasecmp.
22282         * string/stratcliff.c: Add tests for strcmp and strncmp.
22283         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22285 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22287         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22288         __set_fpscr.
22290 2010-09-30  Andreas Jaeger  <aj@suse.de>
22292         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22293         (CGROUP_SUPER_MAGIC): Define.
22294         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22295         Handle btrfs and cgroup file systems.
22296         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22297         Likewise.
22299 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22301         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22302         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22304 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22306         [BZ #12067]
22307         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22308         trying to locate the ELF header.
22310 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22312         [BZ #11611]
22313         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22314         Mask out sign-bit copies when constructing f_fsid.
22316 2010-09-24  Petr Baudis <pasky@suse.cz>
22318         * debug/stack_chk_fail_local.c: Add missing licence exception.
22319         * debug/warning-nop.c: Likewise.
22321 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22323         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22324         implementing getdents64 using getdents syscall, set d_type if
22325         __ASSUME_GETDENTS32_D_TYPE.
22327 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22329         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22330         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22332 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22334         [BZ #12037]
22335         * posix/unistd.h: Undo change of feature selection for ftruncate from
22336         2010-01-11.
22338 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22340         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22341         detection.
22343 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22345         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22346         fanotify_mark.
22347         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22349 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22351         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22352         variables after CHECK_SP call.
22353         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22355 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22356             Ulrich Drepper  <drepper@redhat.com>
22358         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22359         re-relocationg ld.so.
22360         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22361         _dl_init_paths call.
22362         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22363         here anymore.
22365 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22367         * resolv/res_init.c (__res_vinit): Count the default server we added.
22369 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22370             Ulrich Drepper  <drepper@redhat.com>
22372         [BZ #11968]
22373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22374         (____longjmp_chk): Use %ebx for saving value across system call.
22375         Add unwind info.
22377 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22379         * manual/Makefile: Don't mix pattern rules with normal rules.
22381 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22383         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22384         operation.
22385         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22386         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22387         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22388         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22390         Likewise.
22392 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22394         [BZ #11979]
22395         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22396         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22398 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22400         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22401         * sysdeps/x86_64/addmul_1.S: Likewise.
22402         * sysdeps/x86_64/lshift.S: Likewise.
22403         * sysdeps/x86_64/mul_1.S: Likewise.
22404         * sysdeps/x86_64/rshift.S: Likewise.
22405         * sysdeps/x86_64/sub_n.S: Likewise.
22406         * sysdeps/x86_64/submul_1.S: Likewise.
22408 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22410         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22411         Define __sched_param instead of SCHED_* and sched_param when
22412         <bits/sched.h> is included with __need_schedparam defined.
22413         * bits/sched.h [__need_schedparam]
22414         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22415         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22416         (__defined_schedparam): Define to 1.
22417         (__sched_param): New structure, identical to sched_param.
22418         (__need_schedparam): Undefine.
22420 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22422         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22423         (epoll_create1): Declare.
22425         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22427 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22429         [BZ #7066]
22430         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22431         shifting retval into place.
22433 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22435         * nis/rpcsvc/nis.h: Update copyright notice.
22436         * nis/rpcsvc/nis.x: Likewise.
22437         * nis/rpcsvc/nis_callback.h: Likewise.
22438         * nis/rpcsvc/nis_callback.x: Likewise.
22439         * nis/rpcsvc/nis_object.x: Likewise.
22440         * nis/rpcsvc/nis_tags.h: Likewise.
22441         * nis/rpcsvc/yp.h: Likewise.
22442         * nis/rpcsvc/yp.x: Likewise.
22443         * nis/rpcsvc/ypupd.h: Likewise.
22444         * nis/yp_xdr.c: Likewise.
22445         * nis/ypupdate_xdr.c: Likewise.
22447         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22448         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22449         (pmap_getport): Use __libc_rpc_getport.
22450         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22451         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22452         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22454 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22457         fanotify_mark.
22459 2010-08-27  Roland McGrath  <roland@redhat.com>
22461         * sysdeps/i386/i686/multiarch/Makefile
22462         (CFLAGS-varshift.c): New variable.
22464 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22466         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22467         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22469         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22471         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22473 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22475         * sysdeps/x86_64/strlen.S: Unroll the loop.
22476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22477         strlen-sse2 strlen-sse2-bsf.
22478         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22479         __strlen_no_bsf if bit_Slow_BSF is set.
22480         (__strlen_sse42): Removed.
22481         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22482         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22484 2010-08-25  Roland McGrath  <roland@redhat.com>
22486         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22487         * sysdeps/x86_64/multiarch/varshift.c: New file.
22488         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22489         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22490         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22491         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22493 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22496         strlen-sse2 strlen-sse2-bsf.
22497         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22498         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22499         (__strlen_sse2): Removed.
22500         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22501         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22503         bit_Slow_BSF for Atom.
22504         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22505         (index_Slow_BSF): Define.
22506         (HAS_SLOW_BSF): Define.
22508 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22510         [BZ #10851]
22511         * resolv/res_init.c (__res_vinit): When no server address at all
22512         is given default to loopback.
22514 2010-08-24  Roland McGrath  <roland@redhat.com>
22516         * configure.in: Remove config-name.h generation.
22517         * configure: Regenerated.
22518         * config-name.in: File removed.
22519         * scripts/config-uname.sh: New file.
22520         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22521         ($(objdir)config-name.h): New target.
22523         * sunrpc/rpc_parse.h: Avoid nested comment.
22525 2010-08-24  Richard Henderson  <rth@redhat.com>
22526             Ulrich Drepper  <drepper@redhat.com>
22527             H.J. Lu  <hongjiu.lu@intel.com>
22529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22531         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22532         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22533         _mm_alignr_epi8 with _mm_loadu_si128.
22534         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22535         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22536         (__m128i_shift_right): Removed.
22537         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22538         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22539         * sysdeps/x86_64/multiarch/varshift.h: New file.
22540         * sysdeps/x86_64/multiarch/varshift.S: New file.
22542 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22544         * configure.in: Move assembler checks to before sysdep dir checking.
22546 2010-08-20  Petr Baudis  <pasky@suse.cz>
22548         * LICENSES: Sync the sunrpc license.
22550 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22552         * sunrpc/auth_des.c: Update copyright notice once again.
22553         * sunrpc/auth_none.c: Likewise.
22554         * sunrpc/auth_unix.c: Likewise.
22555         * sunrpc/authdes_prot.c: Likewise.
22556         * sunrpc/authuxprot.c: Likewise.
22557         * sunrpc/bindrsvprt.c: Likewise.
22558         * sunrpc/clnt_gen.c: Likewise.
22559         * sunrpc/clnt_perr.c: Likewise.
22560         * sunrpc/clnt_raw.c: Likewise.
22561         * sunrpc/clnt_simp.c: Likewise.
22562         * sunrpc/clnt_tcp.c: Likewise.
22563         * sunrpc/clnt_udp.c: Likewise.
22564         * sunrpc/clnt_unix.c: Likewise.
22565         * sunrpc/des_crypt.c: Likewise.
22566         * sunrpc/des_soft.c: Likewise.
22567         * sunrpc/get_myaddr.c: Likewise.
22568         * sunrpc/getrpcport.c: Likewise.
22569         * sunrpc/key_call.c: Likewise.
22570         * sunrpc/key_prot.c: Likewise.
22571         * sunrpc/openchild.c: Likewise.
22572         * sunrpc/pm_getmaps.c: Likewise.
22573         * sunrpc/pm_getport.c: Likewise.
22574         * sunrpc/pmap_clnt.c: Likewise.
22575         * sunrpc/pmap_prot.c: Likewise.
22576         * sunrpc/pmap_prot2.c: Likewise.
22577         * sunrpc/pmap_rmt.c: Likewise.
22578         * sunrpc/rpc/auth.h: Likewise.
22579         * sunrpc/rpc/auth_unix.h: Likewise.
22580         * sunrpc/rpc/clnt.h: Likewise.
22581         * sunrpc/rpc/des_crypt.h: Likewise.
22582         * sunrpc/rpc/key_prot.h: Likewise.
22583         * sunrpc/rpc/netdb.h: Likewise.
22584         * sunrpc/rpc/pmap_clnt.h: Likewise.
22585         * sunrpc/rpc/pmap_prot.h: Likewise.
22586         * sunrpc/rpc/pmap_rmt.h: Likewise.
22587         * sunrpc/rpc/rpc.h: Likewise.
22588         * sunrpc/rpc/rpc_des.h: Likewise.
22589         * sunrpc/rpc/rpc_msg.h: Likewise.
22590         * sunrpc/rpc/svc.h: Likewise.
22591         * sunrpc/rpc/svc_auth.h: Likewise.
22592         * sunrpc/rpc/types.h: Likewise.
22593         * sunrpc/rpc/xdr.h: Likewise.
22594         * sunrpc/rpc_clntout.c: Likewise.
22595         * sunrpc/rpc_cmsg.c: Likewise.
22596         * sunrpc/rpc_common.c: Likewise.
22597         * sunrpc/rpc_cout.c: Likewise.
22598         * sunrpc/rpc_dtable.c: Likewise.
22599         * sunrpc/rpc_hout.c: Likewise.
22600         * sunrpc/rpc_main.c: Likewise.
22601         * sunrpc/rpc_parse.c: Likewise.
22602         * sunrpc/rpc_parse.h: Likewise.
22603         * sunrpc/rpc_prot.c: Likewise.
22604         * sunrpc/rpc_sample.c: Likewise.
22605         * sunrpc/rpc_scan.c: Likewise.
22606         * sunrpc/rpc_scan.h: Likewise.
22607         * sunrpc/rpc_svcout.c: Likewise.
22608         * sunrpc/rpc_tblout.c: Likewise.
22609         * sunrpc/rpc_util.c: Likewise.
22610         * sunrpc/rpc_util.h: Likewise.
22611         * sunrpc/rpcinfo.c: Likewise.
22612         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22613         * sunrpc/rpcsvc/key_prot.x: Likewise.
22614         * sunrpc/rpcsvc/klm_prot.x: Likewise.
22615         * sunrpc/rpcsvc/mount.x: Likewise.
22616         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22617         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22618         * sunrpc/rpcsvc/rex.x: Likewise.
22619         * sunrpc/rpcsvc/rstat.x: Likewise.
22620         * sunrpc/rpcsvc/rusers.x: Likewise.
22621         * sunrpc/rpcsvc/sm_inter.x: Likewise.
22622         * sunrpc/rpcsvc/spray.x: Likewise.
22623         * sunrpc/rpcsvc/yppasswd.x: Likewise.
22624         * sunrpc/rtime.c: Likewise.
22625         * sunrpc/svc.c: Likewise.
22626         * sunrpc/svc_auth.c: Likewise.
22627         * sunrpc/svc_authux.c: Likewise.
22628         * sunrpc/svc_raw.c: Likewise.
22629         * sunrpc/svc_run.c: Likewise.
22630         * sunrpc/svc_simple.c: Likewise.
22631         * sunrpc/svc_tcp.c: Likewise.
22632         * sunrpc/svc_udp.c: Likewise.
22633         * sunrpc/svc_unix.c: Likewise.
22634         * sunrpc/svcauth_des.c: Likewise.
22635         * sunrpc/xcrypt.c: Likewise.
22636         * sunrpc/xdr.c: Likewise.
22637         * sunrpc/xdr_array.c: Likewise.
22638         * sunrpc/xdr_float.c: Likewise.
22639         * sunrpc/xdr_mem.c: Likewise.
22640         * sunrpc/xdr_rec.c: Likewise.
22641         * sunrpc/xdr_ref.c: Likewise.
22642         * sunrpc/xdr_sizeof.c: Likewise.
22643         * sunrpc/xdr_stdio.c: Likewise.
22645         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22646         handling.
22648 2010-08-19  Andreas Schwab  <schwab@redhat.com>
22650         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22652 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
22654         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22655         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22656         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22657         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22658         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22659         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22660         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22661         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22662         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22663         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22664         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22665         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22666         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22667         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22669 2010-07-26  Anton Blanchard  <anton@samba.org>
22671         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22672         * malloc/arena.c (heap_trim): Likewise.
22674 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
22676         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22677         here.  Not...
22678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22679         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22681 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22683         * sysdeps/i386/elf/Makefile: New file.
22685 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22687         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22688         from fanotify_init.
22689         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22690         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22692 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
22694         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22695         of strncasecmp_l.
22696         * sysdeps/multiarch/strcmp.S: Likewise.
22698 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
22700         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22701         strncase_l-nonascii.
22702         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22703         Add strncase_l-ssse3.
22704         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22705         * sysdeps/x86_64/strcmp.S: Likewise.
22706         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22707         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22708         * sysdeps/x86_64/strncase.S: New file.
22709         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22710         * sysdeps/x86_64/strncase_l.S: New file.
22711         * string/Makefile (strop-tests): Add strncasecmp.
22712         * string/test-strncasecmp.c: New file.
22714         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22715         warning.
22717         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22718         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22720 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22722         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22724 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
22726         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22727         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22728         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22730 2010-05-01  Alan Modra  <amodra@gmail.com>
22732         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22733         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22734         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22735         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22736         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22737         tidying.  Don't tail-call __sigjmp_save for static lib.
22738         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22739         save location.
22740         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22741         (CALL_MCOUNT): Add eh info, and nop after bl.
22742         (TAIL_CALL_SYSCALL_ERROR): New macro.
22743         (PSEUDO_RET): Use it.
22744         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22745         Correct save location of integer regs and cr.
22746         (_dl_profile_resolve): Correct cr save location.  Delete nops
22747         after bl when SHARED.  Reduce cfi size a little by better
22748         placement of cfi directives.
22749         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22750         make a stack frame.  Instead use parm save area as a temp.
22751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22752         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
22753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22754         Don't make a stack frame for parent, use parm save area.
22755         Increase child stack frame to 112 bytes.  Don't save unused reg,
22756         and adjust reg usage.  Set up cfi on error recovery and
22757         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22759         (__makecontext): Add dummy nop after jump to exit.
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22761         Use correct parm save area and cr save, reduce stack frame.
22762         Correct cfi for possible PSEUDO_RET frame setup.
22763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22764         Branch to local label emitted by PSEUDO_RET rather than
22765         __syscall_error.
22767 2010-08-12  Andreas Schwab  <schwab@redhat.com>
22769         [BZ #11904]
22770         * locale/programs/locale.c (print_assignment): New function.
22771         (show_locale_vars): Use it.
22773 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
22775         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22776         field.
22777         (struct statfs64): Likewise.
22778         (_STATFS_F_FLAGS): Define.
22779         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22780         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22781         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22782         (ST_VALID): Define locally.
22783         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22784         __statvfs_getflags, use the provided value.
22785         * sysdeps/unix/sysv/linux/kernel-features.h: Define
22786         __ASSUME_STATFS_F_FLAGS.
22788         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22790         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22791         Add sys/fanotify.h.
22792         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22793         fanotify_mask for GLIBC_2.13.
22794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22795         fanotify_init and fanotify_mark.
22796         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22797         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22799         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22800         Add prlimit.
22801         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22802         prlimit64 for GLIBC_2.13.
22803         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22804         prlimit64.
22805         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22806         syscall.
22807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22808         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22809         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22810         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
22812         add prlimit alias.
22813         * sysdeps/unix/sysv/linux/prlimit.c: New file.
22815         [BZ #11903]
22816         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22817         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22819         * nss/Makefile: Add rules to build and run tst-nss-test1.
22820         * shlib-versions: Add entry for libnss_test1.
22821         * nss/nss_test1.c: New file.
22822         * nss/tst-nss-test1.c: New file.
22824         * nss/nsswitch.c (__nss_database_custom): Define new variable.
22825         (__nss_configure_lookup): Set appropriate entry in
22826         __nss_configure_lookup to true.
22827         * nss/nsswitch.h: Define enum with indeces of databases in
22828         databases and __nss_database_custom arrays.  Declare
22829         __nss_database_custom.
22830         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22831         to avoid using nscd when custom rules are installed.
22832         * nss/getXXbyYY_r.c: Likewise.
22833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22835         * nss/nss_files/files-parse.c: Whitespace fixes.
22837 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
22839         [BZ #11883]
22840         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22841         * posix/fnmatch_loop.c: Likewise.
22843 2010-07-17  Andi Kleen  <ak@linux.intel.com>
22845         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22846         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22847         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22848         * Versions.def [GLIBC_2.13]: Add.
22850 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
22852         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22853         Also fail if tpwd after pwuid call is NULL.
22855 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22857         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22858         when converting to ms.
22860 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22862         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22863         EOPNOTSUPP errors with ENOTTY.
22864         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22865         EOPNOTSUPP errors with ENOTTY.
22867 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
22869         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22870         Add strcasecmp_l-ssse3.
22871         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22872         strcasecmp.
22873         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22874         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22875         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22877 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
22879         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22881         * string/Makefile (strop-tests): Add strcasecmp.
22882         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22883         strcasecmp_l-nonascii.
22884         (gen-as-const-headers): Add locale-defines.sym.
22885         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22886         * sysdeps/x86_64/strcasecmp.S: New file.
22887         * sysdeps/x86_64/strcasecmp_l.S: New file.
22888         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22889         * sysdeps/x86_64/locale-defines.sym: New file.
22890         * string/test-strcasecmp.c: New file.
22892         * string/test-strcasestr.c: Test both ends of the range of characters.
22893         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22895 2010-07-29  Roland McGrath  <roland@redhat.com>
22897         [BZ #11856]
22898         * manual/locale.texi (Yes-or-No Questions): Fix example code.
22900 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
22902         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22903         for ld.so.
22905 2010-07-27  Andreas Schwab  <schwab@redhat.com>
22907         * manual/memory.texi (Malloc Tunable Parameters): Document
22908         M_PERTURB.
22910 2010-07-26  Roland McGrath  <roland@redhat.com>
22912         [BZ #11840]
22913         * configure.in (-fgnu89-inline check): Set and substitute
22914         gnu89_inline, not libc_cv_gnu89_inline.
22915         * configure: Regenerated.
22916         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22918 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
22920         * string/test-strnlen.c: New file.
22921         * string/Makefile (strop-tests): Add strnlen.
22922         * string/tester.c (test_strnlen): Add a few more test cases.
22923         * string/tst-strlen.c: Better error reporting.
22925         * sysdeps/x86_64/strnlen.S: New file.
22927 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
22929         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22930         lower-latency instructions.
22932 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
22934         * string/test-strcasestr.c: New file.
22935         * string/test-strstr.c: New file.
22936         * string/Makefile (strop-tests): Add strstr and strcasestr.
22937         * string/str-two-way.h: Don't undefine MAX.
22938         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22940 2010-07-21  Andreas Schwab  <schwab@redhat.com>
22942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22943         strcasestr-nonascii.
22944         (CFLAGS-strcasestr-nonascii.c): Define.
22945         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22946         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22947         Remove unused attribute.
22949 2010-07-20  Roland McGrath  <roland@redhat.com>
22951         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22952         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
22953         ld.so.cache was broken.  With it, there is no way to disable dsocaps
22954         like LD_HWCAP_MASK can disable hwcaps.
22956 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
22958         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22960 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
22962         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22963         call in strcasestr.
22964         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22965         __strcasestr_sse42_nonascii.
22966         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22967         strcasestr-nonascii.c.
22968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22970 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
22972         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22974         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22977 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
22979         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22980         fcntl.
22982 2010-07-06  Andreas Schwab  <schwab@redhat.com>
22984         [BZ #11577]
22985         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22986         dl_signal_cerror.
22988 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
22990         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22991         _PC_PIPE_BUF using F_GETPIPE_SZ.
22993 2010-07-05  Roland McGrath  <roland@redhat.com>
22995         * manual/arith.texi (Rounding Functions): Fix rint description
22996         implicit in round description.
22998 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23000         * elf/Makefile: Fix linking for a few tests to make recent linker
23001         happy.
23003 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23005         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23006         $(common-objpfx)libc_nonshared.a.
23008 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23010         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23011         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23012         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23013         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23014         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23015         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23016         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23017         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23032         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23033         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23034         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23035         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23036         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23037         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23038         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23039         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23040         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23041         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23042         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23043         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23059 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23061         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23062         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23063         * string/memmove.c (memmove): Renamed to ...
23064         (MEMMOVE): ...this.  Default to memmove.
23065         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23066         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23067         (END_CHK): Define.
23068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23069         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23070         mempcpy-ssse3-back memmove-ssse3-back.
23071         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23072         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23073         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23074         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23075         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23076         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23077         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23078         * sysdeps/x86_64/multiarch/memmove.c: New file.
23079         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23080         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23081         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23082         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23083         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23084         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23085         Define.
23086         (index_Fast_Copy_Backward): Define.
23087         (HAS_ARCH_FEATURE): Define.
23088         (HAS_FAST_REP_STRING): Define.
23089         (HAS_FAST_COPY_BACKWARD): Define.
23091 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23093         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23094         Restore proper fallback handling.
23096 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23098         [BZ #11701]
23099         * posix/group_member.c (__group_member): Correct checking loop.
23101         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23102         OOM in getpwuid_r correctly.  Return error number when the caller
23103         should return, otherwise -1.
23104         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23105         call returning > 0 value.
23106         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23108 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23110         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23111         libc_nonshared.a from targets in modules-names.
23113 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23115         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23116         requires it.
23118 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23120         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23121         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23122         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23123         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23125 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23127         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23129 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23131         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23132         and F_GETPIPE_SZ.
23133         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23134         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23137         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23138         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23140 2010-06-14  Roland McGrath  <roland@redhat.com>
23142         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23144 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23146         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23147         __REDIRECT followed by __THROW.
23148         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23149         * posix/getopt.h (getopt): Likewise.
23151 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23153         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23154         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23155         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23156         in AT_FLAGS.
23157         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23158         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23160 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23162         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23164 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23166         [BZ #11640]
23167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23168         Properly check family and model.
23170 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23172         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23174 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23176         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23178 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23180         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23181         symbol reference.
23183 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23185         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23186         symbol reference.
23188 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23190         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23191         and internal_recvmmsg.
23192         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23193         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23194         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23195         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23197         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23198         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23199         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23201 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23203         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23205 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23207         POWER7 optimizations.
23208         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23209         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23211 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23213         * version.h: Update for 2.13 development version.
23215 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23217         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23218         exceptions.  Return 0.
23220 2010-05-07  Roland McGrath  <roland@redhat.com>
23222         * elf/ldconfig.c (main): Add a const.
23224 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23226         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23227         (args_options): Add no-idn option.
23228         (ahosts_keys_int): Add idn_flags to ai_flags.
23229         (parse_option): Handle 'i' option to clear idn_flags.
23231         * malloc/malloc.c (_int_free): Possible race in the most recently
23232         added check.  Only act on the data if no current modification
23233         happened.
23235 See ChangeLog.17 for earlier changes.