Fix AArch64 typo.
[glibc.git] / ChangeLog
blobc68d85e5fca1fe18359f55731a8f137ebb210cfc
1 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3         * manual/contrib.texi (Contributors): Spelling correction.
5 2012-12-15  David S. Miller  <davem@davemloft.net>
7         * po/ru.po: Update from translation team.
9 2012-12-13  David S. Miller  <davem@davemloft.net>
11         * NEWS: Mention IFUNC testsuite enhancements.
13         * po/pl.po: Update from translation team.
14         * po/bg.po: Likewise.
16         * manual/contrib.texi (Contributors): Update entries for Hongjiu
17         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19 2012-12-11  David S. Miller  <davem@davemloft.net>
21         * po/sv.po: Update from translation team.
23         * po/vi.po: Update from translation team.
25         * po/cs.po: Update from translation team.
27         * po/de.po: Update from translation team.
28         * po/eo.po: Likewise.
29         * po/nl.po: Likewise.
31 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33         [BZ #14246]
34         * manual/argp.texi (Argp Helper Functions): Move node to follow
35         Argp Parsing State.
37         [BZ #14872]
38         * manual/conf.texi (Limits on File System Capacity): Mention if
39         terminating null is included in the max size.
41 2012-12-10  Andreas Jaeger  <aj@suse.de>
43         * po/cs.po: Update from translation team.
45 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48         void pointer and cast to uintptr_t.
49         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50         path.
51         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52         * sysdeps/s390/s390-64/memset.S: Likewise.
54 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56         [BZ #14833]
57         * menual/message.texi (Message Translation): Fix typos.
58         (Helper programs for gettext): Likewise.
60 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62         [BZ #14898]
63         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64         Change to -1.
66 2012-12-07  David S. Miller  <davem@davemloft.net>
68         * po/libc.pot: Update.
70 2012-12-07  Richard Henderson  <rth@redhat.com>
72         [BZ #10114]
73         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
74         normal/normal case to before the switch.
75         (_FP_DIV): Likewise.
77 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
78             Mike Frysinger  <vapier@gentoo.org>
80         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
81         check for __NR_fadvise64_64.
83 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
85         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
86         0, not just to plain "0" as a statement.
87         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
88         with cw.
90 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
92         * NEWS: Use sourceware.org in Bugzilla URL.
94 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
96         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
97         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
99         * stdio-common/tst-put-error.c (do_test): Add newline to the
100         padded test to ensure flush.
102 2012-12-05  Jeff Law  <law@redhat.com>
104         * sunrpc/etc.rpc (fedfs_admin): Add entry.
106 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
108         * README: Don't refer to ports add-on as distributed separately.
109         Mention AArch64 in list of systems supported in the ports add-on.
111         * LICENSES: Add more non-FSF copyright and license notices.
113         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
114         ((unused)).
116         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
118         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
119         10000 as width of padded output.
121 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
123         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
125         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
126         variable LX with __attribute__ ((unused)).
127         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
128         Likewise.
129         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
131         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
132         with __attribute__ ((unused)).
134 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
136         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
138 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
140         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
141         (CFLAGS-nldbl-acos.c): New variable.
142         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
143         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
144         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
145         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
146         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
147         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
148         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
149         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
150         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
151         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
152         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
153         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
154         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
155         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
156         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
157         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
158         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
159         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
160         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
161         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
162         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
163         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
164         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
165         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
166         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
167         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
168         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
169         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
170         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
171         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
172         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
173         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
174         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
175         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
176         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
177         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
178         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
179         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
180         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
181         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
182         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
183         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
184         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
185         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
186         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
187         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
188         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
189         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
190         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
191         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
192         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
193         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
194         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
195         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
196         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
197         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
198         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
199         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
200         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
201         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
202         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
203         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
204         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
205         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
206         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
207         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
208         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
209         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
210         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
211         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
212         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
213         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
214         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
215         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
216         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
217         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
218         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
219         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
220         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
221         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
222         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
223         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
224         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
225         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
226         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
227         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
228         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
229         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
230         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
231         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
232         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
233         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
234         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
235         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
236         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
237         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
238         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
241         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
243         [BZ #14914]
244         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
245         whole low double instead of just low 47 bits when splitting values
246         into two parts.
248 2012-12-03  Allan McRae  <allan@archlinux.org>
250         * manual/stdio.texi (Predefined Printf Handlers): Remove
251         @hsep and @vsep usage.
253 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
255         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
256         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
258 2012-12-03  Jeff Law  <law@redhat.com>
260         * time/sys/time.h (settimeofday): Do not mark TV argument
261         as __nonnull.
263 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
265         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
266         when currently writing and seek to current position when not.
267         * libio/Makefile (tests): Remove bug-fclose1.
268         * libio/bug-fclose1.c: Delete.
270 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
272         * manual/arith.texi (feenableexcept): Fix typo.
273         (fedisableexcept): Likewise.
275 2012-11-30  Roland McGrath  <roland@hack.frob.com>
277         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
278         second, differently-typed declaration, rather than a cast.
280 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
282         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
283         * include/rpc/svc.h: ... here.
285 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
287         [BZ #13013]
288         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
289         depending n and resplen2 to catch cases where answer
290         equals answerp2.
292 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
294         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
295         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
297 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
299         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
301 2012-11-29  Roland McGrath  <roland@hack.frob.com>
303         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
305 2012-11-28  Jeff Law  <law@redhat.com>
307         [BZ #13761]
308         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
309         dataset_temporary.  Track alloca usage into alloca_used.
310         If dataset is large allocate and release it via malloc/free.
312 2012-06-04  Florian Weimer  <fweimer@redhat.com>
314         [BZ #14197]
315         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
317 2012-11-28  David S. Miller  <davem@davemloft.net>
319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
321 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
323         [BZ #14803]
324         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
325         of pi/2 rounded to nearest to 64 bits.
326         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
327         nearest to 64 bits.
328         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
329         bits.
331 2012-11-28  Jeff Law <law@redhat.com>
332             Martin Osvald <mosvald@redhat.com>
334         [BZ #14889]
335         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
336         * sunrpc/svc.c: Include time.h.
337         (__svc_accept_failed): New function.
338         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
339         any reason other than EINTR, call __svc_accept_failed.
340         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
341         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
343 2012-11-28  Andreas Schwab  <schwab@suse.de>
345         * scripts/abilist.awk: Also handle indirect functions in .opd
346         section.
348 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
350         [BZ #13881]
351         * sysdeps/x86/fpu/powl_helper.c: New file.
352         * sysdeps/x86/fpu/Makefile: Likewise.
353         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
354         (p3): New object.
355         (__ieee754_powl): Use __powl_helper for finite arguments except
356         integer exponents below 8.
357         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
358         (p3): New object.
359         (__ieee754_powl): Use __powl_helper for finite arguments except
360         integer exponents below 8.
361         * math/libm-test.inc (pow_test): Add more tests and enable some
362         previously disabled tests.
363         * sysdeps/i386/fpu/libm-test-ulps: Update.
364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
366 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
367             Carlos O'Donell  <carlos_odonell@mentor.com>
369         * nss/makedb.c (is_prime): Assert that input is odd and greater
370         than 4.  Note that fact in a comment too.
371         (next_prime): Add 4 to input.
373 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
375         [BZ #11741]
376         * libio/Makefile (tests): Add test case tst-fwrite-error.
377         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
378         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
379         * libio/tst-fwrite-error.c: New test case.
381 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
383         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
384         before casting to void *.
385         * include/libc-internal.h (__pointer_type): New macro.
386         (__integer_if_pointer_type_sub): Likewise.
387         (__integer_if_pointer_type): Likewise.
388         (cast_to_integer): Likewise.
389         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
390         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
391         before casting to atomic64_t.
392         (atomic_exchange_acq): Likewise.
393         (__arch_exchange_and_add_body): Likewise.
394         (__arch_add_body): Likewise.
395         (atomic_add_negative): Likewise.
396         (atomic_add_zero): Likewise.
398 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
400         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
401         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
402         (add_fdes): Likewise.
403         (linear_search_fdes): Likewise.
404         (binary_search_unencoded_fdes): Likewise.
406 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
408         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
410 2012-11-24  Adam Conrad  <adconrad@0c3.net>
412         * configure.in: Autodetect C++ header directories.
413         * configure: Regenerated.
415 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
417         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
419 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
423 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
425         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
426         LDBL_MANT_DIG == 106]: Disable some tests.
427         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
428         Likewise.
429         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
430         Likewise.
432         [BZ #14871]
433         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
434         input for small inputs.  Return +/- pi/2 for large inputs.
435         * math/libm-test.inc (atan_test): Add more tests.
437         * sysdeps/generic/unwind-dw2-fde-glibc.c
438         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
439         __attribute__ ((unused)).
441         [BZ #14645]
442         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
443         x * y if x and y are nonzero and z is zero.
445         [BZ #14811]
446         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
447         nonzero exponents with absolute value below 0x1p-117 to +/-
448         0x1p-117.
450         [BZ #14869]
451         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
452         up arguments below 2**-450, not just those below 2**-500.
453         * math/libm-test.inc (hypot_test): Add another test.
455         [BZ #14868]
456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
457         Return a+b for ratio over 2**120, not 2**60.
458         * math/libm-test.inc (hypot_test): Add another test.
460         * math/libm-test.inc (clog_test): Use
461         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
462         (clog10_test): Likewise.
464         [BZ #6778]
465         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
467 2012-11-22  Andreas Schwab  <schwab@suse.de>
469         * sysdeps/i386/fpu/libm-test-ulps: Update.
471 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
473         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
474         printf output with newline.
476 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
478         [BZ #14865]
479         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
480         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
481         -z nodlopen, -z initfirst and -z execstack support.
482         * configure: Regenerated.
484         * elf/elf.h (DF_1_NODIRECT): New macro.
485         (DF_1_IGNMULDEF): Likewise.
486         (DF_1_NOKSYMS): Likewise.
487         (DF_1_NOHDR): Likewise.
488         (DF_1_EDITED): Likewise.
489         (DF_1_NORELOC): Likewise.
490         (DF_1_SYMINTPOSE): Likewise.
491         (DF_1_GLOBAUDIT): Likewise.
492         (DF_1_SINGLETON): Likewise.
493         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
494         DT_1_SUPPORTED_MASK bits.
495         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
497 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
499         * sysdeps/unix/make-syscalls.sh: Document prefixes.
501 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
503         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
504         macro.
506         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
507         (sendmmsg): Move declarations...
508         * socket/sys/socket.h: ... here.
509         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
510         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
511         include it from...
512         * socket/recvmmsg.c: ... this new file.
513         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
514         (sendmmsg): Rename to __sendmmsg, create weak alias and make
515         definition of __sendmmsg hidden.
516         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
517         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
518         Move ENOSYS stub into and include it from...
519         * socket/sendmmsg.c: ... this new file.
520         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
521         (sysdep_routines): Move recvmmsg and sendmmsg...
522         * socket/Makefile (routines): ... here.
523         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
524         (GLIBC_PRIVATE): Add __sendmmsg.
525         * include/sys/socket.h (__sendmmsg): Add declarations.
526         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
527         sendmmsg.
529 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
532         variable I1 with __attribute__ ((unused)).
533         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
535 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
537         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
538         DUMMY variables with __attribute__ ((unused)).
540         * bits/byteswap.h: Include <bits/types.h>.
541         (__bswap_64): Use __uint64_t instead of unsigned long long int.
543 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
545         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
546         string_t.  Do not manually set errno.
547         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
548         length with __strnlen.  Make sure to both set errno and return it on
549         failure.
551 2012-11-19  David S. Miller  <davem@davemloft.net>
553         With help from Joseph Myers.
554         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
555         very large arguments properly.
556         * math/libm-test.inc (atan_test): New tests.
557         (atan2_test): New tests.
558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
561 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
563         [BZ #14856]
564         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
565         Define to 3.
567         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
568         [POSIX] (EADDRNOTAVAIL): Likewise.
569         [POSIX] (EAFNOSUPPORT): Likewise.
570         [POSIX] (EALREADY): Likewise.
571         [POSIX] (ECONNABORTED): Likewise.
572         [POSIX] (ECONNREFUSED): Likewise.
573         [POSIX] (ECONNRESET): Likewise.
574         [POSIX] (EDESTADDRREQ): Likewise.
575         [POSIX] (EDQUOT): Likewise.
576         [POSIX] (EHOSTUNREACH): Likewise.
577         [POSIX] (EIDRM): Likewise.
578         [POSIX] (EISCONN): Likewise.
579         [POSIX] (ELOOP): Likewise.
580         [POSIX] (EMULTIHOP): Likewise.
581         [POSIX] (ENETDOWN): Likewise.
582         [POSIX] (ENETUNREACH): Likewise.
583         [POSIX] (ENOBUFS): Likewise.
584         [POSIX] (ENODATA): Likewise.
585         [POSIX] (ENOLINK): Likewise.
586         [POSIX] (ENOMSG): Likewise.
587         [POSIX] (ENOPROTOOPT): Likewise.
588         [POSIX] (ENOSR): Likewise.
589         [POSIX] (ENOSTR): Likewise.
590         [POSIX] (ENOTCONN): Likewise.
591         [POSIX] (ENOTSOCK): Likewise.
592         [POSIX] (EOPNOTSUPP): Likewise.
593         [POSIX] (EOVERFLOW): Likewise.
594         [POSIX] (EPROTO): Likewise.
595         [POSIX] (EPROTONOSUPPORT): Likewise.
596         [POSIX] (EPROTOTYPE): Likewise.
597         [POSIX] (ESTALE): Likewise.
598         [POSIX] (ETIME): Likewise.
599         [POSIX] (ETXTBSY): Likewise.
600         [POSIX] (EWOULDBLOCK): Likewise.
601         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
602         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
603         [POSIX] (SEEK_CUR): Likewise.
604         [POSIX] (SEEK_END): Likewise.
605         [POSIX || UNIX98] (mode_t): Do not require.
606         [POSIX] (off_t): Likewise.
607         [POSIX] (pid_t): Likewise.
608         [POSIX] (sys/stat.h): Do not allow header.
609         [POSIX] (unistd.h): Likewise.
610         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
611         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
612         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
613         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
614         require.
615         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
616         sigevent): Specify elements.
617         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
618         entry.
619         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
620         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
622         * conform/data/cpio.h-data [POSIX]: Disable whole file.
623         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
624         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
625         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
626         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
627         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
628         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
629         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
630         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
631         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
632         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
633         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
634         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
635         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
636         Likewise.
637         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
638         Likewise.
639         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
640         Likewise.
641         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
642         Likewise.
643         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
644         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
645         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
646         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
647         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
648         Specify lower bound on value.
649         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
650         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
651         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
652         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
653         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
654         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
655         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
656         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
657         value.
658         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
659         as optional.
660         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
661         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
662         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
663         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
664         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
665         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
666         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
667         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
668         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
669         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
670         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
671         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
672         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
673         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
674         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
675         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
676         entry.
677         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
678         optional.
679         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
680         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
681         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
682         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
683         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
684         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
685         Likewise.
686         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
687         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
688         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
689         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
690         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
691         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
692         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
693         as optional.
694         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
695         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
696         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
697         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
698         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
699         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
700         specify as optional.
701         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
702         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
703         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
704         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
705         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
706         [XPG3] (NL_LANGMAX): Likewise.
707         [POSIX || XPG3] (NL_MSGMAX): Likewise.
708         [POSIX || XPG3] (NL_NMAX): Likewise.
709         [POSIX || XPG3] (NL_SETMAX): Likewise.
710         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
711         [XPG3] (NZERO): Likewise.
712         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
713         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
714         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
715         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
716         (REG_ERANGE): Expect.
717         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
718         optional-constant.
719         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
720         Use (void) in prototype.
721         [POSIX] (*_t): Allow.
722         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
723         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
724         (WRDE_BADVAL): Expect.
726         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
727         expect.
728         [XPG3 || XPG4] (O_RSYNC): Likewise.
729         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
730         Likewise.
731         [XPG3 || XPG4] (pthread_sigmask): Likewise.
732         [XPG3 || XPG4] (sigqueue): Likewise.
733         [XPG3 || XPG4] (sigtimedwait): Likewise.
734         [XPG3 || XPG4] (sigwaitinfo): Likewise.
735         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
736         [XPG3 || XPG4] (vsnprintf): Likewise.
737         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
738         Likewise.
739         [XPG3 || XPG4] (blksize_t): Likewise.
740         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
741         Likewise.
742         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
743         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
744         [XPG3 || XPG4] (struct itimerspec): Likewise.
745         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
746         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
747         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
748         [XPG3 || XPG4] (clockid_t): Likewise.
749         [XPG3 || XPG4] (timer_t): Likewise.
750         [XPG3 || XPG4] (clock_getres): Likewise.
751         [XPG3 || XPG4] (clock_gettime): Likewise.
752         [XPG3 || XPG4] (clock_settime): Likewise.
753         [XPG3 || XPG4] (nanosleep): Likewise.
754         [XPG3 || XPG4] (timer_create): Likewise.
755         [XPG3 || XPG4] (timer_delete): Likewise.
756         [XPG3 || XPG4] (timer_gettime): Likewise.
757         [XPG3 || XPG4] (timer_getoverrun): Likewise.
758         [XPG3 || XPG4] (timer_settime): Likewise.
759         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
760         [XPG3 || XPG4] (getlogin_r): Likewise.
761         [XPG3 || XPG4] (pread): Likewise.
762         [XPG3 || XPG4] (pthread_atfork): Likewise.
763         [XPG3 || XPG4] (pwrite): Likewise.
765         [BZ #14835]
766         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
767         <bits/siginfo.h>.
769 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
771         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
772         finalizing MALLSTREAM.
774         * sysdeps/mach/hurd/syncfs.c: New file.
776 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
778         [BZ #14719]
779         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
780         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
782         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
783         (_nss_dns_gethostbyname4_r): Likewise.
784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
785         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
787 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
789         [BZ #13763]
790         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
792 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
794         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
795         * elf/cache.c (print_entry): Print ",AArch64" for
796         FLAG_AARCH64_LIB64
798         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
799         * elf/cache.c (print_entry): Print ",hard-float" for
800         FLAG_ARM_LIBHF.
802 2012-11-18  David S. Miller  <davem@davemloft.net>
804         With help from Joseph Myers.
805         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
806         cutoff to 2**-13.
807         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
808         cutoff to 2**-25.
809         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
810         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
811         small.
812         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
813         * math/libm-test.inc (y0_test): New tests.
814         (y1_test): New tests.
815         * sysdeps/i386/fpu/libm-test-ulps: Update.
816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
819 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
821         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
822         64-bit targets.
823         * configure: Regenerated.
825 2012-11-17  David S. Miller  <davem@davemloft.net>
827         [BZ #14811]
828         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
829         nonzero exponents with absolute value below 0x1p-128 to +/-
830         0x1p-128.
832 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
834         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
836         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
838         * posix/getconf-speclist.c: New file.
839         * posix/posix-envs.def: Likewise.
840         * posix/confstr.c (START_ENV_GROUP): New macro.
841         (END_ENV_GROUP): Likewise.
842         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
843         (KNOWN_PRESENT_ENV_STRING): Likewise.
844         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
845         (UNKNOWN_ENVIRONMENT): Likewise.
846         (confstr): Include posix-envs.def instead of handling
847         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
848         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
849         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
850         (END_ENV_GROUP): Likewise.
851         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
852         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
853         (UNKNOWN_ENVIRONMENT): Likewise.
854         (__sysconf): Include posix-envs.def instead of handling associated
855         cases directly here.
856         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
857         preprocessing getconf-speclist.c rather than running getconf or
858         generating empty file.
860 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
862         * scripts/check-local-headers.sh: Ignore 'mach' headers.
864 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
866         [BZ #14672]
867         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
869 2012-11-16  David S. Miller  <davem@davemloft.net>
871         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
872         smaller than LDBL_EPSILON/2.0L, just return xm1.
874 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
876         * elf/tst-array1.c (init): Set constructor priority to 1000.
877         (fini): Set destructor priority to 1000.
878         * elf/tst-array2dep.c: Likewise.
880 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
882         [BZ #11741]
883         * libio/fileops.c (_IO_new_file_write): Correctly return error.
884         (_IO_new_file_xsputn): Also return EOF if none of the input
885         data was written when overflow failed.
886         * libio/iopadn.c (_IO_padn): Likewise.
887         * libio/iowpadn.c (_IO_wpadn): Likewise.
888         * stdio-common/tst-put-error.c: Add copyright notice.
889         (do_test): Add case for printing padded string.
890         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
891         _IO_padn returned error.
892         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
893         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
894         return EOF.
896 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
898         * libio/libioP.h: Add comment note that the references to C++
899         bits are now obsolete.
901 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
903         * math/libm-test.inc (check_complex): Use asprintf.
905 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
907         * debug/pcprofiledump.c (print_version): Update copyright year.
908         * malloc/memusagestat.c (print_version): Likewise.
910 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
912         [BZ #14831]
913         * elf/Makefile (tests): Add tst-audit8.
914         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
915         ($(objpfx)tst-audit8.out): New target.
916         (tst-audit8-ENV): New variable.
917         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
918         audit if l_reloc_result is NULL.
919         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
920         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
921         * elf/tst-audit8.c: New file.
923 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
925         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
926         * misc/Makefile (CFLAGS-select.c): Define.
927         * posix/Makefile (CFLAGS-pause.c): Define.
929 2012-11-13  David S. Miller  <davem@davemloft.net>
931         * crypt/Makefile: Move test targets after toplevel Rules
932         inclusion.  Grab any necessary sysdep routines when linking.
933         * crypt/md5.c (md5_process_block): Remove define, we will always
934         name it __md5_process_block.
935         (md5_finish_ctx): Update md5_process_block call.
936         (md5_stream): Likewise.
937         (md5_process_bytes): Likewise.
938         (md5_process_block): Rename to __md5_process_block and move to ...
939         * crypt/md5-block.c: ... here.
940         * crypt/sha256.c (sha256_process_block): Move to ...
941         * crypt/sha256-block.c: ... here.
942         * crypt/sha512.c (sha512_process_block): Move to ...
943         * crypt/sha512-block.c: ... here.
944         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
945         path.
946         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
947         * sysdeps/sparc/sparc64/multiarch/Makefile
948         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
949         crypt subdir.
950         (localedef-aux): Add md5 crypto assembler when in locale subdir.
951         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
952         multiarch changes.
953         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
954         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
955         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
956         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
957         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
958         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
959         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
960         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
961         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
962         file.
963         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
964         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
965         file.
966         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
968 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
970         * timezone/tzselect.ksh: Update from tzcode git revision
971         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
972         * timezone/zdump.c: Likewise.
973         * timezone/zic.c: Likewise.
974         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
975         in TZVERSION setting, not $(PKGVERSION).
976         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
977         REPORT_BUGS_TO settings.
979         [BZ #14838]
980         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
981         macro.
983 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
985         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
986         detection to immediately after _FP_ROUND().
987         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
988         bits are 0.
990 2012-11-11  David S. Miller  <davem@davemloft.net>
992         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
993         inttypes.h
994         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
995         __close rather than their public counterparts.
997 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
999         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1000         file.
1001         [UNIX98] (sem_timedwait): Do not expect.
1002         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1003         [XPG4 || UNIX98] (sockatmark): Do not expect.
1004         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1005         (clock_getcpuclockid): Do not expect.
1006         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1007         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1008         Do not expect.
1009         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1010         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1011         [UNIX98] (vwscanf): Likewise.
1012         [UNIX98] (vswscanf): Likewise.
1014 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1016         * timezone/version.h: Remove file.
1017         * timezone/README: Do not refer to version.h.
1018         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1019         $(objpfx)version.h.
1020         ($(objpfx)zdump.o): Likewise.
1021         ($(objpfx)version.h): New target.
1023         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1024         2012i.
1025         * timezone/README: Don't mention modification to tzselect.ksh.
1026         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1027         work on unmodified tzselect.ksh.  Substitute version numbers in
1028         tzselect.ksh.
1030         * Makefile (format-me): Remove.
1031         (INSTALL): Adjust indentation.  Use commands directly instead of
1032         using $(format-me).
1034         * aclocal.m4 (ACX_PKGVERSION): New macro.
1035         (ACX_BUGURL): Likewise.
1036         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1037         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1038         (REPORT_BUGS_TO): Likewise.
1039         * configure: Regenerated.
1040         * config.h.in (PKGVERSION): New macro.
1041         (REPORT_BUGS_TO): Likewise.
1042         * config.make.in (PKGVERSION): New variable.
1043         (PKGVERSION_TEXI): Likewise.
1044         (REPORT_BUGS_TO): Likewise.
1045         (REPORT_BUGS_TEXI): Likewise.
1046         * Makefile (format-me): Use -I$(common-objpfx)manual.
1047         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1048         ($(common-objpfx)manual/%): New target.
1049         (manual/%): Remove target.
1050         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1051         (print_version): Use PKGVERSION.
1052         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1053         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1054         and REPORT_BUGS_TO.
1055         ($(objpfx)xtrace): Likewise.
1056         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1057         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1058         (print_version): Use PKGVERSION.
1059         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1060         (do_version): Use PKGVERSION.
1061         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1062         REPORT_BUGS_TO.
1063         (common-ldd-rewrite): Likewise.
1064         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1065         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1066         (print_version): Use PKGVERSION.
1067         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1068         * elf/pldd.c (argp_program_bug_address): Remove variable.
1069         (more_help): New function.
1070         (argp): Use more_help.
1071         (print_version): Use PKGVERSION.
1072         * elf/sln.c (main): Use PKGVERSION.
1073         (usage): Use REPORT_BUGS_TO.
1074         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1075         (top level): Use PKGVERSION.
1076         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1077         (print_version): Use PKGVERSION.
1078         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1079         (print_version): Use PKGVERSION.
1080         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1081         (print_version): Use PKGVERSION.
1082         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1083         (print_version): Use PKGVERSION.
1084         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1085         (print_version): Use PKGVERSION.
1086         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1087         (print_version): Use PKGVERSION.
1088         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1089         and BUGURL.
1090         ($(objpfx)memusage): Likewise.
1091         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1092         (do_version): Use PKGVERSION.
1093         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1094         (print_version): Use PKGVERSION.
1095         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1096         ($PKGVERSION): New variable.
1097         ($REPORT_BUGS_TO): Likewise.
1098         (usage): Use $REPORT_BUGS_TO.
1099         (top level): Use $PKGVERSION.
1100         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1101         ($(objpfx)pkgvers.texi): New rule.
1102         ($(objpfx)stamp-pkgvers): Likewise.
1103         * manual/install.texi: Include pkgvers.texi.
1104         (--with-pkgversion): Document new configure option.
1105         (--with-bugurl): Likewise.
1106         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1107         than necessarily for this particular distribution.  Use
1108         REPORT_BUGS_TO for where to report bugs.
1109         * INSTALL: Regenerated.
1110         * manual/libc.texinfo: Include pkgvers.texi.
1111         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1112         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1113         (print_version): Use PKGVERSION.
1114         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1115         (print_version): Use PKGVERSION.
1116         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1117         (print_version): Use PKGVERSION.
1118         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1119         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1120         macro.
1121         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1122         (print_version): Use PKGVERSION.
1123         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1124         (print_version): Use PKGVERSION.
1125         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1126         and PKGVERSION.
1128         * timezone/checktab.awk: Update from tzcode 2012i.
1129         * timezone/ialloc.c: Likewise.
1130         * timezone/private.h: Likewise.
1131         * timezone/scheck.c: Likewise.
1132         * timezone/tzfile.h: Likewise.
1133         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1134         (TZVERSION): Hardcode tzcode version number.
1135         * timezone/zdump.c: Update from tzcode 2012i.
1136         * timezone/zic.c: Likewise.
1137         * timezone/version.h: New file.
1138         * timezone/README: Describe version.h.  Update upstream location.
1140         [BZ #14824]
1141         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1142         (mktemp): Enable declaration.
1143         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1144         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1145         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1146         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1147         Likewise.
1148         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1149         Likewise.
1150         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1151         Likewise.
1152         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1153         Likewise.
1154         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1155         Likewise.
1156         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1157         Likewise.
1159         [BZ #14821]
1160         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1161         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1162         for copies of such integer values.
1163         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1164         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1166 2012-11-09  Andreas Jaeger  <aj@suse.de>
1168         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1169         definitions and declarations that are provided by
1170         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1172 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1174         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1175         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1176         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1177         definition.
1179 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1181         * elf/elf.h: Update comment before AArch64 relocations.
1183 2012-11-07  David S. Miller  <davem@davemloft.net>
1185         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1186         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1187         (__start_context): Declare.
1188         (__makecontext_ret): Delete.
1189         (__makecontext): Hook up __start_context instead of
1190         __makecontext_ret.
1191         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1192         (sysdep_routines): Add __start_context when in stdlib.
1194 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1196         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1197         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1198         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1199         hardcoded "nm".
1200         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1201         (READELF): New variable.  Use it instead of hardcoded "readelf".
1203 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1205         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1206         * sysdeps/x86/Makefile: Here.
1207         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1208         * sysdeps/x86/tst-xmmymm.sh: This.
1210 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1212         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1213         expectations.
1214         [UNIX98] (pthread_barrier_t): Do not expect.
1215         [UNIX98] (pthread_barrierattr_t): Likewise.
1216         [UNIX98] (pthread_spinlock_t): Likewise.
1217         [UNIX98] (pthread_barrier_destroy): Likewise.
1218         [UNIX98] (pthread_barrier_init): Likewise.
1219         [UNIX98] (pthread_barrier_wait): Likewise.
1220         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1221         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1222         [UNIX98] (pthread_barrierattr_init): Likewise.
1223         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1224         [UNIX98] (pthread_getcpuclockid): Likewise.
1225         [UNIX98] (pthread_mutex_timedlock): Likewise.
1226         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1227         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1228         [UNIX98] (pthread_sigmask): Likewise.
1229         [UNIX98] (pthread_spin_destroy): Likewise.
1230         [UNIX98] (pthread_spin_init): Likewise.
1231         [UNIX98] (pthread_spin_lock): Likewise.
1232         [UNIX98] (pthread_spin_trylock): Likewise.
1233         [UNIX98] (pthread_spin_unlock): Likewise.
1234         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1235         Do not expect.
1236         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1237         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1238         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1239         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1240         [XPG3 || XPG4] (pthread_key_t): Likewise.
1241         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1242         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1243         [XPG3 || XPG4] (pthread_once_t): Likewise.
1244         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1245         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1246         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1247         [XPG3 || XPG4] (pthread_t): Likewise.
1249         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1250         not expect.
1251         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1253         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1254         Change function return type to int.
1256         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1257         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1258         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1259         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1260         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1261         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1262         [!POSIX] (posix_madvise): Likewise.
1263         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1264         && !UNIX98].
1265         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1266         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1267         (mode_t): Likewise.
1268         (posix_mem_offset): Likewise.
1269         (posix_typed_mem_get_info): Likewise.
1270         (posix_typed_mem_open): Likewise.
1272         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1273         Change condition to [XOPEN2K8].
1275         * conform/conformtest.pl: Preprocess allow-header data with -x c
1276         instead of from stdin.
1277         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1278         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1279         [C99-based standards] (cerfc): Likewise.
1280         [C99-based standards] (cexp2): Likewise.
1281         [C99-based standards] (cexpm1): Likewise.
1282         [C99-based standards] (clog10): Likewise.
1283         [C99-based standards] (clog1p): Likewise.
1284         [C99-based standards] (clog2): Likewise.
1285         [C99-based standards] (clgamma): Likewise.
1286         [C99-based standards] (ctgamma): Likewise.
1287         [C99-based standards] (cerff): Likewise.
1288         [C99-based standards] (cerfcf): Likewise.
1289         [C99-based standards] (cexp2f): Likewise.
1290         [C99-based standards] (cexpm1f): Likewise.
1291         [C99-based standards] (clog10f): Likewise.
1292         [C99-based standards] (clog1pf): Likewise.
1293         [C99-based standards] (clog2f): Likewise.
1294         [C99-based standards] (clgammaf): Likewise.
1295         [C99-based standards] (ctgammaf): Likewise.
1296         [C99-based standards] (cerfl): Likewise.
1297         [C99-based standards] (cerfcl): Likewise.
1298         [C99-based standards] (cexp2l): Likewise.
1299         [C99-based standards] (cexpm1l): Likewise.
1300         [C99-based standards] (clog10l): Likewise.
1301         [C99-based standards] (clog1pl): Likewise.
1302         [C99-based standards] (clog2l): Likewise.
1303         [C99-based standards] (clgammal): Likewise.
1304         [C99-based standards] (ctgammal): Likewise.
1305         * conform/data/inttypes.h-data [C99-based standards]: Include
1306         stdint.h-data.  Remove all expectations for stdint.h contents.
1307         [C99-based standards] (PRI*): Do not allow.
1308         [C99-based standards] (SCN*): Likewise.
1309         [C99-based standards] (*_t): Likewise.
1310         [C99-based-standards] (PRId8): Expect macro.
1311         [C99-based-standards] (PRIi8): Likewise.
1312         [C99-based-standards] (PRIo8): Likewise.
1313         [C99-based-standards] (PRIu8): Likewise.
1314         [C99-based-standards] (PRIx8): Likewise.
1315         [C99-based-standards] (PRIX8): Likewise.
1316         [C99-based-standards] (SCNd8): Likewise.
1317         [C99-based-standards] (SCNi8): Likewise.
1318         [C99-based-standards] (SCNo8): Likewise.
1319         [C99-based-standards] (SCNu8): Likewise.
1320         [C99-based-standards] (SCNx8): Likewise.
1321         [C99-based-standards] (PRIdLEAST8): Likewise.
1322         [C99-based-standards] (PRIiLEAST8): Likewise.
1323         [C99-based-standards] (PRIoLEAST8): Likewise.
1324         [C99-based-standards] (PRIuLEAST8): Likewise.
1325         [C99-based-standards] (PRIxLEAST8): Likewise.
1326         [C99-based-standards] (PRIXLEAST8): Likewise.
1327         [C99-based-standards] (SCNdLEAST8): Likewise.
1328         [C99-based-standards] (SCNiLEAST8): Likewise.
1329         [C99-based-standards] (SCNoLEAST8): Likewise.
1330         [C99-based-standards] (SCNuLEAST8): Likewise.
1331         [C99-based-standards] (SCNxLEAST8): Likewise.
1332         [C99-based-standards] (PRIdFAST8): Likewise.
1333         [C99-based-standards] (PRIiFAST8): Likewise.
1334         [C99-based-standards] (PRIoFAST8): Likewise.
1335         [C99-based-standards] (PRIuFAST8): Likewise.
1336         [C99-based-standards] (PRIxFAST8): Likewise.
1337         [C99-based-standards] (PRIXFAST8): Likewise.
1338         [C99-based-standards] (SCNdFAST8): Likewise.
1339         [C99-based-standards] (SCNiFAST8): Likewise.
1340         [C99-based-standards] (SCNoFAST8): Likewise.
1341         [C99-based-standards] (SCNuFAST8): Likewise.
1342         [C99-based-standards] (SCNxFAST8): Likewise.
1343         [C99-based-standards] (PRId16): Likewise.
1344         [C99-based-standards] (PRIi16): Likewise.
1345         [C99-based-standards] (PRIo16): Likewise.
1346         [C99-based-standards] (PRIu16): Likewise.
1347         [C99-based-standards] (PRIx16): Likewise.
1348         [C99-based-standards] (PRIX16): Likewise.
1349         [C99-based-standards] (SCNd16): Likewise.
1350         [C99-based-standards] (SCNi16): Likewise.
1351         [C99-based-standards] (SCNo16): Likewise.
1352         [C99-based-standards] (SCNu16): Likewise.
1353         [C99-based-standards] (SCNx16): Likewise.
1354         [C99-based-standards] (PRIdLEAST16): Likewise.
1355         [C99-based-standards] (PRIiLEAST16): Likewise.
1356         [C99-based-standards] (PRIoLEAST16): Likewise.
1357         [C99-based-standards] (PRIuLEAST16): Likewise.
1358         [C99-based-standards] (PRIxLEAST16): Likewise.
1359         [C99-based-standards] (PRIXLEAST16): Likewise.
1360         [C99-based-standards] (SCNdLEAST16): Likewise.
1361         [C99-based-standards] (SCNiLEAST16): Likewise.
1362         [C99-based-standards] (SCNoLEAST16): Likewise.
1363         [C99-based-standards] (SCNuLEAST16): Likewise.
1364         [C99-based-standards] (SCNxLEAST16): Likewise.
1365         [C99-based-standards] (PRIdFAST16): Likewise.
1366         [C99-based-standards] (PRIiFAST16): Likewise.
1367         [C99-based-standards] (PRIoFAST16): Likewise.
1368         [C99-based-standards] (PRIuFAST16): Likewise.
1369         [C99-based-standards] (PRIxFAST16): Likewise.
1370         [C99-based-standards] (PRIXFAST16): Likewise.
1371         [C99-based-standards] (SCNdFAST16): Likewise.
1372         [C99-based-standards] (SCNiFAST16): Likewise.
1373         [C99-based-standards] (SCNoFAST16): Likewise.
1374         [C99-based-standards] (SCNuFAST16): Likewise.
1375         [C99-based-standards] (SCNxFAST16): Likewise.
1376         [C99-based-standards] (PRId32): Likewise.
1377         [C99-based-standards] (PRIi32): Likewise.
1378         [C99-based-standards] (PRIo32): Likewise.
1379         [C99-based-standards] (PRIu32): Likewise.
1380         [C99-based-standards] (PRIx32): Likewise.
1381         [C99-based-standards] (PRIX32): Likewise.
1382         [C99-based-standards] (SCNd32): Likewise.
1383         [C99-based-standards] (SCNi32): Likewise.
1384         [C99-based-standards] (SCNo32): Likewise.
1385         [C99-based-standards] (SCNu32): Likewise.
1386         [C99-based-standards] (SCNx32): Likewise.
1387         [C99-based-standards] (PRIdLEAST32): Likewise.
1388         [C99-based-standards] (PRIiLEAST32): Likewise.
1389         [C99-based-standards] (PRIoLEAST32): Likewise.
1390         [C99-based-standards] (PRIuLEAST32): Likewise.
1391         [C99-based-standards] (PRIxLEAST32): Likewise.
1392         [C99-based-standards] (PRIXLEAST32): Likewise.
1393         [C99-based-standards] (SCNdLEAST32): Likewise.
1394         [C99-based-standards] (SCNiLEAST32): Likewise.
1395         [C99-based-standards] (SCNoLEAST32): Likewise.
1396         [C99-based-standards] (SCNuLEAST32): Likewise.
1397         [C99-based-standards] (SCNxLEAST32): Likewise.
1398         [C99-based-standards] (PRIdFAST32): Likewise.
1399         [C99-based-standards] (PRIiFAST32): Likewise.
1400         [C99-based-standards] (PRIoFAST32): Likewise.
1401         [C99-based-standards] (PRIuFAST32): Likewise.
1402         [C99-based-standards] (PRIxFAST32): Likewise.
1403         [C99-based-standards] (PRIXFAST32): Likewise.
1404         [C99-based-standards] (SCNdFAST32): Likewise.
1405         [C99-based-standards] (SCNiFAST32): Likewise.
1406         [C99-based-standards] (SCNoFAST32): Likewise.
1407         [C99-based-standards] (SCNuFAST32): Likewise.
1408         [C99-based-standards] (SCNxFAST32): Likewise.
1409         [C99-based-standards] (PRId64): Likewise.
1410         [C99-based-standards] (PRIi64): Likewise.
1411         [C99-based-standards] (PRIo64): Likewise.
1412         [C99-based-standards] (PRIu64): Likewise.
1413         [C99-based-standards] (PRIx64): Likewise.
1414         [C99-based-standards] (PRIX64): Likewise.
1415         [C99-based-standards] (SCNd64): Likewise.
1416         [C99-based-standards] (SCNi64): Likewise.
1417         [C99-based-standards] (SCNo64): Likewise.
1418         [C99-based-standards] (SCNu64): Likewise.
1419         [C99-based-standards] (SCNx64): Likewise.
1420         [C99-based-standards] (PRIdLEAST64): Likewise.
1421         [C99-based-standards] (PRIiLEAST64): Likewise.
1422         [C99-based-standards] (PRIoLEAST64): Likewise.
1423         [C99-based-standards] (PRIuLEAST64): Likewise.
1424         [C99-based-standards] (PRIxLEAST64): Likewise.
1425         [C99-based-standards] (PRIXLEAST64): Likewise.
1426         [C99-based-standards] (SCNdLEAST64): Likewise.
1427         [C99-based-standards] (SCNiLEAST64): Likewise.
1428         [C99-based-standards] (SCNoLEAST64): Likewise.
1429         [C99-based-standards] (SCNuLEAST64): Likewise.
1430         [C99-based-standards] (SCNxLEAST64): Likewise.
1431         [C99-based-standards] (PRIdFAST64): Likewise.
1432         [C99-based-standards] (PRIiFAST64): Likewise.
1433         [C99-based-standards] (PRIoFAST64): Likewise.
1434         [C99-based-standards] (PRIuFAST64): Likewise.
1435         [C99-based-standards] (PRIxFAST64): Likewise.
1436         [C99-based-standards] (PRIXFAST64): Likewise.
1437         [C99-based-standards] (SCNdFAST64): Likewise.
1438         [C99-based-standards] (SCNiFAST64): Likewise.
1439         [C99-based-standards] (SCNoFAST64): Likewise.
1440         [C99-based-standards] (SCNuFAST64): Likewise.
1441         [C99-based-standards] (SCNxFAST64): Likewise.
1442         [C99-based-standards] (PRIdMAX): Likewise.
1443         [C99-based-standards] (PRIiMAX): Likewise.
1444         [C99-based-standards] (PRIoMAX): Likewise.
1445         [C99-based-standards] (PRIuMAX): Likewise.
1446         [C99-based-standards] (PRIxMAX): Likewise.
1447         [C99-based-standards] (PRIXMAX): Likewise.
1448         [C99-based-standards] (SCNdMAX): Likewise.
1449         [C99-based-standards] (SCNiMAX): Likewise.
1450         [C99-based-standards] (SCNoMAX): Likewise.
1451         [C99-based-standards] (SCNuMAX): Likewise.
1452         [C99-based-standards] (SCNxMAX): Likewise.
1453         [C99-based-standards] (PRIdPTR): Likewise.
1454         [C99-based-standards] (PRIiPTR): Likewise.
1455         [C99-based-standards] (PRIoPTR): Likewise.
1456         [C99-based-standards] (PRIuPTR): Likewise.
1457         [C99-based-standards] (PRIxPTR): Likewise.
1458         [C99-based-standards] (PRIXPTR): Likewise.
1459         [C99-based-standards] (SCNdPTR): Likewise.
1460         [C99-based-standards] (SCNiPTR): Likewise.
1461         [C99-based-standards] (SCNoPTR): Likewise.
1462         [C99-based-standards] (SCNuPTR): Likewise.
1463         [C99-based-standards] (SCNxPTR): Likewise.
1464         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1465         allow.
1466         * conform/data/stdint.h-data: Update comments to clarify
1467         requirements.
1468         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1469         type.
1470         [C99-based standards] (INT8_MAX): Likewise.
1471         [C99-based standards] (INT16_MIN): Likewise.
1472         [C99-based standards] (INT16_MAX): Likewise.
1473         [C99-based standards] (INT32_MIN): Likewise.
1474         [C99-based standards] (INT32_MAX): Likewise.
1475         [C99-based standards] (INT64_MIN): Likewise.
1476         [C99-based standards] (INT64_MAX): Likewise.
1477         [C99-based standards] (UINT8_MAX): Likewise.
1478         [C99-based standards] (UINT16_MAX): Likewise.
1479         [C99-based standards] (UINT32_MAX): Likewise.
1480         [C99-based standards] (UINT64_MAX): Likewise.
1481         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1482         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1483         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1484         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1485         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1486         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1487         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1488         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1489         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1490         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1491         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1492         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1493         [C99-based standards] (INT_FAST8_MIN): Likewise.
1494         [C99-based standards] (INT_FAST8_MAX): Likewise.
1495         [C99-based standards] (INT_FAST16_MIN): Likewise.
1496         [C99-based standards] (INT_FAST16_MAX): Likewise.
1497         [C99-based standards] (INT_FAST32_MIN): Likewise.
1498         [C99-based standards] (INT_FAST32_MAX): Likewise.
1499         [C99-based standards] (INT_FAST64_MIN): Likewise.
1500         [C99-based standards] (INT_FAST64_MAX): Likewise.
1501         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1502         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1503         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1504         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1505         [C99-based standards] (INTPTR_MIN): Likewise.
1506         [C99-based standards] (INTPTR_MAX): Likewise.
1507         [C99-based standards] (UINTPTR_MAX): Likewise.
1508         [C99-based standards] (INTMAX_MIN): Likewise.
1509         [C99-based standards] (INTMAX_MAX): Likewise.
1510         [C99-based standards] (UINTMAX_MAX): Likewise.
1511         [C99-based standards] (PTRDIFF_MIN): Likewise.
1512         [C99-based standards] (PTRDIFF_MAX): Likewise.
1513         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1514         [C99-based standards] (SIZE_MAX): Likewise.
1515         [C99-based standards] (WCHAR_MAX): Likewise.
1516         [C99-based standards] (WINT_MAX): Likewise.
1517         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1518         constraint on value.
1519         [C99-based standards] (WCHAR_MIN): Likewise.
1520         [C99-based standards] (WINT_MIN): Likewise.
1521         [C99-based standards] (*_t): Allow.
1522         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1523         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1524         Include math.h-data and complex.h-data.  Remove all expectations
1525         of math.h and complex.h contents.
1526         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1527         at end of line.
1528         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1529         (struct tm): Expect tag.
1530         [C99-based-standards] (wcstof): Expect function.
1531         [C99-based-standards] (wcstold): Likewise.
1532         [C99-based-standards] (wcstoll): Likewise.
1533         [C99-based-standards] (wcstoull): Likewise.
1534         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1535         macro-int-constant.  Specify type.
1536         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1537         constraint on value.
1538         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1539         Specify type.
1540         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1541         Specify value.
1542         [ISO C standards]: Do not allow headers.
1543         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1544         wcs[abcdefghijklmnopqrstuvwxyz]*.
1545         [ISO C standards] (*_t): Do not allow.
1546         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1547         Expect function.
1548         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1549         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1550         Specify type.
1551         [ISO C standards]: Do not allow headers.
1552         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1553         is[abcdefghijklmnopqrstuvwxyz]*.
1554         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1555         to[abcdefghijklmnopqrstuvwxyz]*.
1556         [ISO C standards] (*_t): Do not allow.
1557         * conform/data/stdalign.h-data: New file.
1558         * conform/data/stdbool.h-data: Likewise.
1559         * conform/data/stdnoreturn.h-data: Likewise.
1561 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1563         [BZ #14815]
1564         * manual/filesys.texi (Directory Entries): Typo fix.
1565         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1567 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1569         * elf/elf.h (EM_AARCH64): New macro.
1570         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1571         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1572         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1573         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1574         (R_AARCH64_TLSDESC): Likewise.
1575         (NT_ARM_TLS): Likewise.
1576         (NT_ARM_HW_BREAK): Likewise.
1577         (NT_ARM_HW_WATCH): Likewise.
1579 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1581         [BZ #14811]
1582         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1583         (__ieee754_powl): Saturate nonzero exponents with absolute value
1584         below 0x1p-79 to +/- 0x1p-79.
1585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1586         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1587         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1588         nonzero exponents with absolute value below 0x1p-32 to +/-
1589         0x1p-32.
1590         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1591         (__ieee754_powl): Saturate nonzero exponents with absolute value
1592         below 0x1p-79 to +/- 0x1p-79.
1593         * math/libm-test.inc (pow_test): Add more tests.
1595 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1597         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1598         _dl_s390_cap_flags with kernel. Increase string length.
1599         (_dl_s390_platforms): Add z196 and zEC12.
1601 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1603         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1604         Change XOPEN21K to XOPEN2K.
1606 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1608         * string/memmove.c: Use memcpy when possible.
1610 2012-11-06  Andreas Jaeger  <aj@suse.de>
1612         * po/eo.po: Update from translation team.
1614 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1616         [BZ #14793]
1617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1618         exponent and small x and y exponents, scale x or y up.  Increase
1619         by 2 the exponent used in scaling up.
1620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1622         * math/libm-test.inc (fma_test): Add more tests.
1623         (fma_test_towardzero): Likewise.
1624         (fma_test_downward): Likewise.
1625         (fma_test_upward): Likewise.
1627 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
1629         [BZ #14805]
1630         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1631         fenv_t *.
1633         [BZ #14801]
1634         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1635         namespace for names of struct fields.
1636         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1637         fenv_t fields.
1638         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1639         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1641 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1643         [BZ #3665]
1644         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1646 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1648         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1649         PTR_DEMANGLE.
1651         [BZ #5246]
1652         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1653         PTR_DEMANGLE.
1655 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
1657         [BZ #14797]
1658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1659         definitely overflow as x * y not x * y + z.
1660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1662         * math/libm-test.inc (fma_test): Add more tests.
1663         (fma_test_towardzero): Likewise.
1664         (fma_test_downward): Likewise.
1665         (fma_test_upward): Likewise.
1667 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1669         [BZ #157]
1671         * include/stub-tag.h: Remove file.
1672         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1673         '#include' of it.
1674         * manual/maint.texi (Porting): Don't reference it.
1675         * Makerules ($(objpfx)stubs): Likewise.
1676         * dirent/closedir.c: Don't include <stub-tag.h>.
1677         * dirent/dirfd.c: Likewise.
1678         * dirent/fdopendir.c: Likewise.
1679         * dirent/getdents.c: Likewise.
1680         * dirent/getdents64.c: Likewise.
1681         * dirent/opendir.c: Likewise.
1682         * dirent/readdir.c: Likewise.
1683         * dirent/readdir64.c: Likewise.
1684         * dirent/readdir64_r.c: Likewise.
1685         * dirent/readdir_r.c: Likewise.
1686         * dirent/rewinddir.c: Likewise.
1687         * dirent/seekdir.c: Likewise.
1688         * dirent/telldir.c: Likewise.
1689         * gmon/profil.c: Likewise.
1690         * grp/setgroups.c: Likewise.
1691         * inet/if_index.c: Likewise.
1692         * io/access.c: Likewise.
1693         * io/chdir.c: Likewise.
1694         * io/chmod.c: Likewise.
1695         * io/chown.c: Likewise.
1696         * io/close.c: Likewise.
1697         * io/dup.c: Likewise.
1698         * io/dup2.c: Likewise.
1699         * io/dup3.c: Likewise.
1700         * io/euidaccess.c: Likewise.
1701         * io/faccessat.c: Likewise.
1702         * io/fchdir.c: Likewise.
1703         * io/fchmod.c: Likewise.
1704         * io/fchmodat.c: Likewise.
1705         * io/fchown.c: Likewise.
1706         * io/fchownat.c: Likewise.
1707         * io/fcntl.c: Likewise.
1708         * io/flock.c: Likewise.
1709         * io/fstatfs.c: Likewise.
1710         * io/fstatfs64.c: Likewise.
1711         * io/fstatvfs.c: Likewise.
1712         * io/fstatvfs64.c: Likewise.
1713         * io/futimens.c: Likewise.
1714         * io/fxstat.c: Likewise.
1715         * io/fxstat64.c: Likewise.
1716         * io/fxstatat.c: Likewise.
1717         * io/fxstatat64.c: Likewise.
1718         * io/getcwd.c: Likewise.
1719         * io/isatty.c: Likewise.
1720         * io/lchmod.c: Likewise.
1721         * io/lchown.c: Likewise.
1722         * io/link.c: Likewise.
1723         * io/linkat.c: Likewise.
1724         * io/lseek.c: Likewise.
1725         * io/lseek64.c: Likewise.
1726         * io/lxstat64.c: Likewise.
1727         * io/mkdir.c: Likewise.
1728         * io/mkdirat.c: Likewise.
1729         * io/mkfifo.c: Likewise.
1730         * io/mkfifoat.c: Likewise.
1731         * io/open.c: Likewise.
1732         * io/open64.c: Likewise.
1733         * io/openat.c: Likewise.
1734         * io/openat64.c: Likewise.
1735         * io/pipe.c: Likewise.
1736         * io/pipe2.c: Likewise.
1737         * io/poll.c: Likewise.
1738         * io/posix_fadvise.c: Likewise.
1739         * io/posix_fadvise64.c: Likewise.
1740         * io/posix_fallocate.c: Likewise.
1741         * io/posix_fallocate64.c: Likewise.
1742         * io/read.c: Likewise.
1743         * io/readlink.c: Likewise.
1744         * io/readlinkat.c: Likewise.
1745         * io/rmdir.c: Likewise.
1746         * io/sendfile.c: Likewise.
1747         * io/sendfile64.c: Likewise.
1748         * io/statfs.c: Likewise.
1749         * io/statfs64.c: Likewise.
1750         * io/statvfs.c: Likewise.
1751         * io/statvfs64.c: Likewise.
1752         * io/symlink.c: Likewise.
1753         * io/symlinkat.c: Likewise.
1754         * io/ttyname.c: Likewise.
1755         * io/ttyname_r.c: Likewise.
1756         * io/umask.c: Likewise.
1757         * io/unlink.c: Likewise.
1758         * io/unlinkat.c: Likewise.
1759         * io/utime.c: Likewise.
1760         * io/utimensat.c: Likewise.
1761         * io/write.c: Likewise.
1762         * io/xmknod.c: Likewise.
1763         * io/xmknodat.c: Likewise.
1764         * io/xstat.c: Likewise.
1765         * io/xstat64.c: Likewise.
1766         * login/getpt.c: Likewise.
1767         * login/grantpt.c: Likewise.
1768         * login/unlockpt.c: Likewise.
1769         * math/e_acoshl.c: Likewise.
1770         * math/e_acosl.c: Likewise.
1771         * math/e_asinl.c: Likewise.
1772         * math/e_atan2l.c: Likewise.
1773         * math/e_atanhl.c: Likewise.
1774         * math/e_coshl.c: Likewise.
1775         * math/e_expl.c: Likewise.
1776         * math/e_fmodl.c: Likewise.
1777         * math/e_gammal_r.c: Likewise.
1778         * math/e_hypotl.c: Likewise.
1779         * math/e_j0l.c: Likewise.
1780         * math/e_j1l.c: Likewise.
1781         * math/e_jnl.c: Likewise.
1782         * math/e_lgammal_r.c: Likewise.
1783         * math/e_log10l.c: Likewise.
1784         * math/e_log2l.c: Likewise.
1785         * math/e_logl.c: Likewise.
1786         * math/e_powl.c: Likewise.
1787         * math/e_rem_pio2l.c: Likewise.
1788         * math/e_sinhl.c: Likewise.
1789         * math/e_sqrtl.c: Likewise.
1790         * math/fclrexcpt.c: Likewise.
1791         * math/fedisblxcpt.c: Likewise.
1792         * math/feenablxcpt.c: Likewise.
1793         * math/fegetenv.c: Likewise.
1794         * math/fegetexcept.c: Likewise.
1795         * math/fegetround.c: Likewise.
1796         * math/feholdexcpt.c: Likewise.
1797         * math/fesetenv.c: Likewise.
1798         * math/fesetround.c: Likewise.
1799         * math/feupdateenv.c: Likewise.
1800         * math/fgetexcptflg.c: Likewise.
1801         * math/fraiseexcpt.c: Likewise.
1802         * math/fsetexcptflg.c: Likewise.
1803         * math/ftestexcept.c: Likewise.
1804         * math/k_cosl.c: Likewise.
1805         * math/k_rem_pio2l.c: Likewise.
1806         * math/k_sinl.c: Likewise.
1807         * math/k_tanl.c: Likewise.
1808         * math/s_asinhl.c: Likewise.
1809         * math/s_atanl.c: Likewise.
1810         * math/s_cbrtl.c: Likewise.
1811         * math/s_erfl.c: Likewise.
1812         * math/s_expm1l.c: Likewise.
1813         * math/s_log1pl.c: Likewise.
1814         * math/s_tanhl.c: Likewise.
1815         * misc/acct.c: Likewise.
1816         * misc/brk.c: Likewise.
1817         * misc/chflags.c: Likewise.
1818         * misc/chroot.c: Likewise.
1819         * misc/fchflags.c: Likewise.
1820         * misc/fgetxattr.c: Likewise.
1821         * misc/flistxattr.c: Likewise.
1822         * misc/fremovexattr.c: Likewise.
1823         * misc/fsetxattr.c: Likewise.
1824         * misc/fsync.c: Likewise.
1825         * misc/ftruncate.c: Likewise.
1826         * misc/futimes.c: Likewise.
1827         * misc/futimesat.c: Likewise.
1828         * misc/getdomain.c: Likewise.
1829         * misc/getdtsz.c: Likewise.
1830         * misc/gethostid.c: Likewise.
1831         * misc/gethostname.c: Likewise.
1832         * misc/getloadavg.c: Likewise.
1833         * misc/getpagesize.c: Likewise.
1834         * misc/getsysstats.c: Likewise.
1835         * misc/getxattr.c: Likewise.
1836         * misc/gtty.c: Likewise.
1837         * misc/ioctl.c: Likewise.
1838         * misc/lgetxattr.c: Likewise.
1839         * misc/listxattr.c: Likewise.
1840         * misc/llistxattr.c: Likewise.
1841         * misc/lremovexattr.c: Likewise.
1842         * misc/lsetxattr.c: Likewise.
1843         * misc/lutimes.c: Likewise.
1844         * misc/madvise.c: Likewise.
1845         * misc/mincore.c: Likewise.
1846         * misc/mlock.c: Likewise.
1847         * misc/mlockall.c: Likewise.
1848         * misc/mmap.c: Likewise.
1849         * misc/mprotect.c: Likewise.
1850         * misc/msync.c: Likewise.
1851         * misc/munlock.c: Likewise.
1852         * misc/munlockall.c: Likewise.
1853         * misc/munmap.c: Likewise.
1854         * misc/preadv.c: Likewise.
1855         * misc/preadv64.c: Likewise.
1856         * misc/ptrace.c: Likewise.
1857         * misc/pwritev.c: Likewise.
1858         * misc/pwritev64.c: Likewise.
1859         * misc/readv.c: Likewise.
1860         * misc/reboot.c: Likewise.
1861         * misc/remap_file_pages.c: Likewise.
1862         * misc/removexattr.c: Likewise.
1863         * misc/revoke.c: Likewise.
1864         * misc/select.c: Likewise.
1865         * misc/setdomain.c: Likewise.
1866         * misc/setegid.c: Likewise.
1867         * misc/seteuid.c: Likewise.
1868         * misc/sethostid.c: Likewise.
1869         * misc/sethostname.c: Likewise.
1870         * misc/setregid.c: Likewise.
1871         * misc/setreuid.c: Likewise.
1872         * misc/setxattr.c: Likewise.
1873         * misc/sstk.c: Likewise.
1874         * misc/stty.c: Likewise.
1875         * misc/swapoff.c: Likewise.
1876         * misc/swapon.c: Likewise.
1877         * misc/sync.c: Likewise.
1878         * misc/syncfs.c: Likewise.
1879         * misc/syscall.c: Likewise.
1880         * misc/truncate.c: Likewise.
1881         * misc/ualarm.c: Likewise.
1882         * misc/usleep.c: Likewise.
1883         * misc/ustat.c: Likewise.
1884         * misc/utimes.c: Likewise.
1885         * misc/vhangup.c: Likewise.
1886         * misc/writev.c: Likewise.
1887         * posix/_exit.c: Likewise.
1888         * posix/alarm.c: Likewise.
1889         * posix/execve.c: Likewise.
1890         * posix/fexecve.c: Likewise.
1891         * posix/fork.c: Likewise.
1892         * posix/fpathconf.c: Likewise.
1893         * posix/getaddrinfo.c: Likewise.
1894         * posix/getegid.c: Likewise.
1895         * posix/geteuid.c: Likewise.
1896         * posix/getgid.c: Likewise.
1897         * posix/getgroups.c: Likewise.
1898         * posix/getlogin.c: Likewise.
1899         * posix/getlogin_r.c: Likewise.
1900         * posix/getpgid.c: Likewise.
1901         * posix/getpid.c: Likewise.
1902         * posix/getppid.c: Likewise.
1903         * posix/getresgid.c: Likewise.
1904         * posix/getresuid.c: Likewise.
1905         * posix/getsid.c: Likewise.
1906         * posix/getuid.c: Likewise.
1907         * posix/glob64.c: Likewise.
1908         * posix/nanosleep.c: Likewise.
1909         * posix/pathconf.c: Likewise.
1910         * posix/pause.c: Likewise.
1911         * posix/posix_madvise.c: Likewise.
1912         * posix/pread.c: Likewise.
1913         * posix/pread64.c: Likewise.
1914         * posix/pwrite.c: Likewise.
1915         * posix/pwrite64.c: Likewise.
1916         * posix/sched_getaffinity.c: Likewise.
1917         * posix/sched_getp.c: Likewise.
1918         * posix/sched_gets.c: Likewise.
1919         * posix/sched_primax.c: Likewise.
1920         * posix/sched_primin.c: Likewise.
1921         * posix/sched_rr_gi.c: Likewise.
1922         * posix/sched_setaffinity.c: Likewise.
1923         * posix/sched_setp.c: Likewise.
1924         * posix/sched_sets.c: Likewise.
1925         * posix/sched_yield.c: Likewise.
1926         * posix/setgid.c: Likewise.
1927         * posix/setlogin.c: Likewise.
1928         * posix/setpgid.c: Likewise.
1929         * posix/setresgid.c: Likewise.
1930         * posix/setresuid.c: Likewise.
1931         * posix/setsid.c: Likewise.
1932         * posix/setuid.c: Likewise.
1933         * posix/sleep.c: Likewise.
1934         * posix/spawni.c: Likewise.
1935         * posix/sysconf.c: Likewise.
1936         * posix/times.c: Likewise.
1937         * posix/wait.c: Likewise.
1938         * posix/wait3.c: Likewise.
1939         * posix/wait4.c: Likewise.
1940         * posix/waitpid.c: Likewise.
1941         * resolv/gai_sigqueue.c: Likewise.
1942         * resource/getpriority.c: Likewise.
1943         * resource/getrlimit.c: Likewise.
1944         * resource/getrusage.c: Likewise.
1945         * resource/nice.c: Likewise.
1946         * resource/setpriority.c: Likewise.
1947         * resource/setrlimit.c: Likewise.
1948         * resource/ulimit.c: Likewise.
1949         * rt/aio_cancel.c: Likewise.
1950         * rt/aio_fsync.c: Likewise.
1951         * rt/aio_read.c: Likewise.
1952         * rt/aio_sigqueue.c: Likewise.
1953         * rt/aio_suspend.c: Likewise.
1954         * rt/aio_write.c: Likewise.
1955         * rt/clock_getres.c: Likewise.
1956         * rt/clock_gettime.c: Likewise.
1957         * rt/clock_nanosleep.c: Likewise.
1958         * rt/clock_settime.c: Likewise.
1959         * rt/lio_listio.c: Likewise.
1960         * rt/mq_close.c: Likewise.
1961         * rt/mq_getattr.c: Likewise.
1962         * rt/mq_notify.c: Likewise.
1963         * rt/mq_open.c: Likewise.
1964         * rt/mq_receive.c: Likewise.
1965         * rt/mq_send.c: Likewise.
1966         * rt/mq_setattr.c: Likewise.
1967         * rt/mq_timedreceive.c: Likewise.
1968         * rt/mq_timedsend.c: Likewise.
1969         * rt/mq_unlink.c: Likewise.
1970         * rt/shm_open.c: Likewise.
1971         * rt/shm_unlink.c: Likewise.
1972         * rt/timer_create.c: Likewise.
1973         * rt/timer_delete.c: Likewise.
1974         * rt/timer_getoverr.c: Likewise.
1975         * rt/timer_gettime.c: Likewise.
1976         * rt/timer_settime.c: Likewise.
1977         * setjmp/__longjmp.c: Likewise.
1978         * setjmp/setjmp.c: Likewise.
1979         * signal/kill.c: Likewise.
1980         * signal/killpg.c: Likewise.
1981         * signal/raise.c: Likewise.
1982         * signal/sigaction.c: Likewise.
1983         * signal/sigaltstack.c: Likewise.
1984         * signal/sigblock.c: Likewise.
1985         * signal/sigignore.c: Likewise.
1986         * signal/sigintr.c: Likewise.
1987         * signal/signal.c: Likewise.
1988         * signal/sigpause.c: Likewise.
1989         * signal/sigpending.c: Likewise.
1990         * signal/sigqueue.c: Likewise.
1991         * signal/sigreturn.c: Likewise.
1992         * signal/sigset.c: Likewise.
1993         * signal/sigsetmask.c: Likewise.
1994         * signal/sigstack.c: Likewise.
1995         * signal/sigsuspend.c: Likewise.
1996         * signal/sigtimedwait.c: Likewise.
1997         * signal/sigvec.c: Likewise.
1998         * signal/sigwait.c: Likewise.
1999         * signal/sigwaitinfo.c: Likewise.
2000         * signal/sysv_signal.c: Likewise.
2001         * socket/accept.c: Likewise.
2002         * socket/accept4.c: Likewise.
2003         * socket/bind.c: Likewise.
2004         * socket/connect.c: Likewise.
2005         * socket/getpeername.c: Likewise.
2006         * socket/getsockname.c: Likewise.
2007         * socket/getsockopt.c: Likewise.
2008         * socket/isfdtype.c: Likewise.
2009         * socket/listen.c: Likewise.
2010         * socket/recv.c: Likewise.
2011         * socket/recvfrom.c: Likewise.
2012         * socket/recvmsg.c: Likewise.
2013         * socket/send.c: Likewise.
2014         * socket/sendmsg.c: Likewise.
2015         * socket/sendto.c: Likewise.
2016         * socket/setsockopt.c: Likewise.
2017         * socket/shutdown.c: Likewise.
2018         * socket/sockatmark.c: Likewise.
2019         * socket/socket.c: Likewise.
2020         * socket/socketpair.c: Likewise.
2021         * stdio-common/ctermid.c: Likewise.
2022         * stdio-common/cuserid.c: Likewise.
2023         * stdio-common/remove.c: Likewise.
2024         * stdio-common/rename.c: Likewise.
2025         * stdio-common/renameat.c: Likewise.
2026         * stdio-common/tempname.c: Likewise.
2027         * stdlib/getcontext.c: Likewise.
2028         * stdlib/makecontext.c: Likewise.
2029         * stdlib/setcontext.c: Likewise.
2030         * stdlib/swapcontext.c: Likewise.
2031         * stdlib/system.c: Likewise.
2032         * streams/fattach.c: Likewise.
2033         * streams/fdetach.c: Likewise.
2034         * streams/getmsg.c: Likewise.
2035         * streams/getpmsg.c: Likewise.
2036         * streams/putmsg.c: Likewise.
2037         * streams/putpmsg.c: Likewise.
2038         * sysdeps/unix/bsd/getpt.c: Likewise.
2039         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2040         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2041         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2043         Likewise.
2044         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2045         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2046         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2047         * sysvipc/msgctl.c: Likewise.
2048         * sysvipc/msgget.c: Likewise.
2049         * sysvipc/msgrcv.c: Likewise.
2050         * sysvipc/msgsnd.c: Likewise.
2051         * sysvipc/semctl.c: Likewise.
2052         * sysvipc/semget.c: Likewise.
2053         * sysvipc/semop.c: Likewise.
2054         * sysvipc/semtimedop.c: Likewise.
2055         * sysvipc/shmat.c: Likewise.
2056         * sysvipc/shmctl.c: Likewise.
2057         * sysvipc/shmdt.c: Likewise.
2058         * sysvipc/shmget.c: Likewise.
2059         * termios/tcdrain.c: Likewise.
2060         * termios/tcflow.c: Likewise.
2061         * termios/tcflush.c: Likewise.
2062         * termios/tcgetattr.c: Likewise.
2063         * termios/tcgetpgrp.c: Likewise.
2064         * termios/tcsendbrk.c: Likewise.
2065         * termios/tcsetattr.c: Likewise.
2066         * termios/tcsetpgrp.c: Likewise.
2067         * time/adjtime.c: Likewise.
2068         * time/clock.c: Likewise.
2069         * time/getitimer.c: Likewise.
2070         * time/gettimeofday.c: Likewise.
2071         * time/setitimer.c: Likewise.
2072         * time/settimeofday.c: Likewise.
2073         * time/stime.c: Likewise.
2074         * time/time.c: Likewise.
2076 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2078         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2079         /usr/old/bin.
2081         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2082         instead of spaces.
2083         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2085 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2087         [BZ #14796]
2088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2089         FE_TONEAREST before applying Dekker multiplication and Knuth
2090         addition.  Clear inexact exceptions and check for exact zero
2091         results afterwards.
2092         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2093         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2095         * math/libm-test.inc (fma_test): Add more tests.
2096         (fma_test_towardzero): Likewise.
2097         (fma_test_downward): Likewise.
2098         (fma_test_upward): Likewise.
2099         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2100         function.
2101         (libc_fesetround): New macro.
2102         (libc_fesetroundf): Likewise.
2103         (libc_fesetroundl): Likewise.
2104         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2105         function.
2106         (libc_fesetround_387): Likewise.
2107         (libc_fesetroundf): New macro.
2108         (libc_fesetround): Likewise.
2109         (libc_fesetroundl): Likewise.
2110         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2111         function.
2112         (libc_fesetroundf): New macro.
2113         (libc_fesetround): Likewise.
2114         (libc_fesetroundl): Likewise.
2115         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2116         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2117         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2118         libm_hidden_ver.
2119         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2120         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2121         libm_hidden_def.
2122         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2123         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2124         libm_hidden_ver.
2125         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2126         libm_hidden_def.
2128         [BZ #3439]
2129         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2130         integer constant usable in #if and use that to give value to enum
2131         constant.
2132         (FE_DIVBYZERO): Likewise.
2133         (FE_UNDERFLOW): Likewise.
2134         (FE_OVERFLOW): Likewise.
2135         (FE_INVALID): Likewise.
2136         (FE_INVALID_SNAN): Likewise.
2137         (FE_INVALID_ISI): Likewise.
2138         (FE_INVALID_IDI): Likewise.
2139         (FE_INVALID_ZDZ): Likewise.
2140         (FE_INVALID_IMZ): Likewise.
2141         (FE_INVALID_COMPARE): Likewise.
2142         (FE_INVALID_SOFTWARE): Likewise.
2143         (FE_INVALID_SQRT): Likewise.
2144         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2145         (FE_TONEAREST): Likewise.
2146         (FE_TOWARDZERO): Likewise.
2147         (FE_UPWARD): Likewise.
2148         (FE_DOWNWARD): Likewise.
2149         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2150         (FE_DIVBYZERO): Likewise.
2151         (FE_OVERFLOW): Likewise.
2152         (FE_UNDERFLOW): Likewise.
2153         (FE_INEXACT): Likewise.
2154         (FE_TONEAREST): Likewise.
2155         (FE_DOWNWARD): Likewise.
2156         (FE_UPWARD): Likewise.
2157         (FE_TOWARDZERO): Likewise.
2158         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2159         (FE_UNDERFLOW): Likewise.
2160         (FE_OVERFLOW): Likewise.
2161         (FE_DIVBYZERO): Likewise.
2162         (FE_INVALID): Likewise.
2163         (FE_TONEAREST): Likewise.
2164         (FE_TOWARDZERO): Likewise.
2165         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2166         (FE_OVERFLOW): Likewise.
2167         (FE_UNDERFLOW): Likewise.
2168         (FE_DIVBYZERO): Likewise.
2169         (FE_INEXACT): Likewise.
2170         (FE_TONEAREST): Likewise.
2171         (FE_TOWARDZERO): Likewise.
2172         (FE_UPWARD): Likewise.
2173         (FE_DOWNWARD): Likewise.
2174         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2175         (FE_DIVBYZERO): Likewise.
2176         (FE_OVERFLOW): Likewise.
2177         (FE_UNDERFLOW): Likewise.
2178         (FE_INEXACT): Likewise.
2179         (FE_TONEAREST): Likewise.
2180         (FE_DOWNWARD): Likewise.
2181         (FE_UPWARD): Likewise.
2182         (FE_TOWARDZERO): Likewise.
2184 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2186         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2188 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2190         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2191         commands.  Quote $PWD.
2192         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2193         -x" by "export".
2194         (remove_newlines): Remove.
2196 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2198         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2199         * stdlib/stdlib.h (atof): Moved to ...
2200         * include/bits/stdlib-float.h: Here.  New file.
2201         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2202         * stdlib/bits/stdlib-float.h: New file.
2203         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2204         -mno-sse -mno-mmx.
2205         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2206         <xmmintrin.h>.
2208 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2210         * conform/conformtest.pl (@headers): Add fenv.h.
2211         * conform/data/fenv.h-data: New file.
2212         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2213         include of <math/fenv.h>.
2215         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2216         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2217         && !UNIX98].  Enables tests for XOPEN2K8.
2218         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2219         POSIX2008]: Likewise.
2221         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2222         (struct rusage): Do not expect type or its members.
2224         [BZ #3439]
2225         * math/math.h (FP_NAN): Define macro to integer constant usable in
2226         #if and use that to give value to enum constant.
2227         (FP_INFINITE): Likewise.
2228         (FP_ZERO): Likewise.
2229         (FP_SUBNORMAL): Likewise.
2230         (FP_NORMAL): Likewise.
2232 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2234         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2235         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2236         arguments.
2238 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2240         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2241         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2242         autoconf-time if not.
2243         * configure.in: Remove AC_PREREQ.
2245 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2247         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2248         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2249         of the internal implementation.
2251 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2253         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2254         except include of <misc/sys/syslog.h>.
2256 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2259         function returns with a NULL context exit with zero.
2261 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2263         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2265 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2267         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2268         (run_program_cmd): This.
2269         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2270         (tst_langinfo): New variable.  Use it.
2272 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2274         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2275         floating point opcodes.
2277 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2279         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2280         variable.
2282         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2284         * sysdeps/mach/hurd/powerpc: Remove directory.
2285         * sysdeps/mach/powerpc: Likewise.
2287 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2289         * scripts/check-local-headers.sh: Ignore c++ headers.
2291 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2293         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2294         __libc_cleanup_region_start argument.
2296 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2298         [BZ #14784]
2299         [BZ #14785]
2300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2301         x * y using scaling, not as x * y + z.
2302         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2304         * math/libm-test.inc (fma_test): Add more tests.
2305         (fma_test_towardzero): Likewise.
2306         (fma_test_downward): Likewise.
2307         (fma_test_upward): Likewise.
2309 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2311         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2313 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2315         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2316         New variable.
2318 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2320         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2322 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2325         Fix sort order.
2326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2327         Likewise.
2329 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2332         Fix the order of the list for glibc 2.17.
2333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2334         Likewise.
2336 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2340 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2342         [BZ #14610]
2343         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2344         for low part of x being zero before using __atanl (y).
2345         * math/libm-test.inc (atan2_test): Add another test.
2347         * manual/install.texi (Configuring and compiling): Document
2348         general use of test-wrapper and test-wrapper-env.
2349         * INSTALL: Regenerated.
2351         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2352         (__fma): Do not extract and scale down low bits on after-rounding
2353         systems when result rounded to normal precision would have normal
2354         exponent.
2355         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2356         (__fmal): Do not extract and scale down low bits on after-rounding
2357         systems when result rounded to normal precision would have normal
2358         exponent.
2359         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2360         (__fmal): Do not extract and scale down low bits on after-rounding
2361         systems when result rounded to normal precision would have normal
2362         exponent.
2363         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2364         macro.
2365         (fma_test): Add more tests.
2366         (fma_test_towardzero): Likewise.
2367         (fma_test_downward): Likewise.
2368         (fma_test_upward): Likewise.
2370 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2372         * sysdeps/i386/tininess.h: Renamed to ...
2373         * sysdeps/x86/tininess.h: This.
2374         * sysdeps/x86_64/tininess.h: Removed.
2376 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2378         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2379         input.  Use $(build-program-cmd).
2380         ($(objpfx)tst-array1-static.out): Likewise.
2381         ($(objpfx)tst-array2.out): Likewise.
2382         ($(objpfx)tst-array3.out): Likewise.
2383         ($(objpfx)tst-array4.out): Likewise.
2384         ($(objpfx)tst-array5.out): Likewise.
2385         ($(objpfx)tst-array5-static.out): Likewise.
2387 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2389         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2390         if defined.
2392         * nss/nsswitch.h (nss_interface_function): Provide new
2393         macro for use with NSS functions.
2394         * grp/initgroups.c: Use new macro.
2395         * nss/getXXbyYY.c: Likewise.
2396         * nss/getXXbyYY_r.c: Likewise.
2397         * nss/getXXent.c: Likewise.
2398         * nss/getXXent_r.c: Likewise.
2399         * sysdeps/posix/getaddrinfo.c: Likewise.
2401 2012-10-30  Andreas Jaeger  <aj@suse.de>
2403         * po/ru.po: Update Russion translation from translation project.
2405 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2407         [BZ #14152]
2408         [BZ #14783]
2409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2410         result and shift together with sticky bit instead of replicating
2411         round-to-nearest rounding.
2412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2414         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2415         missing underflow exceptions.
2416         (fma_test_towardzero): Add more tests.
2417         (fma_test_downward): Likewise.
2418         (fma_test_upward): Likewise.
2420         [BZ #14047]
2421         * sysdeps/generic/tininess.h: New file.
2422         * sysdeps/i386/tininess.h: Likewise.
2423         * sysdeps/sh/tininess.h: Likewise.
2424         * sysdeps/x86_64/tininess.h: Likewise.
2425         * stdlib/tst-strtod-underflow.c: Likewise.
2426         * stdlib/tst-tininess.c: Likewise.
2427         * stdlib/strtod_l.c: Include <tininess.h>.
2428         (round_and_return): Do not set errno for exact underflow cases.
2429         Force an underflow exception when setting errno for underflow.
2430         Determine underflow based on rounding to normal precision if
2431         TININESS_AFTER_ROUNDING.
2432         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2433         ERANGE for exact underflow cases.
2434         * stdlib/Makefile (tests): Add tst-tininess and
2435         tst-strtod-underflow.
2436         ($(objpfx)tst-tininess): Use $(link-libm).
2437         ($(objpfx)tst-strtod-underflow): Likewise.
2439 2012-10-30  Andreas Jaeger  <aj@suse.de>
2441         [BZ#14767]
2442         * elf/Makefile (tests): Remove conditional for have-initfini-array
2443         since this is now always required and the variable does not exist
2444         anymore.
2445         (tests-static): Likewise.
2446         (modules-names): Likewise.
2448         * po/eo.po: Add Esperanto translation from translation project.
2450         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2451         merged with constructor/destructor.
2452         (init_array): Likewise.
2453         * elf/tst-array2dep.c (fini_array): Likewise.
2454         (init_array): Likewise.
2456 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2458         * manual/message.texi: Delete @cartouche tags.
2460 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2462         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2463         EOPNOTSUPP.
2464         * sysdeps/mach/hurd/fsync.c: Likewise.
2466         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2467         [_POSIX_REALTIME_SIGNALS]: Change condition to
2468         [_POSIX_REALTIME_SIGNALS > 0].
2470 2012-10-27  Andreas Jaeger  <aj@suse.de>
2472         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2473         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2475         [__WORDSIZE != 64]: Likewise.
2477 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2479         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2480         *  iconvdata/tst-tables.sh: Likewise.
2482 2012-10-25  David S. Miller  <davem@davemloft.net>
2484         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2485         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2486         of strtoull.
2488         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2489         ifunc-impl-list.c
2490         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2491         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2492         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2493         file.
2495 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2497         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2498         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2499         __getdirentries.
2501 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2502             Jim Blandy  <jimb@codesourcery.com>
2504         * scripts/cross-test-ssh.sh: New file.
2505         * manual/install.texi (Configuring and compiling): Document use of
2506         cross-test-ssh.sh.
2507         * INSTALL: Regenerated.
2509 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2511         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2512         EOPNOTSUPP.
2514 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2516         * Makeconfig (run-program-prefix): Fix comment.
2518 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2519             Jim Blandy  <jimb@codesourcery.com>
2521         * Makeconfig (test-wrapper): New variable,
2522         (test-wrapper-env): Likewise.
2523         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2524         (run-built-tests): Define to yes.
2525         (run-program-prefix): Use $(test-wrapper).
2526         (built-program-cmd): Likewise.
2527         * Rules (make-test-out): Use $(test-wrapper-env) and
2528         $(host-built-program-cmd).
2529         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2530         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2531         tst-pathopt.sh.
2532         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2533         $(test-wrapper-env) to tst-rtld-load-self.sh.
2534         ($(objpfx)order2.out): Use $(test-wrapper).
2535         ($(objpfx)tst-initorder.out): Likewise.
2536         ($(objpfx)tst-initorder2.out): Likewise.
2537         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2538         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2539         (test_wrapper_env): New variable.  Use it to run ld.so.
2540         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2541         Use it to run ld.so.
2542         (test_wrapper_env): Likewise.
2543         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2544         $(test-wrapper) to run-iconv-test.sh.
2545         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2546         (ICONV): Use $test_wrapper.
2547         * posix/Makefile ($(objpfx)globtest.out): Pass
2548         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2549         globtest.sh, not $(run-program-prefix).
2550         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2551         (test_wrapper): Likewise.
2552         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2553         set together with run_via_rtld_prefix.
2554         (run_program_prefix): Define in terms of test_wrapper and
2555         run_via_rtld_prefix.
2557 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2559         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2560         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2561         Targets removed.
2563         [BZ #14743]
2564         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2565         Declare __clock_getres, __clock_gettime, __clock_settime,
2566         __clock_nanosleep, and __clock_getcpuclockid.
2567         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2568         Remove librt_hidden_def (clock_gettime).
2569         * sysdeps/unix/clock_gettime.c: Likewise.
2570         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2571         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2572         * rt/clock_getres.c: Define __clock_getres as an alias.
2573         * sysdeps/posix/clock_getres.c: Likewise.
2574         * rt/clock_settime.c: Define __clock_settime as an alias.
2575         * sysdeps/unix/clock_settime.c: Likewise.
2576         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2577         * sysdeps/unix/clock_nanosleep.c: Likewise.
2578         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2579         * rt/clock-compat.c: New file.
2580         * rt/Makefile (librt-routines): Add clock-compat and move
2581         $(clock-routines) to ...
2582         (routines): ... here, new variable.
2583         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2584         Don't add get_clockfreq here.
2585         * rt/Versions (libc: GLIBC_2.17): New version set.
2586         Add clock_* symbols here.
2587         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2588         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2589         (GLIBC_2.17): Add clock_* symbols.
2590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2594         Likewise.
2595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2596         Likewise.
2597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2601         * NEWS: Mention the move.
2603         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2604         Use __open, __read, __close rather than their public counterparts.
2605         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2606         (__get_clockfreq_via_cpuinfo): Likewise.
2607         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2608         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2610         * config.h.in (HAVE_IFUNC): New #undef.
2611         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2612         was successful.
2613         * configure: Regenerated.
2615 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2617         * configure.in: Move READELF check to start of file.
2618         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2619         libc_cv_asm_gnu_indirect_function in the process.
2620         * configure: Regenerated.
2622 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2624         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2625         send the output to /dev/null.
2626         (libc_cv_cc_with_libunwind): Likewise.
2627         (libc_cv_as_noexecstack): Likewise.
2628         * configure: Regenerate.
2630 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2632         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2634         * posix/globtest.sh (TMPDIR): Do not set.
2635         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2636         (testout): Likewise.
2638 2012-10-24  Andreas Jaeger  <aj@suse.de>
2640         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2641         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2642         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2643         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2644         posix_fadvise64, posix_fallocate64.
2646         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2647         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2648         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2649         Likewise.
2650         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2651         Likewise.
2652         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2654         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2655         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2656         <bits/fcntl-linux.h>.
2657         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2659         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2660         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2661         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2662         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2663         [__WORDSIZE != 64]: Likewise.
2665 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2667         * Makeconfig (run-built-tests): New variable.
2668         * Rules [$(cross-compiling) = yes]: Change condition to
2669         [$(run-built-tests) = no].
2670         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2671         to [$(run-built-tests) = yes].
2672         * elf/Makefile [$(cross-compiling) = no]: Likewise
2673         * grp/Makefile [$(cross-compiling) = no]: Likewise.
2674         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2675         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2676         * intl/Makefile [$(cross-compiling) = no]: Likewise.
2677         * io/Makefile [$(cross-compiling) = no]: Likewise.
2678         * libio/Makefile [$(cross-compiling) = no]: Likewise.
2679         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2680         * misc/Makefile [$(cross-compiling) = no]: Likewise.
2681         * posix/Makefile [$(cross-compiling) = no]: Likewise.
2682         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2683         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2684         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2685         * string/Makefile [$(cross-compiling) = no]: Likewise.
2687         * posix/Makefile ($(objpfx)globtest.out): Pass
2688         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2689         $(rtld-installed-name).
2690         * posix/globtest.sh (elf_objpfx): Remove variable.
2691         (rtld_installed_name): Likewise.
2692         (library_path): Likewise.
2693         (run_program_prefix): New variable.  Use for running globtest
2694         binary.
2696 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
2697             Joseph Myers  <joseph@codesourcery.com>
2699         * Makeconfig (host-built-program-cmd): New variable.
2700         * elf/Makefile (tst-stackguard1-ARGS): Use
2701         $(host-built-program-cmd).
2702         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2703         (tst-spawn-ARGS): Likewise.
2704         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2706 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
2707             Jim Blandy  <jimb@codesourcery.com>
2709         * Makeconfig (run-via-rtld-prefix): New variable.
2710         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2711         (built-program-cmd): Likewise.
2713 2012-10-22  Andreas Jaeger  <aj@suse.de>
2715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2716         __O_RSYNC if it exists, otherwise to O_SYNC.
2718 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
2719             Joseph Myers  <joseph@codesourcery.com>
2721         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2722         /dev/null.
2723         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2724         from /dev/null
2725         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2726         /dev/null.
2728 2012-10-22  Andreas Jaeger  <aj@suse.de>
2730         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2731         Define always.
2732         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2735         bits/fcntl-linux.h.
2737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2738         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2741         to __O_LARGEFILE.
2742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2743         to __O_LARGEFILE.
2745 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
2746             Joseph Myers  <joseph@codesourcery.com>
2748         * config.make.in (NM): New variable.
2750 2012-10-21  Andreas Jaeger  <aj@suse.de>
2752         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2753         definitions and declarations that are provided by
2754         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2756 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2758         [BZ #14683]
2759         * elf/Makefile (tests-static): Add tst-leaks1-static.
2760         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2761         ($(objpfx)tst-leaks1-static): New rule.
2762         ($(objpfx)tst-leaks1-static-mem): Likewise.
2763         (tst-leaks1-static-ENV): New macro.
2764         * elf/dl-open.c (dl_open_worker): Check the main application
2765         only if SHARED is defined.
2766         * elf/tst-leaks1-static.c: New file.
2768 2012-10-20  Andreas Jaeger  <aj@suse.de>
2770         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2771         generic values for Linux.
2772         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2773         and declarations that are provided by <bits/fcntl-linux.h> and
2774         include <bits/fcntl-linux.h>.
2775         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2776         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2778 2012-10-20  Roland McGrath  <roland@hack.frob.com>
2780         * io/fcntl.h: Move include of <bits/types.h> to the top and
2781         include it unconditionally.
2783 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
2785         * wcsmbs/Makefile (tests-ifunc): New variable.
2786         (tests): Add $(tests-ifunc).
2787         * wcsmbs/test-wcschr-ifunc.c: New file.
2788         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2789         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2790         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2791         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2792         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2794         * string/Makefile (tests-ifunc): New variable.
2795         (tests): Add $(tests-ifunc).
2796         * string/test-memccpy.c (TEST_NAME): New macro.
2797         * string/test-memchr.c (TEST_NAME): Likewise.
2798         * string/test-memcmp.c (TEST_NAME): Likewise.
2799         * string/test-memcpy.c (TEST_NAME): Likewise.
2800         * string/test-memmem.c (TEST_NAME): Likewise.
2801         * string/test-memmove.c (TEST_NAME): Likewise.
2802         * string/test-memset.c (TEST_NAME): Likewise.
2803         * string/test-rawmemchr.c (TEST_NAME): Likewise.
2804         * string/test-stpcpy.c (TEST_NAME): Likewise.
2805         * string/test-stpncpy.c (TEST_NAME): Likewise.
2806         * string/test-strcasecmp.c (TEST_NAME): Likewise.
2807         * string/test-strcasestr.c (TEST_NAME): Likewise.
2808         * string/test-strcat.c (TEST_NAME): Likewise.
2809         * string/test-strchr.c (TEST_NAME): Likewise.
2810         * string/test-strcmp.c(TEST_NAME): Likewise.
2811         * string/test-strcpy.c (TEST_NAME): Likewise.
2812         * string/test-strcspn.c (TEST_NAME): Likewise.
2813         * string/test-strlen.c (TEST_NAME): Likewise.
2814         * string/test-strncasecmp.c (TEST_NAME): Likewise.
2815         * string/test-strncmp.c (TEST_NAME): Likewise.
2816         * string/test-strncpy.c (TEST_NAME): Likewise.
2817         * string/test-strnlen.c (TEST_NAME): Likewise.
2818         * string/test-strpbrk.c (TEST_NAME): Likewise.
2819         * string/test-strrchr.c (TEST_NAME): Likewise.
2820         * string/test-strspn.c (TEST_NAME): Likewise.
2821         * string/test-strstr.c (TEST_NAME): Likewise.
2822         * string/test-bcopy-ifunc.c: New file.
2823         * string/test-bzero-ifunc.c: Likewise.
2824         * string/test-memccpy-ifunc.c: Likewise.
2825         * string/test-memchr-ifunc.c: Likewise.
2826         * string/test-memcmp-ifunc.c: Likewise.
2827         * string/test-memcpy-ifunc.c: Likewise.
2828         * string/test-memmem-ifunc.c: Likewise.
2829         * string/test-memmove-ifunc.c: Likewise.
2830         * string/test-mempcpy-ifunc.c: Likewise.
2831         * string/test-memset-ifunc.c: Likewise.
2832         * string/test-rawmemchr-ifunc.c: Likewise.
2833         * string/test-stpcpy-ifunc.c: Likewise.
2834         * string/test-stpncpy-ifunc.c: Likewise.
2835         * string/test-strcasecmp-ifunc.c: Likewise.
2836         * string/test-strcasestr-ifunc.c: Likewise.
2837         * string/test-strcat-ifunc.c: Likewise.
2838         * string/test-strchr-ifunc.c: Likewise.
2839         * string/test-strchrnul-ifunc.c: Likewise.
2840         * string/test-strcmp-ifunc.c: Likewise.
2841         * string/test-strcpy-ifunc.c: Likewise.
2842         * string/test-strcspn-ifunc.c: Likewise.
2843         * string/test-strlen-ifunc.c: Likewise.
2844         * string/test-strncasecmp-ifunc.c: Likewise.
2845         * string/test-strncat-ifunc.c: Likewise.
2846         * string/test-strncmp-ifunc.c: Likewise.
2847         * string/test-strncpy-ifunc.c: Likewise.
2848         * string/test-strnlen-ifunc.c: Likewise.
2849         * string/test-strpbrk-ifunc.c: Likewise.
2850         * string/test-strrchr-ifunc.c: Likewise.
2851         * string/test-strspn-ifunc.c: Likewise.
2852         * string/test-strstr-ifunc.c: Likewise.
2854         * debug/Makefile (tests-ifunc): New variable.
2855         (tests): Add $(tests-ifunc).
2856         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2857         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2858         * debug/test-stpcpy_chk-ifunc.c: New file.
2859         * debug/test-strcpy_chk-ifunc.c: Likewise.
2861 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2863         [BZ #13601]
2864         * elf/dl-load.c (open_verify): Retry read if the entire ELF
2865         header is not read in.
2867 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
2869         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
2870         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
2871         directly.  Pass built executable to script as
2872         $(built-program-cmd).
2873         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
2874         $testprogram without using LD_LIBRARY_PATH and $ldso.
2876         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2877         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2878         $(rtld-installed-name).
2879         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2880         (rtld_installed_name): Likewise.
2881         (library_path): Likewise.
2882         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
2883         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2884         $(run-program-prefix) to tst-tables.sh.
2885         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
2886         it to run tst-table-from and tst-table-to.
2887         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2888         Pass it to tst-table.sh.
2889         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2890         $(run-program-prefix) to tst-gettext.sh.
2891         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2892         tst-translit.sh.
2893         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2894         tst-gettext2.sh.
2895         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
2896         to run tst-gettext.
2897         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
2898         to run tst-gettext2.
2899         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
2900         to run tst-translit.
2901         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2902         $(run-program-prefix) to tst-mtrace.sh.
2903         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
2904         to run tst-mtrace.
2905         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2906         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2907         $(rtld-installed-name).
2908         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2909         (rtld_installed_name): Likewise.
2910         (run_program_prefix): New variable.  Use it to run wordexp-test.
2912         * Makeconfig (ARCH): Remove all definitions.
2913         (machine): Likewise.
2914         [ARCH]: Remove conditional code.
2915         [!objdir]: Give error.
2916         [!objdir] (objpfx): Remove.
2917         [!objdir] (common-objpfx): Likewise.
2918         [!objdir] (common-objdir): Likewise.
2919         * configure.in (config_makefile): Remove.  Hardcode Makefile in
2920         AC_CONFIG_FILES call.
2921         * configure: Regenerated.
2923         [BZ #13888]
2924         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2925         or TMPDIR.
2926         (testout): Likewise.
2928         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2929         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2930         $(rtld-installed-name).
2931         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2932         (rtld_installed_name): Likwise.
2933         (runit): Remove function.
2934         (run_getconf): New variable,  Use it for running getconf binary.
2936 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
2938         [BZ #14716]
2939         * string/test-memmem.c (check_result): New function.
2940         (do_one_test): Use it.
2941         (check1): New function.
2942         (test_main): Use it.
2944 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
2946         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2948 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
2950         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2951         (_G_LSEEK64): Likewise.
2952         (_G_MMAP64): Likewise.
2953         (_G_FSTAT64): Likewise.
2954         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2955         (_G_LSEEK64): Likewise.
2956         (_G_MMAP64): Likewise.
2957         (_G_FSTAT64): Likewise.
2958         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2959         unconditional.  Call __mmap64 directly.
2960         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2961         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
2962         __lseek64 directly.
2963         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2964         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
2965         __mmap64 directly.
2966         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2967         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2968         __lseek64 directly.
2969         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2970         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2971         __lseek64 directly.
2972         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2973         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
2974         __lseek64 directly.
2975         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2976         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
2977         __fxstat64 directly.
2978         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2979         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2980         unconditional.
2981         (freopen64) [!_G_OPEN64]: Remove conditional code.
2982         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2983         unconditional.
2984         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2985         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2986         unconditional.
2987         (ftello64) [!_G_LSEEK64]: Remove conditional code.
2988         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2989         unconditional.
2990         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2991         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2992         unconditional.
2993         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2994         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2995         unconditional.
2996         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2997         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2998         unconditional.
2999         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3000         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3001         unconditional.
3002         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3004 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3006         [BZ #12140]
3007         * manual/memory.texi (Malloc Tunable Parameters): Add note
3008         about free list pointers overwriting some perturb bytes.
3009         Wording suggested by Roland McGrath.
3011 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3013         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3014         (lgamma_test): Likewise.
3015         (tgamma_test): Likewise.
3017 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3019         [BZ #14700]
3020         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3021         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3023 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3025         * NEWS: Mention BZ #14716.
3026         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3027         when removing AVAILABLE1_USES_J macro.
3029 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3031         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3032         (__bswap_64): __uint64_t for unsigned 64-bit int.
3034 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3036         * include/string.h (memmem): Declare libc hidden alias.
3037         * string/memmem.c (memmem): Define libc hidden alias.
3038         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3039         __read, __close instead of open, read, close.
3041 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3044         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3045         global and hidden.
3046         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3047         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3048         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3049         Likewise.
3050         (__rawmemchr_sse2): Likewise.
3051         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3052         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3053         (__strchr_sse2): Likewise.
3054         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3055         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3056         (__strcasecmp_sse2): Likewise.
3057         (__strncasecmp_sse2): Likewise.
3058         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3059         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3060         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3061         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3062         (__strrchr_sse2): Likewise.
3063         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3064         ifunc-impl-list.c.
3065         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3066         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3067         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3068         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3069         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3070         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3071         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3072         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3073         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3074         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3075         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3076         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3077         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3078         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3079         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3080         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3081         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3082         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3083         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3084         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3085         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3086         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3087         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3088         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3089         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3090         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3091         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3092         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3093         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3094         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3096         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3097         global and hidden.
3098         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3099         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3100         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3101         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3102         Likewise.
3103         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3104         Likewise.
3105         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3106         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3107         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3108         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3109         ifunc-impl-list.c.
3110         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3111         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3112         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3113         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3114         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3115         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3116         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3117         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3118         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3119         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3120         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3121         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3122         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3123         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3124         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3125         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3126         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3127         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3128         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3129         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3130         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3131         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3132         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3133         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3134         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3135         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3136         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3137         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3138         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3139         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3140         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3141         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3142         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3143         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3144         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3145         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3146         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3147         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3148         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3149         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3150         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3152         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3153         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3154         * include/ifunc-impl-list.h: New file.
3155         * misc/ifunc-impl-list.c: Likewise.
3156         * misc/Makefile (routines): Add ifunc-impl-list.
3157         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3158         * string/test-string.h: Include <ifunc-impl-list.h>.
3159         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3160         impl_array): New variables.
3161         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3162         are defined.
3163         (test_init): Call __libc_ifunc_impl_list to initialize
3164         func_list if TEST_IFUNC and TEST_NAME are defined.
3166         * string/Makefile (strop-tests): Add bcopy and bzero.
3167         * string/test-bcopy.c: New file.
3168         * string/test-bzero.c: Likewise.
3169         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3170         defined.
3171         * string/test-memset.c: Support bzero test if TEST_BZERO is
3172         defined.
3173         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3174         __libc_memmove.
3175         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3176         __libc_memset.
3177         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3178         of memset.
3180 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3182         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3183         * configure: Regenerated.
3185         * Makeconfig (+link-static-before-libc): Don't include
3186         $(link-static-libc).
3188         * libio/libio.h (_IO_pos_t): Remove.
3190 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3192         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3193         McGrath.
3195 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3197         * crypt/crypt-entry.c: Include fips-private.h.
3198         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3199         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3200         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3201         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3203 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3205         * crypt/crypt-private.h: Include stdbool.h.
3206         (_ufc_setup_salt_r): Return bool.
3207         * crypt/crypt-entry.c: Include errno.h.
3208         (__crypt_r): Return NULL with EINVAL for bad salt.
3209         * crypt/crypt_util.c (bad_for_salt): New.
3210         (_ufc_setup_salt_r): Check that salt is long enough and within
3211         the specified alphabet.
3212         * crypt/badsalttest.c: New file.
3213         * crypt/Makefile (tests): Add it.
3214         ($(objpfx)badsalttest): New.
3216 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3218         * NEWS: Add entry for BZ #14602.
3220 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3222         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3223         type-generic.
3224         * math/libm-test.inc: Update comment listing what functions and
3225         macros are tested.
3226         (isgreater_test): New function.
3227         (isgreaterequal_test): Likewise.
3228         (isless_test): Likewise.
3229         (islessequal_test): Likewise.
3230         (islessgreater_test): Likewise.
3231         (isunordered_test): Likewise.
3232         (main): Call the new functions.
3234 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3236         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3237         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3238         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3239         * sysdeps/i386/configure: Regenerated.
3240         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3241         * sysdeps/mach/configure: Regenerated.
3242         * sysdeps/mach/hurd/configure: Regenerated.
3243         * sysdeps/powerpc/configure: Regenerated.
3244         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3245         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3246         * sysdeps/s390/s390-32/configure: Regenerated.
3247         * sysdeps/s390/s390-64/configure: Regenerated.
3248         * sysdeps/sh/configure: Regenerated.
3249         * sysdeps/sparc/configure: Regenerated.
3250         * sysdeps/unix/sysv/linux/configure: Regenerated.
3251         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3252         * sysdeps/x86_64/configure: Regenerated.
3254         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3255         defined.  Don't check if MAP is NULL.
3257 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3259         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3260         (_G_stat64): Likewise.
3261         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3262         (_G_stat64): Likewise.
3263         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3264         instead of struct _G_stat64.
3265         * libio/fileops.c (mmap_remap_check): Likewise.
3266         (decide_maybe_mmap): Likewise.
3267         (_IO_new_file_seekoff): Likewise.
3268         (_IO_file_stat): Likewise.
3269         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3270         _G_off64_t.
3271         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3272         instead of struct _G_stat64.
3273         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3275 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3277         [BZ #14602]
3278         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3279         Replace with ...
3280         (CHECK_EOL): New macro.
3281         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3282         CHECK_EOL.
3283         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3284         Replace with CHECK_EOL.
3285         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3286         Replace with CHECK_EOL.
3288 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3290         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3291         type-generic.
3292         * math/libm-test.inc: Update comment listing what functions and
3293         macros are tested.
3294         (finite_test): New function.
3295         (isinf_test): Likewise.
3296         (isnan_test): Likewise.
3297         (fpclassify_test): Test subnormal input.
3298         (isfinite_test): Likewise.
3299         (isnormal_test): Likewise.
3300         (main): Call the new functions.
3302 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3304         [BZ #14660]
3305         * Makerules (%.dynsym): Force C locale when running
3306         $(OBJDUMP) --dynamic-syms.
3308 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3310         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3311         <stdint.h>.
3313 2012-10-06  David S. Miller  <davem@davemloft.net>
3315         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3316         upper 32-bits of the length value in %o2 since we use branch-on-register
3317         tests which consider the entire 64-bit register.
3319 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3321         * string/test-strstr.c (check2): Add a test for page boundary.
3323 2012-10-05  David S. Miller  <davem@davemloft.net>
3325         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3326         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3327         file.
3328         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3329         sysdep_routines.
3330         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3331         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3332         and bzero when HWCAP_SPARC_CRYPTO is present.
3334 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3336         [BZ #14602]
3337         * string/test-strstr.c (check2): New function.
3338         (test_main): Call check2.
3340         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3341         and bug-strchr1.
3342         * string/bug-strcasestr1.c (do_test): Moved to ...
3343         * string/test-strcasestr.c (check1): Here.  New function.
3344         (do_one_test): Break out result checking code into ...
3345         (check_result): This.  New function.
3346         (do_one_test): Call check_result.
3347         (test_main): Call check1.
3348         * string/bug-strchr1.c (do_test): Moved to ...
3349         * string/test-strchr.c (check1): Here.  New function.
3350         (do_one_test): Break out result checking code into ...
3351         (check_result): This.  New function.
3352         (do_one_test): Call check_result.
3353         (test_main): Call check1.
3354         * string/bug-strstr1.c (main): Moved to ...
3355         * string/test-strchr.c (check1): Here.  New function.
3356         (do_one_test): Break out result checking code into ...
3357         (check_result): This.  New function.
3358         (do_one_test): Call check_result.
3359         (test_main): Call check1.
3360         * string/bug-strcasestr1.c: Removed.
3361         * string/bug-strchr1.c: Likewise.
3362         * string/bug-strstr1.c: Likewise.
3364         * elf/Makefile (dl-routines): Add hwcaps.
3365         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3366         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3367         (_dl_important_hwcaps): Moved to ...
3368         * elf/dl-hwcaps.c: Here.  New file.
3369         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3371         [BZ #14557]
3372         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3373         if IS_IN_rtld isn't defined.
3375         * elf/dl-support.c (_dl_sysinfo_map): New.
3376         Include "get-dynamic-info.h" and "setup-vdso.h".
3377         (_dl_non_dynamic_init): Call setup_vdso.
3378         * elf/dynamic-link.h: Don't include <assert.h>.
3379         (elf_get_dynamic_info): Moved to ...
3380         * elf/get-dynamic-info.h: Here.  New file.
3381         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3382         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3383         * elf/setup-vdso.h: Here.  New file.
3384         * elf/rtld.c: Include "setup-vdso.h".
3385         (dl_main): Call setup_vdso.
3387 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3389         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3390         creal in comment listing functions tested.  List finite, isinf,
3391         isnan, isless, islessequal, isgreater, isgreaterequal,
3392         islessgreater, isunordered, lgamma_r and pow10 as functions and
3393         macros not tested.  Mention which functions not tested are aliases
3394         for other functions.  Fix typo.  Note that signs of NaNs are not
3395         tested.
3397         * scripts/config.guess: Update from config.git.
3398         * scripts/config.sub: Likewise.
3400 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3402         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3403         * misc/madvise.c (madvise): Renamed to __madvise.
3404         Make madvise a weak alias.
3405         * include/sys/mman.h: Declare __madvise.
3406         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3407         * sysdeps/unix/syscalls.list
3408         (madvise): Make __madvise the strong name, and madvise a weak alias.
3409         * sysdeps/unix/sysv/linux/syscalls.list
3410         (madvise, mmap): Remove redundant entries.
3411         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3412         * malloc/malloc.c (mtrim): Likewise.
3413         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3415 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3417         * sysdeps/mach/hurd/dl-cache.c: File removed.
3418         * config.h.in (USE_LDCONFIG): New #undef.
3419         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3420         * configure: Regenerated.
3421         * elf/Makefile (dl-routines): Add dl-cache only under
3422         [$(use-ldconfig) = yes].
3423         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3424         cache on [USE_LDCONFIG].
3425         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3426         [USE_LDCONFIG].
3427         * elf/rtld.c (dl_main): Likewise.
3429 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3431         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3432         _SC_LEVEL4_CACHE_LINESIZE.
3434 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3436         * sysdeps/unix/bsd/confstr.h: File removed.
3438 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3440         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3441         sys/sdt-config.h.
3443 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3445         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3446         Make 'mapoff' field ElfW(Off) rather than off_t.
3448 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3450         * nscd/Makefile: Remove nscd-cflags and all its users.
3451         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3452         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3454         [BZ #10631]
3455         * malloc.c (malloc_printerr): Clarify error message.
3457 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3459         [BZ #14648]
3460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3461         Set bit_FMA_Usable if FMA is supported.
3462         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3463         macro.
3464         (bit_FMA4_Usable): Updated.
3465         (index_FMA_Usable): New macro.
3466         (CPUID_FMA): Likewise
3467         (HAS_FMA): Defined with bit_FMA_Usable.
3469 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3471         * bits/types.h (__swblk_t): Type removed.
3472         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3473         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3475         (__SWBLK_T_TYPE): Likewise.
3476         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3477         (__SWBLK_T_TYPE): Likewise.
3478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3479         (__SWBLK_T_TYPE): Likewise.
3480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3481         (__SWBLK_T_TYPE): Likewise.
3483 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3484             Honza Horak <hhorak@redhat.com>
3486         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3487         (xdr_mapname): Use YPMAXMAP as maxsize.
3488         (xdr_peername): Use YPMAXPEER as maxsize.
3489         (xdr_keydat): Use YPAXRECORD as maxsize.
3490         (xdr_valdat): Use YPMAXRECORD as maxsize.
3492 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3494         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3496         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3497         * csu/init-first.c: ... here.
3498         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3499         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3500         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3501         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3502         * sysdeps/i386/init-first.c: File removed.
3503         * sysdeps/sh/init-first.c: File removed.
3505 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3507         [BZ #14645]
3508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3509         if x * y might underflow to zero and z is zero.
3510         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3511         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3512         * math/libm-test.inc (min_subnorm_value): New variable.
3513         (fma_test): Add more tests.
3514         (fma_test_towardzero): Likewise.
3515         (fma_test_downward): Likewise
3516         (fma_test_upward): Likewise.
3517         (initialize): Set min_subnorm_value.
3519 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3521         [BZ #14638]
3522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3523         0 + 0.
3524         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3525         mode for addition resulting in exact zero.
3526         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3528         exact 0 + 0.
3529         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3530         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3531         * math/libm-test.inc (fma_test): Add more tests.
3532         (fma_test_towardzero): New function.
3533         (fma_test_downward): Likewise.
3534         (fma_test_upward): Likewise.
3535         (main): Call the new functions.
3537 2012-09-28  David S. Miller  <davem@davemloft.net>
3539         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3541 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3543         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3544         instead of SIGALRM.
3546         * sysdeps/gnu/_G_config.h: Moved to ...
3547         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3548         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3549         * sysdeps/generic/_G_config.h: ... here.
3551         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3553         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3555         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3556         Conditionalize target on [libnss_test1.so-version].
3558         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3560         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3561         (elfobjdir): Move out of conditionals.
3563         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3564         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3565         (__nss_lookup_function): Conditionalize label remove_from_tree on
3566         [!DO_STATIC_NSS || SHARED], matching its only use.
3568 2012-09-28  David S. Miller  <davem@davemloft.net>
3570         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3571         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3572         file.
3573         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3574         sysdep_routines.
3575         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3576         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3577         when HWCAP_SPARC_CRYPTO is present.
3579 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3581         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3583 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3585         [BZ #6530]
3586         * stdio-common/vfprintf.c (process_string_arg): Revert
3587         2000-07-22 change.
3589 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3591         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3592         for testcase.
3593         * stdio-common/tst-sprintf.c: Include <locale.h>
3594         (main): Test sprintf's handling of incomplete multibyte
3595         characters.
3597 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3599         * elf/dl-runtime.c (VERSYMIDX): Removed.
3600         * elf/dl-version.c (VERSYMIDX): Likewise.
3601         * elf/do-rel.h (VERSYMIDX): Likewise.
3602         (VALIDX): Likewise.
3603         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3604         * elf/rtld.c (VALIDX): Likewise.
3605         (ADDRIDX): Likewise.
3606         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3607         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3608         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3609         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3610         (VALIDX): Likewise.
3611         (ADDRIDX): Likewise.
3613 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3615         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3617 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3619         [BZ #11438]
3620         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3621         to global scope.
3622         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3623         addresses are in the same scope as 192.0.2/24.
3624         * posix/gai.conf: Document new scope table defaults.
3626 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3628         [BZ #5298]
3629         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3630         for ftell.  Compute offsets from write pointers instead.
3631         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3633 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3635         [BZ #14543]
3636         * libio/Makefile (tests): New test case tst-fseek.
3637         * libio/tst-fseek.c: New test case to verify that fseek/ftell
3638         combination works in wide mode.
3639         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3640         state when the external buffer state changes.
3642 2012-09-27  David S. Miller  <davem@davemloft.net>
3644         [BZ #14376]
3645         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3646         pass reloc->r_addend in as the 'high' argument to
3647         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3651 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3653         * rt/tst-aio2.c: Include <pthread.h>.
3654         * rt/tst-aio3.c: Likewise.
3656 2012-09-27  Steve Ellcey  <sellcey@mips.com>
3658         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3660 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3662         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3663         contents on [SHARED].
3665 2012-09-26  Marek Polacek  <polacek@redhat.com>
3667         [BZ #14530]
3668         [BZ #13741]
3669         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3670         for C++ and GCC <4.3 as well as for non GCC compilers.
3672 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3676 2012-09-25  Roland McGrath  <roland@hack.frob.com>
3678         * Makefile.in (all, install): Declare with .PHONY.
3679         Reported by Michael Hope <michael.hope@linaro.org>.
3681 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3683         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3684         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3685         system header.
3686         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3687         Likewise.
3688         (sydep_routines): Add the new and the internal functions.
3689         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3690         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3692         (GLIBC_2.17): Add the new function.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3694         (GLIBC_2.17): Likewise.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3696         (GLIBC_2.17): Likewise.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3698         (GLIBC_2.17): Likewise.
3699         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3701 2012-09-25  Alan Modra  <amodra@gmail.com>
3703         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3704         Add release barrier before setting once_control to say
3705         initialisation is done.  Add hints on lwarx.  Use macro in
3706         place of isync.
3707         (clear_once_control): Add release barrier.
3709 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3711         [BZ #13629]
3712         * math/s_clog.c (__clog): Handle more values close to |z| = 1
3713         specially.
3714         * math/s_clog10.c (__clog10): Likewise.
3715         * math/s_clog10f.c (__clog10f): Likewise.
3716         * math/s_clog10l.c (__clog10l): Likewise.
3717         * math/s_clogf.c (__clogf): Likewise.
3718         * math/s_clogl.c (__clogl): Likewise.
3719         * math/Makefile (libm-calls): Add x2y2m1.
3720         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3721         (__x2y2m1): Likewise.
3722         (__x2y2m1l): Likewise.
3723         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3724         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3725         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3726         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3727         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3728         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3729         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3730         * sysdeps/i386/fpu/libm-test-ulps: Update.
3731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3733         [BZ #14621]
3734         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3735         int as type of variable DEPTH.
3736         (glob): Use size_t instead of int as type of variables NEWCOUNT
3737         and OLD_PATHC.
3739 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3741         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3742         Add s_sincosf-sse2.
3743         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3744         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3745         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3746         macros for using routine as __sincosf_ia32.
3747         Use macro for function declaration and weak_alias.
3748         * sysdeps/i386/fpu/libm-test-ulps: Update.
3750         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3753         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3754         subnormal argument.
3755         * math/s_cexpf.c (__cexpf): Likewise.
3756         * math/s_csinf.c (__csinf): Likewise.
3757         * math/s_csinhf.c (__csinhf): Likewise.
3758         * math/s_ctanf.c (__ctanf): Likewise.
3759         * math/s_ctanhf.c (__ctanhf): Likewise.
3760         * math/s_ccosh.c (__ccoshf): Likewise.
3761         * math/s_cexp.c (__cexpl): Likewise.
3762         * math/s_csin.c (__csin): Likewise.
3763         * math/s_csinh.c (__csinh): Likewise.
3764         * math/s_ctan.c (__ctan): Likewise.
3765         * math/s_ctanh.c (ctanh): Likewise.
3766         * math/s_ccoshl.c (__ccoshl): Likewise.
3767         * math/s_cexpl.c (__cexpl): Likewise.
3768         * math/s_csinl.c (__csinl): Likewise.
3769         * math/s_csinhl.c (__csinhl): Likewise.
3770         * math/s_ctanl.c (__ctanl): Likewise.
3771         * math/s_ctanhl.c (__ctanhl): Likewise.
3773 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
3775         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3776         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3777         (_IO_off_t): Define to __off_t, not _G_off_t.
3778         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3779         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3780         (_IO_wint_t): Define to wint_t, not _G_wint_t.
3781         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3782         type of __dummy and __dummy2 fields.
3783         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3784         (_G_ssize_t): Likewise.
3785         (_G_off_t): Likewise.
3786         (_G_pid_t): Likewise.
3787         (_G_uid_t): Likewise.
3788         (_G_wchar_t): Likewise.
3789         (_G_wint_t): Likewise.
3790         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3791         (_G_ssize_t): Likewise.
3792         (_G_off_t): Likewise.
3793         (_G_pid_t): Likewise.
3794         (_G_uid_t): Likewise.
3795         (_G_wchar_t): Likewise.
3796         (_G_wint_t): Likewise.
3797         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3798         (_G_ssize_t): Likewise.
3799         (_G_off_t): Likewise.
3800         (_G_pid_t): Likewise.
3801         (_G_uid_t): Likewise.
3802         (_G_wchar_t): Likewise.
3803         (_G_wint_t): Likewise.
3805 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3807         * malloc/arena.c: Include malloc-sysdep.h.
3808         (shrink_heap): Use check_may_shrink_heap to decide if madvise
3809         is sufficient to shrink the heap or an unmap is needed.
3810         * sysdeps/generic/malloc-sysdep.h: New file.  Define
3811         new function check_may_shrink_heap.
3812         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
3813         new function check_may_shrink_heap.
3815 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3817         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3818         comments.
3820 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
3822         * catgets/test-gencat.sh: Add "set -e".
3823         * elf/tst-pathopt.sh: Likewise.
3824         * grp/tst_fgetgrent.sh: Likewise.
3825         * iconvdata/run-iconv-test.sh: Likewise.
3826         * intl/tst-gettext.sh: Likewise.
3827         * intl/tst-gettext2.sh: Likewise.
3828         * intl/tst-gettext4.sh: Likewise.
3829         * intl/tst-gettext6.sh: Likewise.
3830         * intl/tst-translit.sh: Likewise.
3831         * io/ftwtest-sh: Likewise.
3832         * libio/test-freopen.sh: Likewise.
3833         * malloc/tst-mtrace.sh: Likewise.
3834         * posix/globtest.sh: Likewise.
3835         * posix/tst-getconf.sh: Likewise.
3836         * posix/wordexp-tst.sh: Likewise.
3837         * stdio-common/tst-printf.sh: Likewise.
3838         * stdio-common/tst-unbputc.sh: Likewise.
3839         * stdlib/tst-fmtmsg.sh: Likewise.
3840         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3841         * catgets/Makefile: Do not specify -e option when running
3842         testsuite shell scripts.
3843         * elf/Makefile: Likewise.
3844         * grp/Makefile: Likewise.
3845         * iconvdata/Makefile: Likewise.
3846         * intl/Makefile: Likewise.
3847         * io/Makefile: Likewise.
3848         * libio/Makefile: Likewise.
3849         * malloc/Makefile: Likewise.
3850         * posix/Makefile: Likewise.
3851         * stdio-common/Makefile: Likewise.
3852         * stdlib/Makefile: Likewise.
3853         * sysdeps/x86_64/Makefile: Likewise.
3855         * io/ftwtest-sh: Add copyright header.
3856         * posix/globtest.sh: Likewise.
3857         * posix/tst-getconf.sh: Likewise.
3858         * posix/wordexp-tst.sh: Likewise.
3859         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3861 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
3863         [BZ #13679]
3864         * Makeconfig (+link): Defined as $(+link-static) if
3865         $(build-shared) isn't yes.
3866         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3867         isn't yes.
3868         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3870         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3872         [BZ #14562]
3873         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3874         new chunk size with MALLOC_ALIGN_MASK.
3876 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
3878         [BZ #5044]
3879         * stdio-common/printf_fphex.c: Include <stdbool.h> and
3880         <rounding-mode.h>.
3881         (__printf_fphex): Determine rounding using get_rounding_mode and
3882         round_away.
3883         * stdio-common/tst-printf-round.c (struct hex_test): New
3884         structure.
3885         (hex_tests): New variable.
3886         (test_hex_in_one_mode): New function.
3887         (do_test): Also run tests for hex float output.
3889 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
3891         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3892         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3893         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3894         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3895         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3896         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3897         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3898         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3900 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
3902         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3903         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3904         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3905         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3907 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
3909         [BZ #14579]
3910         * elf/rtld.c (dl_main): Limit the check for self loading to normal
3911         mode only.
3912         * elf/tst-rtld-load-self.sh: New test.
3913         * elf/Makefile: Run it.
3915 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
3917         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3918         (tst-writev-ENV): Remove.
3919         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3921 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
3923         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3925 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
3927         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3928         unconditional.
3929         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3930         Likewise.
3931         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3932         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3933         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3934         Likewise.
3936 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3938         [BZ #14587]
3939         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3940         * config.make.in (have-cpp-asm-debuginfo): Removed.
3941         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3942         * configure: Regenerated.
3944 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
3946         [BZ #5044]
3947         * stdio-common/printf_fp.c: Include <stdbool.h> and
3948         <rounding-mode.h>.
3949         (___printf_fp): Determine rounding using get_rounding_mode and
3950         round_away.
3951         * stdio-common/tst-printf-round.c: New file.
3952         * stdio-common/Makefile (tests): Add tst-printf-round.
3953         (link-libm): New variable.
3954         ($(objpfx)tst-printf-round): Depend in $(link-libm).
3956 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
3958         [BZ #14576]
3959         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3960         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3961         Likewise.
3962         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3963         Likewise.
3965 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
3967         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3968         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3969         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3970         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3972 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
3974         [BZ #14518]
3975         * include/rounding-mode.h: New file.
3976         * sysdeps/generic/get-rounding-mode.h: Likewise.
3977         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3978         * stdlib/strtod_l.c: Include <rounding-mode.h>.
3979         (MAX_VALUE): New macro.
3980         (MIN_VALUE): Likewise.
3981         (overflow_value): New function.
3982         (underflow_value): Likewise.
3983         (round_and_return): Use overflow_value and underflow_value to
3984         determine return values in overflow and underflow cases.  Use
3985         round_away to determine rounding depending on rounding mode.
3986         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3987         determine return values in overflow and underflow cases.
3988         * stdlib/tst-strtod-round.c: Include <fenv.h>.
3989         (struct test_results): New structure.
3990         (struct test): Use struct test_results to store expected results
3991         for all rounding modes.
3992         (TEST): Include expected results for all rounding modes.
3993         (test_in_one_mode): New function.
3994         (do_test): Use test_in_one_mode to compute and check results.
3995         Check results for all rounding modes.
3996         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3997         $(link-libm).
3999 2012-12-09  Allan McRae  <allan@archlinux.org>
4001         * sysdeps/i386/fpu/libm-test-ulps: Update
4003 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4005         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4006         (_G_int32_t): Likewise.
4007         (_G_uint16_t): Likewise.
4008         (_G_uint32_t): Likewise.
4009         (_G_HAVE_BOOL): Likewise.
4010         (_G_HAVE_ATEXIT): Likewise.
4011         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4012         (_G_HAVE_IO_FILE_OPEN): Likewise.
4013         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4014         (_G_int32_t): Likewise.
4015         (_G_uint16_t): Likewise.
4016         (_G_uint32_t): Likewise.
4017         (_G_HAVE_BOOL): Likewise.
4018         (_G_HAVE_ATEXIT): Likewise.
4019         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4020         (_G_HAVE_IO_FILE_OPEN): Likewise.
4021         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4022         (_G_int32_t): Likewise.
4023         (_G_uint16_t): Likewise.
4024         (_G_uint32_t): Likewise.
4025         (_G_HAVE_BOOL): Likewise.
4026         (_G_HAVE_ATEXIT): Likewise.
4027         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4028         (_G_HAVE_IO_FILE_OPEN): Likewise.
4030 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4032         * csu/libc-tls.c: Update copyright years.
4034 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4036         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4037         [!_G_USING_THUNKS]: Remove conditional code.
4038         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4039         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4041         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4042         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4043         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4044         (_G_VTABLE_LABEL_PREFIX): Likewise.
4045         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4046         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4047         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4048         (_G_VTABLE_LABEL_PREFIX): Likewise.
4049         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4050         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4051         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4052         (_G_VTABLE_LABEL_PREFIX): Likewise.
4053         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4055 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4057         * libio/Makefile: Include ../Makeconfig before tests.
4058         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4059         only if $(build-shared) is yes.
4061         * iconv/gconv_db.c: Update copyright years.
4063 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4065         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4066         unwind info if defined PIC. Fix special cases description.
4067         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4069         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4070         DP_HI_MASK entry.
4071         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4073 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4075         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4077         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4078         is NULL.
4080         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4081         (LDLIBS-tst-chk4): This.
4082         (LDFLAGS-tst-chk5): Renamed to ...
4083         (LDLIBS-tst-chk5): This.
4084         (LDFLAGS-tst-chk6): Renamed to ...
4085         (LDLIBS-tst-chk6): This.
4086         (LDFLAGS-tst-lfschk4): Renamed to ...
4087         (LDLIBS-tst-lfschk4): This.
4088         (LDFLAGS-tst-lfschk5): Renamed to ...
4089         (LDLIBS-tst-lfschk5): This.
4090         (LDFLAGS-tst-lfschk6): Renamed to ...
4091         (LDLIBS-tst-lfschk6): This.
4093         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4094         on $(common-objpfx)soversions.mk.
4096 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4098         [BZ #10014]
4099         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4100         example host name.
4102 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4104         * malloc/arena.c (arena_get_retry): New function that gets
4105         another arena for the caller to try its request on.
4106         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4107         current arena cannot fulfill the request.
4108         (__libc_memalign): Likewise.
4109         (__libc_memalign): Likewise.
4110         (__libc_pvalloc): Likewise.
4111         (__libc_calloc): Likewise.
4113 2012-09-05  John Tobey  <john.tobey@gmail.com>
4115         [BZ #13542]
4116         * manual/arith.texi (Operations on Complex): Fix description
4117         of carg branch cut.
4119 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4121         [BZ #10014]
4122         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4123         host name.
4125         [BZ #10038]
4126         * manual/memory.texi (Memory): Make order of menu items match
4127         order of sections.
4129 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4131         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4132         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4133         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4135 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4137         * csu/libc-tls.c (static_dtv): Renamed to ...
4138         (_dl_static_dtv): This.  Make it global.
4139         (_dl_initial_dtv): Removed.
4140         (__libc_setup_tls): Updated.
4141         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4142         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4143         DL_INITIAL_DTV.
4145 2012-09-06  Petr Machata  <pmachata@redhat.com>
4147         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4148         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4149         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4150         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4152 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4154         [BZ #14545]
4155         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4156         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4157         freeing dtv[-1].
4159 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4161         [BZ #14544]
4162         * Makeconfig (link-static-before-libc): Replace $(+prector)
4163         with $(+prectorT).
4164         (link-static-after-libc): Replace $(+postctor) with
4165         $(+postctorT).
4166         (link-bounded): Replace $(+prector)/$(+postctor) with
4167         $(+prectorT)/$(+postctorT).
4168         (+prectorT): New macro.
4169         (+postctorT): Likewise.
4171 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4173         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4174         (round_str): Handle values above the maximum for IBM long double
4175         as inexact.
4176         * stdlib/tst-strtod-round.c (tests): Regenerated.
4178 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4180         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4181         assembler flag.
4182         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4183         zarch_nohighgprs around the zarch optimized routines.
4184         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4185         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4187         for zarch.
4189 2012-09-05  David S. Miller  <davem@davemloft.net>
4191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4193         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4194         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4195         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4196         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4197         entries.
4199 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4201         * malloc/arena.c: Fold copyright years.
4202         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4204 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4206         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4208 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4210         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4212 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4214         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4215         change internal state upon failure.
4217 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4219         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4220         * malloc/memusage.c (mmap): Likewise.
4221         (mmap64, mremap): Likewise.  Adjust name in comment.
4223 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4225         * libio/fileops.c: Fix typos in comments.
4226         * libio/oldfileops.c: Likewise.
4227         * libio/wfileops.c: Likewise.
4229 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4231         [BZ #1349]
4232         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4233         (tst-malloc-usable-ENV): Set environment for test case.
4234         * malloc/hooks.c (malloc_check_get_size): New function to get
4235         requested size.
4236         * malloc/malloc.c (musable): Use malloc_check_get_size.
4237         * malloc/tst-malloc-usable.c: New test case.
4239 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4241         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4243 2012-09-05  Allan McRae  <allan@archlinux.org>
4245         [BZ #13966]
4246         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4247         determine header location.
4248         * configure: Regenerated.
4250 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4252         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4253         float format.
4254         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4255         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4256         format.
4257         (test): Regenerate.
4259 2012-09-04  David S. Miller  <davem@davemloft.net>
4261         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4262         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4263         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4265 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4267         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4268         failures.
4270         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4272 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4274         [BZ #9914]
4275         * libio/iogetdelim.c: Include <limits.h>.
4276         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4277         + len + 1 would overflow.
4279 2012-09-03  Andreas Jaeger  <aj@suse.de>
4281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4282         * sysdeps/i386/fpu/libm-test-ulps: Update.
4284 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4286         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4287         Add s_sinf-sse2, s_conf-sse2.
4289         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4290         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4291         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4292         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4294         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4295         for using routine as __sinf_ia32.
4296         Use macro for function declaration and weak_alias.
4297         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4298         for using routine as __cosf_ia32.
4299         Use macro for function declaration and weak_alias.
4301         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4302         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4304         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4305         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4308         * math/libm-test.inc (cos_test): Add more test cases.
4309         (sin_test): Likewise.
4310         (sincos_test): Likewise.
4312 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4314         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4315         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4316         hidden.
4317         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4319 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4321         [BZ #14538]
4322         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4323         first element of the GOT.
4324         (elf_machine_load_address): Return the difference between
4325         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4327 2012-09-01  Allan McRae  <allan@archlinux.org>
4329         [BZ #13412]
4330         * configure.in (AWK): Require gawk version 3.0 or later.
4331         * configure: Regenerated.
4333 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4335         * sysdeps/unix/sysv/linux/kernel-features.h
4336         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4338         [__NR_clock_getres]: Make code unconditional.
4339         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4340         (clock_getcpuclockid): Remove code left unreachable by removal of
4341         conditionals.
4342         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4343         code unconditional.
4344         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4345         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4346         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4347         Make code unconditional.
4348         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4349         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4350         * sysdeps/unix/sysv/linux/clock_settime.c
4351         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4352         conditional code.
4353         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4354         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4356 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4358         [BZ #14476]
4359         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4360         scripts/test-installation.pl.
4362         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4363         and $ld_so_version if it is set.
4365 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4367         [BZ #14516]
4368         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4369         failure if reading from procfs failed.
4370         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4372 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4374         * sysdeps/unix/sysv/linux/kernel-features.h
4375         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4376         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4377         Remove conditional code.
4378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4379         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4380         Remove conditional code.
4381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4382         * sysdeps/unix/sysv/linux/i386/fxstat.c
4383         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4384         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4385         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4386         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4387         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4388         * sysdeps/unix/sysv/linux/i386/lxstat.c
4389         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4391         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4392         Remove conditional code.
4393         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4394         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4395         Remove conditional code.
4396         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4397         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4398         <kernel-features.h>.
4399         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4400         Remove.
4401         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4402         Remove conditional code.
4403         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4404         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4405         Remove conditional.
4407 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4409         [BZ #5400]
4410         * NEWS: Add fixed bug number.
4412 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4414         [BZ #14519]
4415         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4416         underflowing exponent in case of negative sign.
4417         * stdlib/tst-strtod-round-data: Add more tests.
4418         * stdlib/tst-strtod-round.c (tests): Regenerated.
4420         [BZ #3479]
4421         * stdlib/strtod_l.c (NDIG): Remove.
4422         (HEXNDIG): Likewise.
4423         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4424         smallest representable value.
4425         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4426         lie within an exact representation of 1/2 ulp of the result.
4427         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4428         unconditionally.
4429         (TENS_P9_IDX): Define unconditionally.
4430         (TENS_P9_SIZE): Likewise.
4431         (TENS_P10_IDX): Likewise.
4432         (TENS_P10_SIZE): Likewise.
4433         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4434         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4435         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4436         entries for 10^2^13 and 10^2^14.
4437         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4438         (TENS_P13_IDX): Define.
4439         (TENS_P13_SIZE): Likewise.
4440         (TENS_P14_IDX): Likewise.
4441         (TENS_P14_SIZE): Likewise.
4442         (_fpioconst_pow10): Change array size to
4443         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4444         unconditional.
4445         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4446         1024]: Add entries for 10^2^13 and 10^2^14.
4447         [LAST_POW10 > _LAST_POW10]: Remove #error.
4448         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4449         (_fpioconst_pow10): Change array size to
4450         FPIOCONST_POW10_ARRAY_SIZE.
4451         * stdlib/gen-fpioconst.c: New file.
4452         * stdlib/gen-tst-strtod-round.c: Likewise.
4453         * stdlib/tst-strtod-round-data: Likewise.
4454         * stdlib/tst-strtod-round.c: Likewise.
4455         * stdlib/Makefile (tests): Add tst-strtod-round.
4457         [BZ #14459]
4458         * stdlib/strtod_l.c: Include <stdint.h>.
4459         (NDEBUG): Do not define.
4460         (round_and_return): Change EXPONENT parameter to type intmax_t.
4461         Rearrange calculations to avoid internal overflow possibilities.
4462         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4463         Rearrange calculations to avoid internal overflow possibilities.
4464         Assert that number fits inside MPNSIZE limbs.
4465         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4466         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4467         calculations and add assertions to avoid internal overflow
4468         possibilities.  Add casts to avoid signed/unsigned operations.
4469         * stdlib/tst-strtod-overflow.c: New file.
4470         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4472 2012-08-25  Marek Polacek  <polacek@redhat.com>
4474         * time/time.h: Fix some typos in comments.
4476 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4478         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4479         * posix/tst-rfc3484-2.c: Likewise.
4480         * posix/tst-rfc3484-3.c: Likewise.
4482 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4484         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4485         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4487 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4489         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4490         #include of fxstatat64.c.
4492 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4494         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4495         * shadow/getspent_r.c: Likewise.
4496         * shadow/getspnam.c: Likewise.
4497         * shadow/getspnam_r.c: Likewise.
4498         * gshadow/getsgent.c: Likewise.
4499         * gshadow/getsgent_r.c: Likewise.
4500         * gshadow/getsgnam.c: Likewise.
4501         * gshadow/getsgnam_r.c: Likewise.
4502         * inet/getnetbyad.c: Likewise.
4503         * inet/getnetbyad_r.c: Likewise.
4504         * inet/getnetbynm.c: Likewise.
4505         * inet/getnetbynm_r.c: Likewise.
4506         * inet/getnetent.c: Likewise.
4507         * inet/getnetent_r.c: Likewise.
4508         * inet/getproto.c: Likewise.
4509         * inet/getproto_r.c: Likewise.
4510         * inet/getprtent.c: Likewise.
4511         * inet/getprtent_r.c: Likewise.
4512         * inet/getprtname.c: Likewise.
4513         * inet/getprtname_r.c: Likewise.
4514         * inet/getrpcbyname.c: Likewise.
4515         * inet/getrpcbyname_r.c: Likewise.
4516         * inet/getrpcbynumber.c: Likewise.
4517         * inet/getrpcbynumber_r.c: Likewise.
4518         * inet/getrpcent.c: Likewise.
4519         * inet/getrpcent_r.c: Likewise.
4520         * inet/getaliasent.c: Likewise.
4521         * inet/getaliasent_r.c: Likewise.
4522         * inet/getaliasname.c: Likewise.
4523         * inet/getaliasname_r.c: Likewise.
4524         * nscd/getgrgid_r.c: Likewise.
4525         * nscd/getgrnam_r.c: Likewise.
4526         * nscd/gethstbyad_r.c: Likewise.
4527         * nscd/gethstbynm3_r.c: Likewise.
4528         * nscd/getpwnam_r.c: Likewise.
4529         * nscd/getpwuid_r.c: Likewise.
4530         * nscd/getsrvbynm_r.c: Likewise.
4531         * nscd/getsrvbypt_r.c: Likewise.
4532         * nscd/gai.c: Likewise.
4534         * configure.in (build_nscd): New substituted variable, set
4535         by --disable-build-nscd and defaults to $use_nscd.
4536         * configure: Regenerated.
4537         * config.make.in (build-nscd): New substituted variable.
4538         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4539         Change conditional to require [$(build-nscd) = yes] as well.
4540         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4542         [BZ# 13696]
4543         * configure.in (use_nscd): New substituted variable, set by
4544         --disable-nscd.  If enabled, define USE_NSCD.
4545         * configure: Regenerated.
4546         * config.h.in: Add USE_NSCD.
4547         * config.make.in (use-nscd): New substituted variable.
4548         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4549         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4550         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4551         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4552         (CFLAGS-getgrnam_r.c): Likewise.
4553         (CFLAGS-initgroups.c): Likewise.
4554         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4555         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4556         Variables removed.
4557         * inet/getnetgrent_r.c
4558         (nscd_setnetgrent): New function, broken out of ...
4559         (setnetgrent): ... here.  Call it.
4560         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4561         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4562         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4563         * nscd/Makefile (routines, aux): Move definitions after include of
4564         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4565         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4566         Conditionalize on [USE_NSCD].
4567         (is_nscd, nscd_init_cb): Likewise.
4568         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4569         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4570         * nss/nss_db/db-init.c: Likewise.
4571         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4572         [USE_NSCD].
4573         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4574         (make_request): Use it.
4575         (cache_valid_p): New function.
4576         (__check_pf): Use it.
4577         * NEWS: Add item for --disable-nscd.
4579 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4581         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4582         to support sed >= 4.2.1-20-ga9bf076.
4583         * configure: Regenerated.
4585 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4587         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4588         Conditionalize whole body on [IREL].
4590 2012-08-22  Jeff Law <law@redhat.com>
4592         [BZ #14505]
4593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4594         if the family is PF_UNSPEC.
4596 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4598         * Makerules (lib-version): Rename from V.
4599         (install-lib-nosubdir): Change V to lib-version.
4601 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4603         [BZ #14252]
4604         * powerpc32/power6/wcschr.c: New file.
4605         * powerpc32/power6/wcscpy.c: New file.
4606         * powerpc32/power6/wcsrchr.c: New file.
4607         * powerpc64/power6/wcschr.c: New file.
4608         * powerpc64/power6/wcscpy.c: New file.
4609         * powerpc64/power6/wcsrchr.c: New file.
4611 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4613         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4614         (two_way_short_needle): Use it.
4615         * string/strstr.c (AVAILABLE1_USES_J): Define.
4616         * string/strcasestr.c: Likewise.
4618         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4619         array references.
4620         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4622         [BZ #11607]
4623         * NEWS: Add an entry.
4624         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4625         define their defaults.
4626         (two_way_short_needle): Detect end-of-string on-the-fly.
4627         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4628         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4629         * string/bug-strcasestr1.c: New test.
4630         * string/Makefile: Run it.
4632 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4634         [BZ #11607]
4635         * string/str-two-way.h (two_way_short_needle): Optimize matching of
4636         the first character.
4638 2012-08-21  Roland McGrath  <roland@hack.frob.com>
4640         * csu/elf-init.c (__libc_csu_irel): Function removed.
4641         * csu/libc-start.c (apply_irel): New function.
4642         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4644 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
4646         * sysdeps/unix/sysv/linux/kernel-features.h
4647         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4648         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4649         <kernel-features.h>.
4650         [__NR_fadvise64_64]: Make code unconditional.
4651         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4652         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4653         !__NR_fadvise64_64)]: Likewise.
4654         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4655         !__NR_fadvise64_64))]: Likewise.
4656         [__NR_fadvise64]: Make code unconditional.
4657         [!__NR_fadvise64]: Remove conditional code.
4658         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4659         <kernel-features.h>.
4660         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4661         unconditional.
4662         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4663         conditional code.
4664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4665         not include <kernel-features.h>.
4666         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4667         unconditional.
4668         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4669         conditional code.
4670         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4671         include <kernel-features.h>.
4672         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4673         unconditional.
4674         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4675         conditional code.
4677 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4679         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4680         slight instruction rearrangements per scrollpipe analysis.
4681         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4683 2012-08-20  Roland McGrath  <roland@hack.frob.com>
4685         * manual/syslog.texi (syslog; vsyslog, closelog):
4686         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4687         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4689         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4690         DSOCAPS to match condition on defining it.
4692 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
4694         * sysdeps/unix/sysv/linux/kernel-features.h
4695         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4697         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4698         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4700         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4701         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4703         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4704         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4706         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4707         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4709         * sysdeps/unix/sysv/linux/kernel-features.h
4710         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4711         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4712         unconditional.
4713         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4714         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4715         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4716         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4717         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4718         Make code unconditional.
4719         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4720         (__mmap64) [!__NR_mmap2]: Likewise.
4721         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4722         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4723         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4724         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4725         [__NR_mmap2]: Make code unconditional.
4726         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4727         (__mmap64) [!__NR_mmap2]: Likewise.
4729 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4731         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4733 2012-08-18  Andreas Jaeger  <aj@suse.de>
4735         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4737 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4739         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4740         * include/unistd.h (__have_sock_cloexec): Likewise.
4741         (__have_pipe2): Likewise.
4742         (__have_dup3): Likewise.
4744 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
4746         [BZ #9685]
4747         * include/unistd.h (__have_pipe2): Change define into an extern int.
4748         (__have_dup3): Likewise.
4749         * socket/have_sock_cloexec.c: Include fcntl.h.
4750         (__have_pipe2): New variable.
4751         (__have_dup3): Likewise.
4753 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
4755         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4757 2012-08-17  Marek Polacek  <polacek@redhat.com>
4759         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4760         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4762 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4764         * configure.in: Add AC_SUBST for sysheaders.
4765         * configure: Regenerated.
4766         * config.make.in (sysheaders): New substituted variable.
4768         * sysdeps/unix/mkfifo.c: Moved ...
4769         * sysdeps/posix/mkfifo.c: ... here.
4770         * sysdeps/unix/mkfifoat.c: Moved ...
4771         * sysdeps/posix/mkfifoat.c: ... here.
4773         * sysdeps/unix/utime.c: Moved ...
4774         * sysdeps/posix/utime.c: ... here.
4776         * sysdeps/unix/time.c: Moved ...
4777         * sysdeps/posix/time.c: ... here.
4778         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4779         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4781         * sysdeps/unix/nice.c: Moved ...
4782         * sysdeps/posix/nice.c: ... here.
4784         * sysdeps/unix/alarm.c: Moved ...
4785         * sysdeps/posix/alarm.c: ... here.
4787         * intl/Makefile ($(codeset_mo)): Depend on the input file.
4789 2012-08-17  Jeff Law <law@redhat.com>
4791         * intl/Makefile (codeset_mo): New variable.
4792         ($(codeset_mo)): New target.
4793         (tst-codeset.out): Depend on that.  Remove explicit rule.
4794         (tst-gettext3.out, tst-gettext5.out): Likewise.
4795         (LOCPATH-ENV, tst-codeset-ENV): New variables.
4796         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4797         * intl/tst-codeset.sh: Remove.
4798         * intl/tst-gettext3.sh: Likewise.
4799         * intl/tst-gettext5.sh: Likewise.
4801 2012-08-17  Roland McGrath  <roland@hack.frob.com>
4803         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
4804         * sysdeps/unix/syscalls.list: ... here.
4806         * sysdeps/posix/getaddrinfo.c
4807         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4808         (gaiconf_init, gaiconf_reload): Use them.
4809         [!_STATBUF_ST_NSEC]
4810         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4811         Define using time_t rather than struct timespec.
4813         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4814         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4815         Macros removed.
4816         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4817         [!NO_THREADS].
4818         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4819         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4820         Likewise.
4822         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4823         __libc_cleanup_push argument.
4825         * bits/param.h: New file.
4826         * misc/sys/param.h: New file.
4827         * include/sys/param.h: New file.
4828         * misc/Makefile (headers): Add bits/param.h.
4829         * sysdeps/generic/sys/param.h: File removed.
4830         * sysdeps/unix/sysv/linux/bits/param.h: New file.
4831         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4832         * sysdeps/mach/hurd/bits/param.h: New file.
4833         * sysdeps/mach/hurd/sys/param.h: File removed.
4835         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4836         last change.
4838         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4839         [_IO_MTSAFE_IO].
4840         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4841         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4842         New macros.
4844         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4845         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4846         rather than -D_IO_MTSAFE_IO conditionally.
4847         * stdio-common/Makefile (CPPFLAGS): Likewise.
4848         * wcsmbs/Makefile (CPPFLAGS): Likewise.
4849         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4850         Use $(libio-mtsafe).
4851         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4852         of -D_IO_MTSAFE_IO.
4853         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4854         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4855         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4856         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4857         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4858         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4859         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4860         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4861         (CFLAGS-fread_u_chk.c): Likewise.
4862         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4863         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4864         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4865         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4866         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4867         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4868         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4869         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4870         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4872         * libio/Makefile: Test [$(libc-reentrant) = yes]
4873         instead of [$(filter %REENTRANT, $(defines)) nonempty].
4875         * Makeconfig
4876         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4877         * sysdeps/pthread/configure: File removed.
4878         * sysdeps/pthread/Makeconfig: New file.
4879         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4880         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4882 2012-08-16  Gary Benson  <gbenson@redhat.com>
4884         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4885         unmapping the first object in a namespace.
4887 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4889         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4890         (__internal_setnetgrent): ... this.  Add internal_function to
4891         definition.  Add libc_hidden_def.
4892         (setnetgrent): Update caller.
4893         (internal_endnetgrent): Renamed to ...
4894         (__internal_endnetgrent): ... this.  Add internal_function to
4895         definition.  Add libc_hidden_def.
4896         (endnetgrent): Update caller.
4897         (internal_getnetgrent_r): Renamed to ...
4898         (__internal_getnetgrent_r): ... this.  Add internal_function to
4899         definition.  Add libc_hidden_def.
4900         (__getnetgrent_r): Update caller.
4901         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
4903 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4905         * stdlib/longlong.h: Update from GCC.
4907 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4909         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4910         on _QL, which is set by umul_ppmm but never used.
4911         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4912         variables, which are set by GMP macros but never used.
4913         * stdio-common/_itowa.c (_itowa): Likewise.
4914         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4915         * stdlib/mod_1.c (mpn_mod_1): Likewise.
4917 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
4919         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4920         struct La_sh_regs is not constant.
4921         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4922         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4923         and struct La_sparc64_regs are not constant.
4925 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4927         * sysdeps/unix/sysv/linux/kernel-features.h
4928         (__ASSUME_POSIX_TIMERS): Remove.
4929         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4930         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4931         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4932         Make code unconditional.
4933         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4934         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4935         Make code unconditional.
4936         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4937         * sysdeps/unix/sysv/linux/clock_nanosleep.c
4938         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4939         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4940         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4941         Make code unconditional.
4942         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4943         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4944         (__libc_missing_posix_timers): Remove.
4946 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4948         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4949         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4951         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4953         * elf/dl-sym.c: Include <stdlib.h>.
4955         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4956         constants, which avoids warnings in 32-bit builds.
4958         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4959         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4961         * misc/lseek.c: File moved to ...
4962         * io/lseek.c: ... here.
4964         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4966         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4967         shifting LEN more than 31 bits at once.
4969 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4971         [BZ #14195]
4972         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4973         segmentation fault for a case of two empty input strings.
4974         * string/test-strncasecmp.c (check1): Renamed to...
4975         (bz12205): ...this.
4976         (bz14195): Add new testcase for two empty input strings and N > 0.
4977         (test_main): Call new testcase, adapt for renamed function.
4979 2012-08-15  Andreas Jaeger  <aj@suse.de>
4981         [BZ #14090]
4982         * crypt/md5test2.c: New test, based on test supplied by Serge
4983         Belyshev <belyshev@depni.sinp.msu.ru>.
4984         * crypt/Makefile (xtests): Add md5test-giant..
4985         * crypt/Makefile ($(objpfx)md5test-giant): Add.
4987 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
4989         [BZ #14090]
4990         * crypt/md5.c (md5_process_block): Don't assume the buffer
4991         length is less than 2**32.
4992         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4993         length is less than 2**64.
4995 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4997         * string/str-two-way.h: Include <sys/param.h>.
4998         (MAX): Macro removed.
5000         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5001         Move #define and #undef of memmove to just before and after
5002         including <string.h>.
5004         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5005         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5006         and after including <string.h>.  Move declarations of
5007         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5008         to before #include "string/memmove.c".
5010         * include/dirent.h: Declare __getdirentries.
5012         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5013         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5015 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5017         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5018         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5019         * sysdeps/i386/configure: Regenerated.
5020         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5021         STABS_CURRENT_FILE, and STABS_FUN.
5022         (END): Remove call to STABS_FUN_END.
5023         (STABS_CURRENT_FILE1): Delete.
5024         (STABS_CURRENT_FILE): Likewise.
5025         (STABS_FUN): Likewise.
5026         (STABS_FUN_END): Likewise.
5027         (STABS_FUN2): Likewise.
5028         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5029         * sysdeps/x86_64/configure: Regenerated.
5031 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5033         * elf/dl-open.c: Include <atomic.h>.
5034         * elf/dl-lookup.c: Likewise.
5036 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5038         * sysdeps/unix/sysv/linux/kernel-features.h
5039         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5040         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5041         unconditionally.
5042         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5043         unconditionally.
5044         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5045         condition on __ASSUME_CLONE_THREAD_FLAGS.
5047 2012-08-14  Andreas Jaeger  <aj@suse.de>
5049         * sysdeps/i386/fpu/libm-test-ulps: Update.
5051 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5053         * include/atomic.h (atomic_exchange_and_add): Split into ...
5054         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5055         New atomic macros.
5057 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5061 2012-08-13  Jeff Law <law@redhat.com>
5063         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5064         null byte in the output string.
5066 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5068         * sysdeps/unix/sysv/linux/kernel-features.h
5069         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5070         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5071         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5072         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5073         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5074         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5075         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5077 2012-08-09  Jeff Law <law@redhat.com>
5079         [BZ #13939]
5080         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5081         When avoid_arena is set, don't retry in the that arena.  Pick the
5082         next one, whatever it might be.
5083         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5084         (arena_lock): Pass in new parameter to arena_get2.
5085         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5086         arena_get2.
5087         (__libc_malloc): Unify retrying after main arena failure with
5088         __libc_memalign version.
5089         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5091 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5093         [BZ #14166]
5094         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5095         to __redirect_strstr.
5096         (__strstr_sse42): Use typeof __redirect_strstr.
5097         (__strstr_ia32): Likewise.
5098         (__libc_strstr): New prototype.
5099         (strstr): Renamed to ...
5100         (__libc_strstr): This.
5101         (strstr): New strong alias of __libc_strstr.
5102         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5103         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5104         __redirect_time.
5105         Include <time.h>.
5106         (__libc_time): New prototype.
5107         (time_ifunc): Replace time with __libc_time.
5108         (time): New strong alias and hidden definition of __libc_time.
5109         (__GI_time): Remove strong alias.
5110         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5111         Include <stddef.h>.
5112         (memmove): Redefined to __redirect_memmove.
5113         (__memmove_sse2): Use typeof __redirect_memmove.
5114         (__memmove_ssse3): Likewise.
5115         (__memmove_ssse3_back): Likewise.
5116         (__libc_memmove): New prototype.
5117         (memmove): Renamed to ...
5118         (__libc_memmove): This.
5119         (memmove): New strong alias of __libc_memmove.
5121 2012-08-08  Mark Salter  <msalter@redhat.com>
5123         * elf/elf.h
5124         (R_MN10300_TLS_GD): Define.
5125         (R_MN10300_TLS_LD): Likewise.
5126         (R_MN10300_TLS_LDO): Likewise.
5127         (R_MN10300_TLS_GOTIE): Likewise.
5128         (R_MN10300_TLS_IE): Likewise.
5129         (R_MN10300_TLS_LE): Likewise.
5130         (R_MN10300_TLS_DTPMOD): Likewise.
5131         (R_MN10300_TLS_DTPOFF): Likewise.
5132         (R_MN10300_TLS_TPOFF): Likewise.
5133         (R_MN10300_SYM_DIFF): Likewise.
5134         (R_MN10300_ALIGN): Likewise.
5135         (R_MN10300_NUM): Update.
5137 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5139         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5140         Remove.
5142 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5144         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5146         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5147         sysdeps/unix -> sysdeps/posix move.
5148         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5150 2012-08-07      Allan McRae     <allan@archlinux.org>
5152         [BZ #14303]
5153         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5154         (SUNOS_CPP): Likewise.
5155         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5156         not found.
5157         (open_input): Call CPP using execvp.
5159 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5161         * sysdeps/unix/sysv/linux/kernel-features.h
5162         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5163         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5164         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5165         (__ASSUME_WAITID_SYSCALL): Likewise.
5166         * sysdeps/unix/sysv/linux/dl-execstack.c
5167         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5168         code unconditional.
5169         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5170         conditional code.
5171         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5172         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5173         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5174         code.
5175         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5176         unconditional.
5177         [__ASSUME_WAITID_SYSCALL]: Likewise.
5178         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5180 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5182         * sysdeps/unix/closedir.c: Renamed to ...
5183         * sysdeps/posix/closedir.c: ... here.
5184         * sysdeps/unix/dirfd.c: Renamed to ...
5185         * sysdeps/posix/dirfd.c: ... here.
5186         * sysdeps/unix/dirstream.h: Renamed to ...
5187         * sysdeps/posix/dirstream.h: ... here.
5188         * sysdeps/unix/fdopendir.c: Renamed to ...
5189         * sysdeps/posix/fdopendir.c: ... here.
5190         * sysdeps/unix/opendir.c: Renamed to ...
5191         * sysdeps/posix/opendir.c: ... here.
5192         * sysdeps/unix/readdir.c: Renamed to ...
5193         * sysdeps/posix/readdir.c: ... here.
5194         * sysdeps/unix/readdir_r.c: Renamed to ...
5195         * sysdeps/posix/readdir_r.c: ... here.
5196         * sysdeps/unix/rewinddir.c: Renamed to ...
5197         * sysdeps/posix/rewinddir.c: ... here.
5198         * sysdeps/unix/seekdir.c: Renamed to ...
5199         * sysdeps/posix/seekdir.c: ... here.
5200         * sysdeps/unix/telldir.c: Renamed to ...
5201         * sysdeps/posix/telldir.c: ... here.
5202         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5203         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5204         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5205         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5207         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5208         * bits/fcntl.h: ... here.
5210         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5211         not 0.
5212         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5213         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5214         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5215         (struct flock): Move l_start, l_len to the beginning.
5216         Use __pid_t for l_pid.
5217         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5218         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5219         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5220         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5221         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5222         [__USE_LARGEFILE64] (struct flock64): New type.
5223         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5225         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5226         * bits/dirent.h: ... here.
5228         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5229         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5231 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5233         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5234         Change from 2.6.0 to 2.6.16.
5235         * sysdeps/unix/sysv/linux/configure: Regenerated.
5236         * sysdeps/unix/sysv/linux/kernel-features.h
5237         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5238         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5239         version.
5240         (__ASSUME_UTIMES): Likewise.
5241         (__ASSUME_CLONE_STOPPED): Remove.
5242         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5243         architectures, not kernel version.
5244         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5245         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5246         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5247         (__ASSUME_WAITID_SYSCALL): Likewise.
5248         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5249         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5250         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5251         refer to older versions.
5253 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5255         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5256         Define alphasort64 as an alias.
5257         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5258         Define versionsort64 as an alias.
5259         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5260         Define scandir64 as an alias.
5261         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5262         Define scandirat64 as an alias.
5263         * dirent/alphasort64.c (alphasort64):
5264         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5265         * dirent/versionsort64.c: Likewise.
5266         * dirent/scandir64.c: Likewise.
5267         * dirent/scandirat64.c: Likewise.
5268         * sysdeps/wordsize-64/alphasort.c: File removed.
5269         * sysdeps/wordsize-64/alphasort64.c: File removed.
5270         * sysdeps/wordsize-64/scandir.c: File removed.
5271         * sysdeps/wordsize-64/scandir64.c: File removed.
5272         * sysdeps/wordsize-64/scandirat.c: File removed.
5273         * sysdeps/wordsize-64/scandirat64.c: File removed.
5274         * sysdeps/wordsize-64/versionsort.c: File removed.
5275         * sysdeps/wordsize-64/versionsort64.c: File removed.
5276         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5277         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5278         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5279         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5280         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5281         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5282         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5283         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5285         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5286         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5287         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5289         [defined __arch64__ || defined __sparcv9]
5290         (__INO_T_MATCHES_INO64_T): New macro.
5291         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5292         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5293         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5294         * sysdeps/unix/sysv/linux/bits/dirent.h
5295         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5296         (_DIRENT_MATCHES_DIRENT64): New macro.
5298         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5299         Define lockf64 as an alias.
5300         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5301         Define fseeko64 as an alias.
5302         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5303         Define ftello64 as an alias.
5304         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5305         Define _IO_fgetpos64 and fgetpos64 as aliases.
5306         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5307         Define _IO_fsetpos64 and fsetpos64 as aliases.
5308         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5309         Conditionalize body on this.
5310         * libio/fseeko64.c: Likewise.
5311         * libio/ftello64.c: Likewise.
5312         * libio/iofgetpos64.c: Likewise.
5313         * libio/iofsetpos64.c: Likewise.
5314         * sysdeps/wordsize-64/lockf.c: File removed.
5315         * sysdeps/wordsize-64/lockf64.c: File removed.
5316         * sysdeps/wordsize-64/fseeko.c: File removed.
5317         * sysdeps/wordsize-64/fseeko64.c: File removed.
5318         * sysdeps/wordsize-64/ftello.c: File removed.
5319         * sysdeps/wordsize-64/ftello64.c: File removed.
5320         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5321         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5322         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5323         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5324         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5325         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5326         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5327         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5328         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5329         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5330         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5331         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5332         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5333         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5335         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5337         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5339         [defined __arch64__ || defined __sparcv9]
5340         (__OFF_T_MATCHES_OFF64_T): New macro.
5341         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5342         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5343         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5344         (__OFF_T_MATCHES_OFF64_T): New macro.
5346 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5348         * stdlib/secure-getenv.c (__secure_getenv): Replace
5349         GLIBC_2_16 with GLIBC_2_17.
5351 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5353         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5354         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5356 2012-08-03  David S. Miller  <davem@davemloft.net>
5358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5360 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5363         Remove.
5364         (__ASSUME_CORRECT_SI_PID): Likewise.
5365         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5366         (__ASSUME_TMPFS_NAME): Likewise.
5367         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5368         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5369         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5370         (HAVE_AUX_SECURE): Make definition unconditional.
5371         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5372         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5374 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5376         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5377         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5378         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5379         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5380         __eloop_threshold instead of SYMLOOP_MAX.
5382         * sysdeps/generic/eloop-threshold.h: New file.
5383         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5384         of MAXSYMLINKS.
5385         * elf/chroot_canon.c (chroot_canon): Likewise.
5387 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #13717]
5390         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5391         Change to 2.6.0 everywhere.
5392         * sysdeps/unix/sysv/linux/configure: Regenerated.
5393         * sysdeps/unix/sysv/linux/kernel-features.h
5394         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5395         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5396         kernel versions.
5397         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5398         (__ASSUME_FUTEX_REQUEUE): Remove.
5399         (__ASSUME_STATFS64): Define unconditionally.
5400         (__ASSUME_AT_SECURE): Likewise.
5401         (__ASSUME_CORRECT_SI_PID): Likewise.
5402         (__ASSUME_TGKILL): Define without depending on kernel version for
5403         i386.
5404         (__ASSUME_UTIMES): Likewise.
5405         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5406         kernel version.
5407         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5408         (__ASSUME_TMPFS_NAME): Likewise.
5409         * README: Update reference to Linux kernel versions.
5411 2012-08-02  Marek Polacek  <polacek@redhat.com>
5413         [BZ# 14150]
5414         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5415         libc_cv_asm_type_prefix with %.
5416         * configure: Regenerated.
5417         * include/libc-symbols.h: Remove comment about
5418         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5419         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5420         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5421         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5422         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5423         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5424         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5425         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5426         * elf/tst-unique2mod1.c: Likewise.
5427         * elf/tst-unique1mod2.c: Likewise.
5428         * elf/tst-unique1mod1.c: Likewise.
5429         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5430         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5431         Replace ASM_TYPE_DIRECTIVE with .type.
5432         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5433         * sysdeps/i386/sysdep.h: Likewise.
5434         * sysdeps/x86_64/sysdep.h: Likewise.
5435         * sysdeps/sh/sysdep.h: Likewise.
5436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5437         Do not define ASM_TYPE_DIRECTIVE.
5438         * sysdeps/powerpc/sysdep.h: Likewise.
5439         * sysdeps/powerpc/powerpc32/sysdep.h:
5440         Replace ASM_TYPE_DIRECTIVE with .type.
5441         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5442         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5443         * sysdeps/i386/fpu/e_powf.S: Likewise.
5444         * sysdeps/i386/fpu/e_expl.S: Likewise.
5445         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5446         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5447         * sysdeps/i386/fpu/e_pow.S: Likewise.
5448         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5449         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5450         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5451         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5452         * sysdeps/i386/fpu/e_log2.S: Likewise.
5453         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5454         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5455         * sysdeps/i386/fpu/e_powl.S: Likewise.
5456         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5457         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5458         * sysdeps/i386/fpu/e_logl.S: Likewise.
5459         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5460         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5461         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5462         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5463         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5464         * sysdeps/i386/fpu/e_log.S: Likewise.
5465         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5466         * sysdeps/i386/fpu/e_logf.S: Likewise.
5467         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5468         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5469         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5470         * sysdeps/i386/fpu/e_log10.S: Likewise.
5471         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5472         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5473         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5474         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5475         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5476         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5477         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5478         * sysdeps/i386/i686/strtok.S: Likewise.
5479         * sysdeps/i386/i386-mcount.S: Likewise.
5480         * sysdeps/i386/strtok.S: Likewise.
5481         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5482         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5483         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5484         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5485         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5486         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5487         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5488         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5489         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5490         * sysdeps/x86_64/_mcount.S: Likewise.
5491         * sysdeps/x86_64/strtok.S: Likewise.
5492         * sysdeps/sh/_mcount.S: Likewise.
5494 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5496         * libio/iofopen.c: Include <fcntl.h>.
5497         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5498         (_IO_fopen64, fopen64): Define as aliases.
5499         * libio/iofopen64.c: Include <fcntl.h>.
5500         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5501         Conditionalize body on this.
5502         * sysdeps/wordsize-64/iofopen.c: File removed.
5503         * sysdeps/wordsize-64/iofopen64.c: File removed.
5505 2012-08-01  Marek Polacek  <polacek@redhat.com>
5507         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5508         Use dlfcn directly instead of a variable.
5509         (binfmt-subdir): Do not define.
5510         (dlfcn): Likewise.
5512 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5515         Remove all definitions.
5516         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5517         <kernel-features.h>.
5518         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5519         (miss_F_GETOWN_EX): Remove all definitions.
5520         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5521         macro definition.
5522         [!__ASSUME_FCNTL64]: Remove conditional code.
5523         [__ASSUME_FCNTL64]: Make code unconditional.
5524         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5525         <kernel-features.h>.
5526         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5527         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5528         (lockf64) [__NR_fcntl64]: Make code unconditional.
5529         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5531         * sysdeps/unix/sysv/linux/kernel-features.h
5532         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5533         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5534         Make code unconditional.
5535         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5536         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5538         [__NR_vfork]: Make code unconditional.
5539         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5540         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5542         [__NR_vfork]: Make code unconditional.
5543         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5544         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5546 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5548         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5549         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5551         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5552         Define mkstemp64 as an alias.
5553         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5554         Define mkstemps64 as an alias.
5555         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5556         Define mkostemp64 as an alias.
5557         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5558         Define mkostemps64 as an alias.
5559         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5560         Conditionalize body on this.
5561         * misc/mkostemp64.c: Likewise.
5562         * misc/mkostemps64.c: Likewise.
5563         * misc/mkstemps64.c: Likewise.
5564         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5565         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5566         * sysdeps/wordsize-64/mkostemp.c: File removed.
5567         * sysdeps/wordsize-64/mkstemp.c: File removed.
5568         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5569         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5570         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5571         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5573         [BZ #14138]
5574         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5575         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5576         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5577         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5579         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5580         compat_symbol macros from <shlib-compat.h> rather than the underlying
5581         default_symbol_version and symbol_version macros, so that DEFAULT
5582         lines in shlib-versions are respected.
5583         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5585 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5587         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5588         Declare with warn_unused_result.
5589         (setgid, setregid, setegid, setresgid): Likewise.
5590         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5591         Likewise.
5592         * WUR-REPORT: Remove set*id functions.
5594 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5596         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5598 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5600         * include/sys/socket.h (__libc_accept, __libc_accept4):
5601         Add attribute_hidden.
5602         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5604         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5605         use of PTR_MANGLE.
5606         * inet/getnetgrent_r.c (setup): Likewise.
5608         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5610 2012-07-31  David S. Miller  <davem@davemloft.net>
5612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5614 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5616         [BZ #13629]
5617         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5618         value between 1.0 and 2.0 and smaller part has absolute value less
5619         than 1.0.
5620         * math/s_clog10.c (__clog10): Likewise.
5621         * math/s_clog10f.c (__clog10f): Likewise.
5622         * math/s_clog10l.c (__clog10l): Likewise.
5623         * math/s_clogf.c (__clogf): Likewise.
5624         * math/s_clogl.c (__clogl): Likewise.
5625         * math/libm-test.inc (clog_test): Add more tests.
5626         (clog10_test): Likewise.
5627         * sysdeps/i386/fpu/libm-test-ulps: Update.
5628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5630 2012-07-31  Florian Weimer  <fweimer@redhat.com>
5632         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5633         Exit with zero in case no suitable GID is found, and write a
5634         message to standard error.
5636 2012-07-30  Roland McGrath  <roland@hack.frob.com>
5638         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5639         rather than to 1.
5640         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5641         (MAXPATHLEN): Removed.
5642         (NOGROUP, NODEV): New macros.
5643         (setbit, clrbit, isset, isclr): New macros.
5644         (howmany, roundup, powerof2): New macros.
5645         (DEV_BSIZE): New macro.
5647         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5648         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5650         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5651         definition on [!__NO_LONG_DOUBLE_MATH].
5653         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5654         PTR_MANGLE and PTR_DEMANGLE.
5656         * socket/accept4.c (accept4): Rename to __libc_accept4.
5657         Define accept4 as a weak alias.
5659         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5660         on [_DIRENT_HAVE_D_TYPE].
5661         * io/ftw.c (ftw_dir): Likewise.
5663         * io/xmknod.c (__xmknod): Don't check PATH for being null.
5665         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5667         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5668         Use the BSD numbers rather than the arbitrary ones we had.
5669         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5670         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5671         (SIGXCPU, SIGXFSZ): New macros.
5672         (_NSIG): Now 32.
5674         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5675         initializer on [_LIBC_REENTRANT].
5677         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5678         definitions inside [_POSIX_MAPPED_FILES].
5680         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5682         * dirent/opendir.c: Include <fcntl.h>.
5684         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5685         (__libc_getspecific): Likewise.
5686         (__libc_key_create): Likewise.
5688         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5689         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5690         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5691         (tmpfile64): Define as alias.
5692         * sysdeps/wordsize-64/tmpfile.c: File removed.
5693         * sysdeps/wordsize-64/tmpfile64.c: File removed.
5694         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5695         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5697         * stdio-common/vfscanf.c: Include <stdbool.h>.
5698         * nss/makedb.c: Likewise.
5699         * stdio-common/_i18n_number.h: Likewise.
5700         * argp/argp-help.c: Likewise.
5701         * posix/wordexp.c: Likewise.
5702         * sysdeps/posix/spawni.c: Likewise.
5703         * nss/nss_files/files-initgroups.c: Likewise.
5704         * stdio-common/reg-modifier.c: Include <stdlib.h>.
5705         * nss/nss_files/files-initgroups.c: Likewise.
5706         * nss/nss_db/db-netgrp.c: Likewise.
5707         * nss/nss_db/db-initgroups.c: Likewise.
5708         * io/fchmodat.c: Include <sys/stat.h>.
5710         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5711         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5713         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5714         [HAVE_MMAP].
5716         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5717         Add multiple inclusion protection.
5719 2012-07-27  David S. Miller  <davem@davemloft.net>
5721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5723 2012-07-27  Gary Benson  <gbenson@redhat.com>
5725         [BZ #14298]
5726         * elf/rtld.c: Include <stap-probe.h>.
5727         (dl_main): Added static probes "init_start" and "init_complete".
5728         * elf/dl-load.c: Include <stap-probe.h>.
5729         (lose): Take new parameter "nsid".
5730         Added static probe "map_failed".
5731         (_dl_map_object_from_fd): Pass namespace id to lose.
5732         Added static probe "map_start".
5733         (open_verify): Pass namespace id to lose.
5734         * elf/dl-open.c: Include <stap-probe.h>.
5735         (dl_open_worker) Added static probes "map_complete", "reloc_start"
5736         and "reloc_complete".
5737         * elf/dl-close.c: Include <stap-probe.h>.
5738         (_dl_close_worker): Added static probes "unmap_start" and
5739         "unmap_complete".
5740         * elf/rtld-debugger-interface.txt: New file documenting the above.
5742 2012-07-26  Roland McGrath  <roland@hack.frob.com>
5744         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5745         rather than a string variable.
5746         * sunrpc/rpc_main.c (h_output): Likewise.
5747         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5749 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
5751         * inet/check_native.c: New file.
5753 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
5755         [BZ #13629]
5756         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5757         if larger part has absolute value 1.0.
5758         * math/s_clog10.c (__clog10): Likewise.
5759         * math/s_clog10f.c (__clog10f): Likewise.
5760         * math/s_clog10l.c (__clog10l): Likewise.
5761         * math/s_clogf.c (__clogf): Likewise.
5762         * math/s_clogl.c (__clogl): Likewise.
5763         * math/libm-test.inc (clog_test): Add more tests.
5764         (clog10_test): Likewise.
5765         * sysdeps/i386/fpu/libm-test-ulps: Update.
5766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5768         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5769         (pltexit): Likewise.
5770         (La_regs): Likewise.
5771         (La_retval): Likewise.
5772         (int_retval): Likewise.
5773         Update #error for removed macros to refer only to definitions in
5774         tst-audit.h.
5775         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5776         macro.
5777         (pltexit): Likewise.
5778         (La_regs): Likewise.
5779         (La_retval): Likewise.
5780         (int_retval): Likewise.
5781         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5782         macro.
5783         (pltexit): Likewise.
5784         (La_regs): Likewise.
5785         (La_retval): Likewise.
5786         (int_retval): Likewise.
5787         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5788         macro.
5789         (pltexit): Likewise.
5790         (La_regs): Likewise.
5791         (La_retval): Likewise.
5792         (int_retval): Likewise.
5793         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5794         macro.
5795         (pltexit): Likewise.
5796         (La_regs): Likewise.
5797         (La_retval): Likewise.
5798         (int_retval): Likewise.
5799         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5800         macro.
5801         (pltexit): Likewise.
5802         (La_regs): Likewise.
5803         (La_retval): Likewise.
5804         (int_retval): Likewise.
5805         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5806         macro.
5807         (pltexit): Likewise.
5808         (La_regs): Likewise.
5809         (La_retval): Likewise.
5810         (int_retval): Likewise.
5811         * sysdeps/generic/tst-audit.h: Update comment to refer only to
5812         macro definitions in tst-audit.h.
5813         * sysdeps/i386/tst-audit.h: New file.
5814         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5815         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5816         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5817         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5818         * sysdeps/sh/tst-audit.h: Likewise.
5819         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5820         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5821         * sysdeps/x86_64/tst-audit.h: Likewise.
5823 2012-07-26  Andreas Jaeger  <aj@suse.de>
5825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5826         ptrace.
5828         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5829         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5830         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5831         PTRACE_O_MASK.
5832         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5833         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5834         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5836         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5837         value.
5839         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5840         _sigsys.
5841         (si_call_addr, si_syscall, si_arch): Define new macro.
5842         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5843         _sigsys.
5844         (si_call_addr, si_syscall, si_arch): Define new marcro.
5845         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5846         _sigsys.
5847         (si_call_addr, si_syscall, si_arch): Define new macro.
5848         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5849         _sigsys.
5850         (si_call_addr, si_syscall, si_arch): Define new macro.
5852 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
5854         [BZ #13717]
5855         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5856         Change to 2.4.21 where previously 2.4.1.
5857         * sysdeps/unix/sysv/linux/configure: Regenerated.
5858         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5859         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5860         Linux kernel version.
5861         (__ASSUME_STD_AUXV): Remove.
5862         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5863         kernel version.
5864         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5865         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5866         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5867         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5868         (__ASSUME_NETLINK_SUPPORT): Likewise.
5869         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5870         (__no_netlink_support): Remove conditional definition.
5871         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5872         Remove.
5873         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5874         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5875         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5876         (if_nameindex_ioctl): Remove.
5877         (if_nameindex_netlink): Do not handle __no_netlink_support.
5878         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5879         code.
5880         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5881         Remove conditional code.
5882         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5883         code.
5884         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5885         unconditional.
5886         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5887         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5888         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5889         Remove.
5890         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5891         [!__ASSUME_STD_AUXV]: Remove conditional code.
5892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5893         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5894         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5896         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5897         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5898         code.
5899         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5901         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5902         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5903         conditional code.
5904         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5906         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5907         code.
5908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5909         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5910         conditional code.
5911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5912         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5913         code unconditional.
5914         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5915         conditional code.
5916         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5917         unconditional.
5918         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5919         conditional code.
5920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5921         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5922         unconditional.
5923         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5924         conditional code.
5925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5926         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5927         code unconditional.
5928         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5929         conditional code.
5930         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5931         unconditional.
5932         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5933         conditional code.
5934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5935         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5936         code unconditional.
5937         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5938         conditional code.
5939         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5940         unconditional.
5941         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5942         conditional code.
5944 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5946         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5947         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5948         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5949         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5950         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5951         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5952         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5953         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5954         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5955         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5956         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5957         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5958         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5959         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5960         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5961         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5962         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5963         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5964         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5966         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5967         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5968         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5970 2012-07-25  Florian Weimer  <fweimer@redhat.com>
5972         * Versions.def: Add GLIBC_2.17.
5973         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5974         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5975         Introduce __libc_secure_getenv.
5976         * stdlib/Versions (2.17): Add secure_getenv
5977         (GLIBC_PRIVATE): Add __libc_secure_getenv.
5978         * stdlib/secure-getenv.c: Rename __secure_getenv to
5979         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
5980         symbol __secure_getenv for GLIBC_2.0.
5981         * stdlib/tst-secure-getenv.c: New.
5982         * stdlib/Makefile (tests): Add testcase.
5983         * manual/startup.texi (Environment Access): Document
5984         secure_getenv.
5985         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5986         __libc_secure_getenv.
5987         * inet/ruserpass.c (ruserpass): Likewise.
5988         * malloc/mtrace.c (mtrace): Likewise.
5989         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5990         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5991         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5992         * sysdeps/posix/tempname.c: Likewise.  Evaluate
5993         HAVE_SECURE_GETENV.
5994         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5995         __secure_getenv to __libc_secure_getenv.
5996         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5998         Likewise.
5999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6000         Likewise.
6001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6009 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6011         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6012         (struct La_i86_retval): Likewise.
6013         (struct La_x86_64_regs): Likewise.
6014         (struct La_x86_64_retval): Likewise.
6015         (struct La_x32_regs): Likewise.
6016         (struct La_x32_retval): Likewise.
6017         (struct La_ppc32_regs): Likewise.
6018         (struct La_ppc32_retval): Likewise.
6019         (struct La_ppc64_regs): Likewise.
6020         (struct La_ppc64_retval): Likewise.
6021         (struct La_sh_regs): Likewise.
6022         (struct La_sh_retval): Likewise.
6023         (struct La_s390_32_regs): Likewise.
6024         (struct La_s390_32_retval): Likewise.
6025         (struct La_s390_64_regs): Likewise.
6026         (struct La_s390_64_retval): Likewise.
6027         (struct La_sparc32_regs): Likewise.
6028         (struct La_sparc32_retval): Likewise.
6029         (struct La_sparc64_regs): Likewise.
6030         (struct La_sparc64_retval): Likewise.
6031         (struct audit_ifaces): Remove architecture-specific pltenter and
6032         pltexit members.
6033         * sysdeps/i386/ldsodefs.h: New file.
6034         * sysdeps/powerpc/ldsodefs.h: Likewise.
6035         * sysdeps/s390/ldsodefs.h: Likewise.
6036         * sysdeps/sh/ldsodefs.h: Likewise.
6037         * sysdeps/sparc/ldsodefs.h: Likewise.
6038         * sysdeps/x86_64/ldsodefs.h: Likewise.
6040 2012-07-25  Marek Polacek  <polacek@redhat.com>
6042         [BZ #6808]
6043         * math/libm-test.inc (yn_test): Add another test.
6044         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6045         to ERANGE when the result is +-Inf.
6046         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6047         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6048         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6049         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6051 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6053         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6054         equal to 0.
6055         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6056         clock_t.
6057         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6059 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6061         * configure.in <sysdeps resolving>: Correct printing
6062         Implies_before.
6063         * configure: Regenerate.
6065 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6067         * math/w_ilogb.c: Include <limits.h>.
6068         * math/w_ilogbl.c: Likewise.
6070 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6072         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6073         va_copy.  Document allowing for unavailable va_copy only as
6074         pre-C99 compatibility.
6075         * manual/string.texi (Copying and Concatenation): Use va_copy
6076         instead of __va_copy in concat example.
6078 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6080         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6081         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6082         it if not null.
6084         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6085         with O_NOLINK passed to __file_name_lookup.
6087         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6088         with O_NOLINK passed to __file_name_lookup.
6090         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6091         negative N or less than NGIDS.
6093         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6094         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6095         enough.  Use memcpy instead of strncpy.
6097 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6099         * elf/Makefile (check-data): Remove.
6100         (localplt.data): New vpath directive.
6101         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6102         instead of $(check-data).
6103         * scripts/data/localplt-generic.data: Move to ...
6104         * sysdeps/generic/localplt.data: ... here.
6105         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6106         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6107         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6109         ... here.
6110         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6112         ... here.
6113         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6115         ... here.
6116         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6118         ... here.
6119         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6121         ... here.
6122         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6124         ... here.
6126 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6128         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6129         PPC32 and PPC64 files.
6130         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6131         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6133 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6135         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6136         __makecontext_ret to ...
6137         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6138         ... here and call exit if uc_link is NULL.  New file.
6139         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6140         __makecontext_ret.S.
6141         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6142         __makecontext_ret to ...
6143         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6144         ... here and call exit if uc_link is NULL.  New file.
6145         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6146         __makecontext_ret.S.
6148 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6150         * elf/elf.h (R_390_IRELATIVE): New definition.
6151         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6152         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6153         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6154         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6155         (elf_machine_lazy_rel): Likewise.
6156         * sysdeps/s390/dl-irel.h: New file.
6157         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6158         * sysdeps/s390/s390-64/memset.S: New asm code.
6159         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6160         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6161         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6162         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6163         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6164         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6165         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6166         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6167         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6168         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6169         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6170         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6171         * sysdeps/s390/s390-32/memset.S: New asm code.
6172         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6174 2012-07-17  Marek Polacek  <polacek@redhat.com>
6176         [BZ #14349]
6177         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6178         * sysdeps/s390/s390-64/configure.in: Likewise.
6179         * sysdeps/sparc/configure.in: Likewise.
6180         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6181         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6182         * sysdeps/i386/configure.in: Likewise.
6183         * sysdeps/x86_64/configure.in: Likewise.
6184         * sysdeps/sh/configure.in: Likewise.
6185         * sysdeps/s390/s390-32/configure: Regenerated.
6186         * sysdeps/s390/s390-64/configure: Likewise.
6187         * sysdeps/x86_64/configure: Likewise.
6188         * sysdeps/sh/configure: Likewise.
6189         * sysdeps/powerpc/powerpc64/configure: Likewise.
6190         * sysdeps/powerpc/powerpc32/configure: Likewise.
6191         * sysdeps/sparc/configure: Likwise.
6192         * sysdeps/i386/configure: Likewise.
6194         * elf/dl-open.c: Comment fixes.
6196 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6198         * Makefile [CXX] (check-data): Remove.
6199         [CXX] (c++-types.data): New vpath directive.
6200         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6201         vpath.  Do not allow for C++ type data being missing.
6202         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6203         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6204         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6205         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6206         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6207         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6208         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6210         ... here.
6211         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6213         ... here.
6214         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6216         ... here.
6217         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6219         ... here.
6220         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6222         ... here.
6223         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6225         ... here.
6226         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6228         ... here.
6229         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6232         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6233         definitions to architecture-specific files.
6234         (TLS_IE): Likewise.
6235         (TLS_LD): Likewise.
6236         (TLS_GD): Likewise.
6237         * sysdeps/i386/tls-macros.h: New file.
6238         * sysdeps/powerpc/tls-macros.h: Likewise.
6239         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6240         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6241         * sysdeps/sh/tls-macros.h: Likewise.
6242         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6243         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6244         * sysdeps/x86_64/tls-macros.h: Likewise.
6246 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6248         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6249         zero value for regular exit case.
6251         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6252         (__start_context): Preserve zero value for regular exit case.
6254 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6255             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6257         * manual/setjmp.texi (setcontext): Clarify normal process
6258         termination when uc_link is the null pointer.
6259         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6260         exit call.
6262 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6264         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6265         preprocessor.  Test for each exception mask separately.
6267 2012-07-16  Andreas Jaeger  <aj@suse.de>
6269         * po/ru.po: Update from translation team.
6271 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6273         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6274         equal to 0.
6275         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6276         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6277         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6278         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6279         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6281 2012-07-13  Andreas Jaeger  <aj@suse.de>
6283         * po/fr.po: Update from translation team.
6285 2012-07-12  Marek Polacek  <polacek@redhat.com>
6287         [BZ #14173]
6288         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6289         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6290         loop condition.
6292 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6294         [BZ #13717]
6295         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6296         Change to 2.4.1 where previously 2.4.0.
6297         * sysdeps/unix/sysv/linux/configure: Regenerated.
6298         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6299         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6300         version.
6301         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6302         (__ASSUME_AT_CLKTCK): Remove.
6303         (__ASSUME_AT_PAGESIZE): Likewise.
6304         (__ASSUME_AT_XID): Likewise.
6305         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6306         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6307         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6308         unconditionally.
6309         (HAVE_AUX_PAGESIZE): Likewise.
6310         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6311         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6312         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6314 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6316         [BZ #14307]
6317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6318         the temporary buffer used to invoke __gethostbyname2_r,
6319         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6320         host_data / struct gaih_addrtuple.
6321         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6322         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6323         header file nss/nsswitch.h.
6324         * nss/nsswitch.h (global scope): Add definition of implementation
6325         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6326         resolv/nss_dns/dns-host.c).
6328 2012-07-11  Andreas Jaeger  <aj@suse.de>
6330         * po/fr.po: Update from translation team.
6332         * po/sv.po: Update from translation team
6333         * po/fr.po: Another update from translation team.
6335 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6337         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6338         for subnormals or multiply small sinh result by itself.
6339         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6342 2012-07-11  David S. Miller  <davem@davemloft.net>
6344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6346 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6348         [BZ #14347]
6349         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6350         (INTERNAL_MARK): Shift it here.
6352 2012-07-10  Marek Polacek  <polacek@redhat.com>
6354         [BZ #14151]
6355         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6356         libc_cv_asm_global_directive with .globl.
6357         * configure: Regenerated.
6358         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6359         with .globl.
6360         * sysdeps/i386/configure: Regenerated.
6361         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6362         with .globl.
6363         * sysdeps/x86_64/configure: Regenerated.
6364         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6365         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6366         * elf/tst-unique2mod2.c: Likewise.
6367         * elf/tst-unique2mod1.c: Likewise.
6368         * elf/tst-unique1mod2.c: Likewise.
6369         * elf/tst-unique1mod1.c: Likewise.
6370         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6371         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6372         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6373         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6374         * sysdeps/mach/sysdep.h: Likewise.
6375         * sysdeps/i386/sysdep.h: Likewise.
6376         * sysdeps/i386/i386-mcount.S: Likewise.
6377         * sysdeps/x86_64/_mcount.S: Likewise.
6378         * sysdeps/x86_64/sysdep.h: Likewise.
6379         * sysdeps/sh/_mcount.S: Likewise.
6380         * sysdeps/sh/sysdep.h: Likewise.
6381         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6382         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6383         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6384         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6385         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6386         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6387         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6388         * locale/localeinfo.h: Likewise.
6389         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6390         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6392 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6394         [BZ #14336]
6395         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6396         system".
6397         * manual/message.texi (The Uniforum approach): Likewise.
6398         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6399         (glibc iconv Implementation): Likewise.
6401 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6403         [BZ #14337]
6404         * math/s_clog.c (__clog): Avoid scaling a value down where that
6405         could result in underflow.
6406         * math/s_clog10.c (__clog10): Likewise.
6407         * math/s_clog10f.c (__clog10f): Likewise.
6408         * math/s_clog10l.c (__clog10l): Likewise.
6409         * math/s_clogf.c (__clogf): Likewise.
6410         * math/s_clogl.c (__clogl): Likewise.
6411         * math/libm-test.inc (clog_test): Add more tests.
6412         (clog10_test): Likewise.
6413         * sysdeps/i386/fpu/libm-test-ulps: Update.
6414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6416 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6418         [BZ #14283]
6419         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6420         by 7 not 8 to examine high bit of fractional part.
6422         [BZ #14042]
6423         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6424         for call to __mcount_internal.
6425         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6426         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6427         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6429 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6431         [BZ #14154]
6432         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6433         approximation for values within 0x1p-13f of an odd multiple of
6434         pi/4.
6435         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6436         exception.  Add more tests.
6437         * sysdeps/i386/fpu/libm-test-ulps: Update.
6439         [BZ #6778]
6440         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6441         inputs and return -1 for them.  Do not check for +Inf in case not
6442         reachable for +Inf.
6443         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6444         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6445         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6446         and return -1 for them.  Do not check for +Inf in case not
6447         reachable for +Inf.
6448         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6449         define.
6450         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6451         and return -1 for them.  Do not check for +Inf in case not
6452         reachable for +Inf.
6453         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6454         spurious underflow.
6455         * sysdeps/i386/fpu/libm-test-ulps: Update.
6456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6458 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6460         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6462 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6464         [BZ #14157]
6465         [BZ #14331]
6466         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6467         could result in spurious underflow.  Scale down values above
6468         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6469         * math/s_csqrtf.c (__csqrtf): Likewise.
6470         * math/s_csqrtl.c (__csqrtl): Likewise.
6471         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6472         spurious underflow.
6473         * sysdeps/i386/fpu/libm-test-ulps: Update.
6474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6476 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6478         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6479         xopen-msg.sed.
6480         * catgets/xopen-msg.awk: New file.
6481         * catgets/xopen-msg.sed: Removed.
6483         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6484         po2text.sed.
6485         * intl/po2test.awk: New file.
6486         * intl/po2test.sed: Removed.
6488 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6490         [BZ #14328]
6491         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6492         or multiply small sinh result by itself.
6493         * math/s_ctanf.c (__ctanf): Likewise.
6494         * math/s_ctanh.c (__ctanh): Likewise.
6495         * math/s_ctanhf.c (__ctanhf): Likewise.
6496         * math/s_ctanhl.c (__ctanhl): Likewise.
6497         * math/s_ctanl.c (__ctanl): Likewise.
6498         * math/libm-test.inc (ctan_test_tonearest): New function.
6499         (ctan_test_towardzero): Likewise.
6500         (ctan_test_downward): Likewise.
6501         (ctan_test_upward): Likewise.
6502         (ctanh_test_tonearest): Likewise.
6503         (ctanh_test_towardzero): Likewise.
6504         (ctanh_test_downward): Likewise.
6505         (ctanh_test_upward): Likewise.
6506         (main): Call these new functions.
6507         * sysdeps/i386/fpu/libm-test-ulps: Update.
6508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6510 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6512         * .gitignore: Delete /ports entry.
6514 2012-07-03  Andreas Jaeger  <aj@suse.de>
6516         * po/bg.po: Update from translation team.
6517         * po/cs.po: Likewise.
6518         * po/de.po: Likewise.
6519         * po/hr.po: Likewise.
6520         * po/nl.pl: Likewise.
6521         * po/pl.po: Likewise.
6522         * po/vi.po: Likewise.
6524 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6526         * Makeconfig [!+link] (+link-before-libc): New variable.
6527         [!+link] (+link-after-libc): Likewise.
6528         [!+link] (+link-tests): Likewise.
6529         [!+link] (+link): Define in terms of $(+link-before-libc) and
6530         $(+link-after-libc).
6531         [!+link-static] (+link-static-before-libc): New variable.
6532         [!+link-static] (+link-static-after-libc): Likewise.
6533         [!+link-static] (+link-static-tests): Likewise.
6534         [!+link-static] (+link-static): Define in terms of
6535         $(+link-static-before-libc) and $(+link-static-after-libc).
6536         [build-shared] (link-libc-before-gnulib): New variable.
6537         [build-shared] (link-libc-tests): Likewise.
6538         [build-shared] (link-libc): Define in terms of
6539         $(link-libc-before-gnulib).
6540         [!build-shared] (link-libc-tests): New variable.
6541         (link-libc-static-tests): New variable.
6542         [!gnulib] (gnulib-arch): New variable.
6543         [!gnulib] (gnulib-tests): Likewise.
6544         [!gnulib] (static-gnulib-arch): Likewise.
6545         [!gnulib] (static-gnulib-tests): Likewise.
6546         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6547         Define with "=" instead of ":=".
6548         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6549         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6550         * Rules (binaries-all-notests): New variable.
6551         (binaries-all-tests): Likewise.
6552         (binaries-static-notests): Likewise.
6553         (binaries-static-tests): Likewise.
6554         (binaries-all): Define using $(binaries-all-notests) and
6555         $(binaries-all-tests).
6556         (binaries-static): Define using $(binaries-static-notests) and
6557         $(binaries-static-tests).
6558         (binaries-shared-tests): New variable.
6559         (binaries-shared-notests): Likewise.
6560         (binaries-shared): Remove variable.
6561         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6562         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6563         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6564         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6565         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6566         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6567         * elf/Makefile (sln-modules): New variable.
6568         (extra-objs): Add $(sln-modules:=.o).
6569         (ldconfig-modules): Add static-stubs.
6570         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6571         * elf/static-stubs.c: New file.
6573         [BZ #14283]
6574         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6575         by 7 not 8 to examine high bit of fractional part.  Use volatile
6576         variables when splitting into final array of floats if
6577         __FLT_EVAL_METHOD__ != 0.
6578         * math/libm-test.inc (cos_test): Add another test.
6579         (sin_test): Likewise.
6580         * sysdeps/i386/fpu/libm-test-ulps: Update.
6582         [BZ #14273]
6583         * math/libm-test.inc (cosh_test): Add more tests.
6585         * version.h (RELEASE): Set to "development".
6586         (VERSION): Set to "2.16.90".
6588 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6590         * NEWS: Update copyright. Remove last-updated date.
6591         Mention math library bug fixes and timezone data changes.
6592         * README: Mention GNU/Hurd, x32, and HPPA support status.
6594 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6596         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6598 2012-06-27  Andreas Jaeger  <aj@suse.de>
6600         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6602 2012-06-25  Andreas Jaeger  <aj@suse.de>
6604         * sysdeps/s390/fpu/libm-test-ulps: Update.
6606 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6607             Thomas Schwinge  <thomas@codesourcery.com>
6609         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6610         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6611         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6612         fanotify_mark.
6614 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6616         * sysdeps/mach/start.c: Remove file.
6617         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6618         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6619         * sysdeps/sh/init-first.c: Likewise.
6621         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6622         registers for frame unwinding purposes, add CFI directives.
6623         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6624         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6625         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6626         Likewise.
6628         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6629         __fortify_fail returning.
6630         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6632         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6633         sysdeps/sh/____longjmp_chk.S.
6634         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6635         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6636         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6637         (gen-as-const-headers): Append sigaltstack-offsets.sym.
6639         * sysdeps/sh/abort-instr.h: New file.
6640         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6641         process in case exit returns.
6643         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6644         initialize the GOT register before use.
6646         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6647         calculation of ARGC > 4.
6649         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6650         meaningful names to some local labels.
6652 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6653             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6655         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6656         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6657         (__arch_compare_and_exchange_val_16_acq): Likewise.
6658         (__arch_compare_and_exchange_val_32_acq): Likewise.
6659         (atomic_exchange_and_add): Fix gUSA sequence.
6660         (atomic_add): Likewise.
6661         (atomic_add_negative): Likewise.
6662         (atomic_add_zero): Likewise.
6663         (atomic_bit_test_set): Likewise.
6665 2012-06-22  Andreas Schwab  <schwab@redhat.com>
6667         [BZ #13579]
6668         * include/link.h (struct link_map): Add l_free_initfini.
6669         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6670         l_initfini.
6671         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6672         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6673         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6674         set.
6676 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
6678         * configure.in: Use AC_LANG_SOURCE.
6679         * configure: Regenerate.
6681 2012-06-22  Roland McGrath  <roland@hack.frob.com>
6683         * configure.in (libc_cv_localstatedir): New substituted variable.
6684         * configure: Regenerated.
6685         * config.make.in (localstatedir): New variable, substituted from
6686         libc_cv_localstatedir.
6687         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6688         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6689         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6690         * sysdeps/gnu/configure: Regenerated.
6692 2012-06-21  Jeff Law  <law@redhat.com>
6694         [BZ #14277]
6695         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6696         free.  Simplify list management for _LIBC case.
6698 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
6700         [BZ #14273]
6701         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6702         Clear sign bit of 64-bit integer value before comparing against
6703         overflow value.
6705         * sysdeps/mach/configure: Regenerated.
6707 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
6709         [BZ #14278]
6710         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6712 2012-06-21  Jeff Law  <law@redhat.com>
6714         [BZ #13882]
6715         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
6716         uint16_t for elements in the "seen" array to avoid char overflows.
6717         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6718         * elf/dl-open.c (dl_open_worker): Likewise.
6720 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
6722         * scripts/list-sources.sh: Scan PORTS for translations.
6723         * po/libc.pot: Regenerated.
6725 2012-06-21  Andreas Jaeger  <aj@suse.de>
6727         [BZ #12194]
6728         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6729         warning.
6730         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6731         * bits/byteswap-16.h (__bswap_16): Likewise.
6732         * bits/byteswap.h (__bswap_constant_16): Likewise.
6734 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
6736         [BZ #14117]
6737         * sysdeps/i386/fpu_control.h: Removed.
6738         * sysdeps/x86_64/fpu_control.h: Moved to ...
6739         * sysdeps/x86/fpu_control.h: Here.
6741         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6742         (_FPU_SETCW): Likewise.
6744 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
6746         [BZ #14117]
6747         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6748         * sysdeps/x86/fpu/bits/mathinline.h: This.
6749         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6751         [BZ #14050]
6752         [BZ #14117]
6753         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6754         functions if __x86_64__ is defined.
6756 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
6758         * string/endian.h: Add !__ASSEMBLER__ condition for including
6759         conversion interfaces.
6761 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
6763         [BZ #14241]
6764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6765         of ABS(x) in calculating zero to negative powers other than odd
6766         integers.
6767         * math/libm-test.inc (pow_test): Add more tests.
6769 2012-06-15  Andreas Jaeger  <aj@suse.de>
6771         * manual/contrib.texi (Contributors): Update entry of Liubov
6772         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6773         Machado Filho.
6775 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
6777         * string/string.h: Add __wur to GNU version of strerror_r.
6779 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
6781         [BZ #14229]
6782         * string/Makefile (tests): Add tst-strtok_r.
6783         * string/tst-strtok_r.c: New file.
6784         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6785         RAX_LP/RDX_LP on SAVE_PTR.
6787 2012-06-14  Roland McGrath  <roland@hack.frob.com>
6789         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6791 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
6793         * libm_test.inc (csqrt_test): Allow more spurious underflow
6794         exceptions.
6795         (j0_test): Likewise.
6796         (j1_test): Likewise.
6797         (y0_test): Likewise.
6798         (y1_test): Likewise.
6800 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
6802         * po/Makefile (libc.pot): Use UTF-8 charset.
6804 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
6806         [BZ #14210]
6807         Suppress sign-conversion warning from FD_SET.
6808         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6809         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6810         not unsigned long int.
6811         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6813 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
6815         [BZ #14050]
6816         [BZ #14117]
6817         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6818         __extern_always_inline instead of __extern_inline.
6819         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6820         (__signbit): Likewise.
6821         (__signbitl): Support C++ namespace.
6822         (lrintf): New inline function.
6823         (lrint): Likewise.
6824         (llrintf): Likewise.
6825         (llrint): Likewise.
6826         (fmaxf): Likewise.
6827         (fmax): Likewise.
6828         (fminf): Likewise.
6829         (fmin): Likewise.
6830         (rint): Likewise.
6831         (rintf): Likewise.
6832         (ceil): Likewise.
6833         (ceilf): Likewise.
6834         (floor): Likewise.
6835         (floorf): Likewise.
6836         (nearbyint): Likewise.
6837         (nearbyintf): Likewise.
6839 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
6841         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6842         non-default versions.
6844 2012-06-11  Roland McGrath  <roland@hack.frob.com>
6846         [BZ #14218]
6847         * manual/argp.texi (Argp): Reword argp_parse description slightly.
6849 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
6851         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6852         (FE_UPWARD, FE_DOWNWARD): Don't define.
6853         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6854         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6856         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6857         reading it.
6858         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6859         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6861 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6863         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6864         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6865         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6866         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6868 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6870         [BZ #14117]
6871         * sysdeps/i386/fpu/bits/fenv.h: Removed.
6872         * sysdeps/i386/fpu/Implies: New file.
6873         * sysdeps/x86_64/fpu/Implies: Likewise.
6874         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6875         * sysdeps/x86/fpu/bits/fenv.h: This.
6877         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6878         __SSE_MATH__.
6880 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6882         [BZ #14134]
6883         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6884         character 0xffff that matches the last element of the
6885         conversion table.
6887 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6889         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6890         fmodl commit.
6892 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6895         values higher than 25.6283.
6897 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6899         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6900         subnormal exponent extraction and add some __builtin_expect.
6901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6902         Fix for subnormal mantissa calculation.
6904 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
6906         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6907         cpu2 is -1 and errno is not ENOSYS.
6909 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
6911         [BZ #14117]
6912         * sysdeps/i386/i486/bits/string.h: Renamed to ...
6913         * sysdeps/x86/bits/string.h: This.
6914         * sysdeps/x86_64/bits/string.h: Removed.
6916         * sysdeps/i386/i486/bits/string.h: Define inline functions only
6917         if not compiling for x86-64, but compiling for >= i486.
6919         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6920         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6922         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6923         New macro from Linux kernel 3.4.0.
6924         (FP_XSTATE_MAGIC2): Likewise.
6925         (FP_XSTATE_MAGIC2_SIZE): Likewise.
6926         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6927         (struct _fpx_sw_bytes): New struct.
6928         (struct _xsave_hdr): Likewise.
6929         (struct _ymmh_state): Likewise.
6930         (struct _xstate): Likewise.
6932         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6933         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6934         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6935         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6936         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6937         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6939         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6940         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6941         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6942         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6943         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6944         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6946 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6948         [BZ #13743]
6949         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6950         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6951         (sysdep_headers): Include sys/platform/ppc.h.
6952         * sysdeps/powerpc/test-gettimebase.c: Test for
6953         __ppc_get_timebase() to catch future ISA opcode/insn changes.
6954         * manual/Makefile (appendices): Include platform.texi.
6955         * manual/contrib.texi (Contributors): Update @node pointers.
6956         * manual/maint.texi (Maintenance): Likewise.
6957         (Platform): New node.
6958         * manual/platform.texi: New file.  Document the new features.
6960 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6961             Jakub Jelinek  <jakub@redhat.com>
6963         [BZ #14188]
6964         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6965         where __builtin_expect is unavailable.
6967 2012-06-03  David S. Miller  <davem@davemloft.net>
6969         * stdlib/longlong.h: Updated from GCC.
6971 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
6973         [BZ #14042]
6974         * sysdeps/powerpc/powerpc32/mcount.c: New file.
6975         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6976         __mcount_internal.
6977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6978         (GLIBC_2.16): Likewise.
6980 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6982         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6984 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6987         (default-abi): New variable.
6988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6989         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6990         variable.
6991         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6994         Likewise.
6995         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6996         Likewise.
6998         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6999         definition.  Document in comment.
7001 2012-06-01  David S. Miller  <davem@davemloft.net>
7003         * stdlib/longlong.h: Updated from GCC.
7005 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7007         [BZ #14117]
7008         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7009         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7010         sys/debugreg.h sys/io.h here.
7011         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7012         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7013         sys/io.h.
7014         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7015         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7016         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7017         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7018         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7019         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7021         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7022         Define only if __x86_64__ is defined.
7024 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7026         [BZ #14048]
7027         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7028         Use int64_t for variable i.
7029         * math/libm-test.inc (fmod_test): Add more tests.
7031         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7032         z computation is not scheduled after fetestexcept.
7033         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7034         Use math_force_eval instead of asm to ensure calculation scheduled
7035         before exception test.
7036         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7037         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7039 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7042         computation is not scheduled after fetestexcept.
7044 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7046         [BZ #14117]
7047         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7048         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7050 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7052         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7053         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7055 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7057         [BZ #14117]
7058         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7059         <bits/wordsize.h>.
7060         (__WCHAR_MIN): Support __WORDSIZE == 64.
7061         (__WCHAR_MAX): Likewise.
7063         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7064         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7066         [BZ #14183]
7067         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7068         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7070         [BZ #14117]
7071         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7072         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7074         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7075         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7077         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7078         Defined to 1 if __x86_64__ isn't defined.
7079         (_STAT_VER_LINUX_OLD): New.
7080         (st_atime): Remove duplicate.
7081         (st_mtime): Likewise.
7082         (st_ctime): Likewise.
7084 2012-05-31  David S. Miller  <davem@davemloft.net>
7086         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7087         entries.
7089 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7091         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7092         gen-libm-test.pl.
7094         [BZ #14132]
7095         * elf/dl-reloc.c: Include <_itoa.h>.
7096         (_dl_reloc_bad_type): Remove use of INTUSE.
7097         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7098         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7099         * stdio-common/psiginfo.c (psiginfo): Likewise.
7100         * stdio-common/psignal.c (psignal): Likewise.
7101         * string/strsignal.c (strsignal): Likewise.
7102         * include/signal.h (_sys_siglist): Declare hidden proto.
7103         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7104         INTVARDEF with libc_hidden_data_def.
7105         * stdio-common/itoa-udigits.c: Likewise.
7106         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7107         (_itoa_lower_digits_internal): Remove declaration.
7108         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7109         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7110         (_sys_sigabbrev_internal): Remove aliases.
7111         (_sys_siglist): Define hidden alias.
7113 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7116         bits/sysctl.h.
7118 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7120         [BZ #14117]
7121         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7122         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7124         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7125         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7126         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7127         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7128         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7129         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7131         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7132         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7133         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7135         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7136         with __addr.
7137         (insw): Likewise.
7138         (insl): Likewise.
7139         (outsb): Likewise.
7140         (outsw): Likewise.
7141         (outsl): Likewise.
7143         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7144         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7145         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7147         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7148         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7149         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7150         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7151         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7152         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7154         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7155         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7157         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7158         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7160         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7161         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7162         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7164         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7165         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7166         to ...
7167         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7169         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7170         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7171         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7173         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7174         for x86-64.
7175         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7177 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7179         * math/math.h (M_El): Use two more decimal places.
7180         (M_LOG2El): Likewise.
7181         (M_LOG10El): Likewise.
7182         (M_LN2l): Likewise.
7183         (M_LN10l): Likewise.
7184         (M_PIl): Likewise.
7185         (M_PI_2l): Likewise.
7186         (M_PI_4l): Likewise.
7187         (M_1_PIl): Likewise.
7188         (M_2_PIl): Likewise.
7189         (M_2_SQRTPIl): Likewise.
7190         (M_SQRT2l): Likewise.
7191         (M_SQRT1_2l): Likewise.
7193 2012-05-31  David S. Miller  <davem@davemloft.net>
7195         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7196         values between float registers.
7197         * sysdeps/sparc/sparc64/memset.S: Likewise.
7198         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7200 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7202         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7203         -D_FORTIFY_SOURCE=1.
7204         (CPPFLAGS-tst-longjmp_chk.c): Define.
7205         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7206         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7207         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7208         CFLAGS-tst-wchar-h.c.
7210 2012-05-31  Marek Polacek  <polacek@redhat.com>
7212         [BZ #14132]
7213         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7214         __endmntent_internal): Remove declaration.
7215         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7216         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7217         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7219 2012-05-30  David S. Miller  <davem@davemloft.net>
7221         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7222         (___Q_simulate_exceptions): Use real FP ops rather than writing
7223         into the %fsr.
7224         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7225         Likewise.
7227 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7229         [BZ #14117]
7230         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7231         * sysdeps/x86/bits/xtitypes.h: This.
7233         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7234         * sysdeps/x86/bits/wordsize.h: This.
7236         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7237         * sysdeps/x86/bits/huge_vall.h: This.
7239         * sysdeps/i386/bits/select.h: Removed.
7240         * sysdeps/x86_64/bits/select.h: Renamed to ...
7241         * sysdeps/x86/bits/select.h: This.
7243         * sysdeps/i386/bits/setjmp.h: Removed.
7244         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7245         * sysdeps/x86/bits/setjmp.h: This.
7247         * sysdeps/i386/bits/mathdef.h: Removed.
7248         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7249         * sysdeps/x86/bits/mathdef.h: This.
7251 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7253         [BZ #14132]
7254         * include/sys/socket.h (__connect_internal)
7255         (__libc_sa_len_internal): Remove declaration.
7256         (__connect, __libc_sa_len): Declare hidden_proto.
7257         (SA_LEN): Remove use of INTUSE.
7258         * socket/connect.c: Add libc_hidden_def.
7259         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7260         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7261         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7262         alias.
7263         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7264         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7265         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7266         of adding _internal alias.
7268 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7270         [BZ #14117]
7271         * sysdeps/i386/bits/link.h: Removed.
7272         * sysdeps/i386/bits/linkmap.h: Likewise.
7273         * sysdeps/x86_64/bits/link.h: Renamed to ...
7274         * sysdeps/x86/bits/link.h: This.
7275         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7276         * sysdeps/x86/bits/linkmap.h: This.
7278         * sysdeps/i386/bits/endian.h: Removed.
7279         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7280         * sysdeps/x86/bits/endian.h: This.
7282         * sysdeps/i386/bits/byteswap.h: Removed.
7283         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7284         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7285         * sysdeps/x86/bits/byteswap.h: This.
7286         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7287         * sysdeps/x86/bits/byteswap-16.h: This.
7288         * sysdeps/i386/Implies: Add x86.
7289         * sysdeps/x86_64/Implies: Likewise.
7291 2012-05-30  David S. Miller  <davem@davemloft.net>
7293         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7294         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7295         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7296         (FP_TRAPPING_EXCEPTIONS): Define.
7297         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7298         (FP_TRAPPING_EXCEPTIONS): Define.
7299         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7300         subnormals only when inexact has been signalled or underflow
7301         exceptions are enabled.
7302         (_FP_PACK_CANONICAL): Likewise.
7304 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7306         [BZ #14183]
7307         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7308         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7310 2012-05-30  Richard Henderson  <rth@twiddle.net>
7312         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7313         with #ifndef NOT_IN_libc.
7315         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7316         marked to avoid plt entry.
7318 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7320         [BZ #14112]
7321         * Makeconfig (default-abi): New macro.
7322         (abi-includes): Likewise.
7323         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7324         $(abi-$(default-abi)-lib-soname) for soname if defined.
7325         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7326         abi-variants.
7327         * Makefile (installed-stubs): Likewise.
7328         * include/stubs-biarch.h: Removed.
7329         * scripts/lib-names.awk: Only handle one library at a time.
7330         * scripts/soversions.awk: Remove WORDSIZE support.
7331         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7332         entries.
7333         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7334         Removed.
7335         (syscall-list-default-condition): Likewise.
7336         (syscall-list-default-condition): Likewise.
7337         (syscall-list-includes): Likewise.
7338         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7339         syscall-list-* with abi-*.  Handle undefined abi-variants.
7340         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7341         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7342         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7343         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7344         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7345         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7346         Removed.
7347         (syscall-list-32-options): Likewise.
7348         (syscall-list-32-condition): Likewise.
7349         (syscall-list-64-options): Likewise.
7350         (syscall-list-64-condition): Likewise.
7351         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7352         macro.
7353         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7354         Renamed to ...
7355         (abi-*): This.
7356         (abi-64-ld-soname): New macro.
7357         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7358         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7359         Renamed to ...
7360         (abi-*): This.
7361         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7362         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7364 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7366         * sysdeps/unix/sysv/linux/kernel-features.h
7367         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7368         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7369         include <kernel-features.h>.
7370         [!__NR_ftruncate64]: Remove conditional code.
7371         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7372         [__NR_ftruncate64]: Make code unconditional.
7373         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7374         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7375         include <kernel-features.h>.
7376         [!__NR_ftruncate64]: Remove conditional code.
7377         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7378         [__NR_ftruncate64]: Make code unconditional.
7379         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7381         include <kernel-features.h>.
7382         [!__NR_ftruncate64]: Remove conditional code.
7383         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7384         [__NR_ftruncate64]: Make code unconditional.
7385         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7387         include <kernel-features.h>.
7388         [!__NR_ftruncate64]: Remove conditional code.
7389         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7390         [__NR_ftruncate64]: Make code unconditional.
7391         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7393         * configure.in (libc_cv_fpie): Weaken to a compile test using
7394         LIBC_TRY_CC_OPTION.
7395         * configure: Regenerated.
7397 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7403         Refreshed.
7404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7410         Refreshed.
7412 2012-05-27  David S. Miller  <davem@davemloft.net>
7414         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7415         (___Q_zero): New.
7416         (__Q_simulate_exceptions): Return void.  Change to simulate
7417         exceptions by writing into the %fsr.
7418         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7419         (__Qp_handle_exceptions): Likewise.
7420         (numbers): Delete.
7421         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7422         __Qp_handle_exceptions.
7423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7424         __Qp_handle_exceptions.
7425         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7426         as unused and give dummy FP_RND_NEAREST initializer.
7427         (FP_INHIBIT_RESULTS): Define.
7428         (___Q_simulate_exceptions): Update declaration.
7429         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7430         formatting.
7431         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7432         as unused and give dummy FP_RND_NEAREST initializer.
7433         (__Qp_handle_exceptions): Update declaration.
7434         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7435         formatting.
7437 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7439         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7440         the temporary FPU control word.
7441         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7442         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7443         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7444         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7445         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7446         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7447         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7448         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7449         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7450         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7451         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7453 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7455         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7456         fields.
7458 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7460         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7461         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7462         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7463         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7464         Likewise.
7465         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7466         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7467         Likewise.
7469 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7471         * po/h.po: Update from translation team.
7473 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7475         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7477         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7478         handling of denormals.
7479         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7480         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7481         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7482         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7483         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7486         Likewise.
7488 2012-05-26  Marek Polacek  <polacek@redhat.com>
7490         [BZ #14152]
7491         * math/libm-test.inc (fma_test): Don't always expect underflow
7492         exception.
7494 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7496         [BZ #12416]
7497         * elf/tst-execstack.c: Include stackinfo.h.
7498         (do_test): Adjust test case to ensure that pthread_getattr_np
7499         behaviour remains the same after marking stack executable.
7501 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7503         * sysdeps/unix/sysv/linux/kernel-features.h
7504         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7505         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7506         kernel-features.h.
7507         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7508         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7509         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7510         kernel-features.h.
7511         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7512         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7514 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7516         * configure.in: Define the default includes to being none.
7517         * configure: Regenerated.
7519 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7521         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7522         * sysdeps/x86_64/setjmp.S: Likewise.
7523         * sysdeps/i386/bsd-setjmp.S: Likewise.
7524         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7525         * sysdeps/i386/setjmp.S: Likewise.
7526         * sysdeps/i386/__longjmp.S: Likewise.
7527         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7528         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7530         * include/stap-probe.h: New file.
7531         * configure.in: Handle --enable-systemtap.
7532         * configure: Regenerated.
7533         * config.h.in (USE_STAP_PROBE): New #undef.
7534         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7535         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7536         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7538 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7540         [BZ #13717]
7541         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7542         to 2.4.0 where earlier.
7543         * sysdeps/unix/sysv/linux/configure: Regenerated.
7544         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7545         <kernel-features.h>.
7546         [__ASSUME_32BITUIDS]: Make code unconditional.
7547         [!__ASSUME_32BITUIDS]: Remove conditional code.
7548         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7549         <kernel-features.h>.
7550         [__ASSUME_32BITUIDS]: Make code unconditional.
7551         [!__ASSUME_32BITUIDS]: Remove conditional code.
7552         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7553         [__ASSUME_32BITUIDS]: Make code unconditional.
7554         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7555         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7556         <kernel-features.h>.
7557         [__ASSUME_32BITUIDS]: Make code unconditional.
7558         [!__ASSUME_32BITUIDS]: Remove conditional code.
7559         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7560         <kernel-features.h>.
7561         [__ASSUME_32BITUIDS]: Make code unconditional.
7562         [!__ASSUME_32BITUIDS]: Remove conditional code.
7563         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7564         <kernel-features.h>.
7565         [__ASSUME_32BITUIDS]: Make code unconditional.
7566         [!__ASSUME_32BITUIDS]: Remove conditional code.
7567         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7568         <kernel-features.h>.
7569         [__ASSUME_32BITUIDS]: Make code unconditional.
7570         [!__ASSUME_32BITUIDS]: Remove conditional code.
7571         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7572         <kernel-features.h>.
7573         [__ASSUME_32BITUIDS]: Make code unconditional.
7574         [!__ASSUME_32BITUIDS]: Remove conditional code.
7575         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7576         <kernel-features.h>.
7577         [__ASSUME_32BITUIDS]: Make code unconditional.
7578         [!__ASSUME_32BITUIDS]: Remove conditional code.
7579         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7580         <kernel-features.h>.
7581         [__ASSUME_32BITUIDS]: Make code unconditional.
7582         [!__ASSUME_32BITUIDS]: Remove conditional code.
7583         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7584         <kernel-features.h>.
7585         [__ASSUME_32BITUIDS]: Make code unconditional.
7586         [!__ASSUME_32BITUIDS]: Remove conditional code.
7587         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7588         <kernel-features.h>.
7589         [__ASSUME_32BITUIDS]: Make code unconditional.
7590         [!__ASSUME_32BITUIDS]: Remove conditional code.
7591         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7592         <kernel-features.h>.
7593         [__ASSUME_32BITUIDS]: Make code unconditional.
7594         [!__ASSUME_32BITUIDS]: Remove conditional code.
7595         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7596         <kernel-features.h>.
7597         [__NR_setresgid] (__setresgid): Do not declare.
7598         [__ASSUME_32BITUIDS]: Make code unconditional.
7599         [!__ASSUME_32BITUIDS]: Remove conditional code.
7600         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7601         <kernel-features.h>.
7602         [__NR_setresuid] (__setresuid): Do not declare.
7603         [__ASSUME_32BITUIDS]: Make code unconditional.
7604         [!__ASSUME_32BITUIDS]: Remove conditional code.
7605         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7606         <kernel-features.h>.
7607         [__ASSUME_32BITUIDS]: Make code unconditional.
7608         [!__ASSUME_32BITUIDS]: Remove conditional code.
7609         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7610         <kernel-features.h>.
7611         [__ASSUME_32BITUIDS]: Make code unconditional.
7612         [!__ASSUME_32BITUIDS]: Remove conditional code.
7613         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7614         <kernel-features.h>.
7615         [__ASSUME_32BITUIDS]: Make code unconditional.
7616         [!__ASSUME_32BITUIDS]: Remove conditional code.
7617         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7618         <kernel-features.h>.
7619         [__ASSUME_32BITUIDS]: Make code unconditional.
7620         [!__ASSUME_32BITUIDS]: Remove conditional code.
7621         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7622         <kernel-features.h>.
7623         [__ASSUME_32BITUIDS]: Make code unconditional.
7624         [!__ASSUME_32BITUIDS]: Remove conditional code.
7625         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7626         <kernel-features.h>.
7627         [__ASSUME_32BITUIDS]: Make code unconditional.
7628         [!__ASSUME_32BITUIDS]: Remove conditional code.
7629         * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
7634         <kernel-features.h>.
7635         [__ASSUME_32BITUIDS]: Make code unconditional.
7636         [!__ASSUME_32BITUIDS]: Remove conditional code.
7637         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7638         <kernel-features.h>.
7639         [__ASSUME_32BITUIDS]: Make code unconditional.
7640         [!__ASSUME_32BITUIDS]: Remove conditional code.
7641         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7642         <kernel-features.h>.
7643         [__ASSUME_32BITUIDS]: Make code unconditional.
7644         [!__ASSUME_32BITUIDS]: Remove conditional code.
7645         * sysdeps/unix/sysv/linux/kernel-features.h
7646         (__ASSUME_SETRESUID_SYSCALL): Remove.
7647         (__ASSUME_SETRESGID_SYSCALL): Likewise.
7648         (__ASSUME_32BITUIDS): Likewise.
7649         (__ASSUME_LDT_WORKS): Likewise.
7650         (__ASSUME_O_DIRECTORY): Likewise.
7651         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7652         architecture but not kernel version.
7653         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7654         (__ASSUME_MMAP2_SYSCALL): Likewise.
7655         (__ASSUME_STAT64_SYSCALL): Likewise.
7656         (__ASSUME_IPC64): Likewise.
7657         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7658         <kernel-features.h>.
7659         [__ASSUME_32BITUIDS]: Make code unconditional.
7660         [!__ASSUME_32BITUIDS]: Remove conditional code.
7661         * sysdeps/unix/sysv/linux/opendir.c: Do not include
7662         <kernel-features.h>.
7663         [__ASSUME_O_DIRECTORY]: Make code unconditional.
7664         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7665         132096]: Remove conditional code.
7666         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7667         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7668         <kernel-features.h>.
7669         [__ASSUME_32BITUIDS]: Make code unconditional.
7670         [!__ASSUME_32BITUIDS]: Remove conditional code.
7671         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7672         <kernel-features.h>.
7673         [__ASSUME_32BITUIDS]: Make code unconditional.
7674         [!__ASSUME_32BITUIDS]: Remove conditional code.
7675         * sysdeps/unix/sysv/linux/setegid.c: Do not include
7676         <kernel-features.h>.
7677         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7678         unconditional.
7679         (__setresgid): Do not declare.
7680         [__ASSUME_32BITUIDS]: Make code unconditional.
7681         [!__ASSUME_32BITUIDS]: Remove conditional code.
7682         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7683         <kernel-features.h>.
7684         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7685         unconditional.
7686         (__setresuid): Do not declare.
7687         [__ASSUME_32BITUIDS]: Make code unconditional.
7688         [!__ASSUME_32BITUIDS]: Remove conditional code.
7689         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7690         <kernel-features.h>.
7691         [__ASSUME_32BITUIDS]: Make code unconditional.
7692         [!__ASSUME_32BITUIDS]: Remove conditional code.
7693         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7694         <kernel-features.h>.
7695         [__ASSUME_32BITUIDS]: Make code unconditional.
7696         [!__ASSUME_32BITUIDS]: Remove conditional code.
7698 2012-05-25  Richard Henderson  <rth@twiddle.net>
7700         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7701         dl_hwcap to ifunc resolver.
7702         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7703         elf_ifunc_invoke.
7704         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7705         dl_hwcap to ifunc resolver.
7706         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7708 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7710         [BZ #14153]
7711         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7712         for |x| <= 2**-26, not 2**-57.
7713         * math/libm-test.inc (acos_test): Do not allow spurious underflow
7714         exception.
7716 2012-05-24  Jeff Law  <law@redhat.com>
7718         * stdio-common/Makefile (tests): Add bug25.
7719         * stdio-common/bug25.c: New test.
7721 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7723         [BZ #13576]
7724         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7725         multiple of MALLOC_ALIGNMENT in size.
7726         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7728 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7730         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7731         Require >= 256.
7732         (FILENAME_MAX): Use macro-int-constant.
7733         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
7734         (_IOFBF): Use macro-int-constant.
7735         (_IOLBF): Likewise.
7736         (_IONBF): Likewise.
7737         (SEEK_CUR): Likewise.
7738         (SEEK_END): Likewise.
7739         (SEEK_SET): Likewise.
7740         (TMP_MAX): Likewise.
7741         (EOF): Use macro-int-constant.  Require < 0.
7742         (NULL): Use macro-constant.  Require == 0.
7743         (stdin): Require type to be FILE *.
7744         (stdout): Likewise.
7745         (stderr): Likewise.
7746         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7747         macro-int-constant.
7748         (EXIT_SUCCESS): Likewise.
7749         (NULL): Use macro-constant.  Require == 0.
7750         (RAND_MAX): Use macro-int-constant.
7751         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7752         [C99-based standards] (strtof): Require function.
7753         [C99-based standards] (strtold): Likewise.
7754         [C99-based standards] (strtoll): Likewise.
7755         [C99-based standards] (strtoull): Likewise.
7756         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7757         [ISO || ISO99 || ISO11] (limits.h): Likewise.
7758         [ISO || ISO99 || ISO11] (math.h): Likewise.
7759         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7760         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7761         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7763 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
7765         [BZ #14132]
7766         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7767         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7768         * intl/dgettext.c (DCGETTEXT): Likewise.
7769         * intl/gettext.c (DCGETTEXT): Likewise.
7770         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7771         * posix/regex_internal.h (gettext): Likewise.
7772         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7773         Remove declaration.
7774         * include/argz.h (__argz_count_internal)
7775         (__argz_stringify_internal): Remove declaration.
7776         (__argz_count, __argz_stringify): Declare hidden proto.
7777         * intl/dcgettext.c: Remove use of INTDEF.
7778         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7779         * string/argz-stringify.c: Likewise.
7780         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7781         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7782         Declare hidden proto.
7783         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7784         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7785         Declare hidden proto.
7786         * include/stdio.h (__asprintf_internal): Don't declare.
7787         (__asprintf): Don't define as macro.  Declare hidden proto.
7788         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7789         (__fsetlocking): Declare hidden proto.
7790         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7791         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7792         hidden proto.
7793         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7794         (_IO_setlinebuf): Remove use of INTUSE.
7795         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7796         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7797         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7798         Remove declaration.
7799         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7800         (_IO_do_flush): Remove use of INTUSE.
7801         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7802         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7803         (_IO_adjust_column, _IO_least_wmarker)
7804         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7805         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7806         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7807         (_IO_default_doallocate, _IO_wdefault_doallocate)
7808         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7809         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7810         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7811         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7812         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7813         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7814         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7815         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7816         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7817         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7818         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7819         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7820         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7821         proto.
7822         (_IO_flush_all_internal, _IO_adjust_column_internal)
7823         (_IO_default_uflow_internal, _IO_default_finish_internal)
7824         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7825         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7826         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7827         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7828         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7829         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7830         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7831         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7832         (_IO_file_close_internal, _IO_file_close_it_internal)
7833         (_IO_file_underflow_internal, _IO_file_overflow_internal)
7834         (_IO_file_init_internal, _IO_file_attach_internal)
7835         (_IO_file_fopen_internal, _IO_file_read_internal)
7836         (_IO_file_sync_internal, _IO_file_seek_internal)
7837         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7838         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7839         (_IO_str_underflow_internal, _IO_str_overflow_internal)
7840         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7841         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7842         (_IO_list_all_internal, _IO_link_in_internal)
7843         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7844         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7845         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7846         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7847         (_IO_do_write_internal, _IO_padn_internal)
7848         (_IO_getline_info_internal, _IO_getline_internal)
7849         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7850         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7851         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7852         (_IO_vfscanf_internal, _IO_vfprintf_internal)
7853         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7854         (_IO_init_internal, _IO_un_link_internal): Don't declare.
7855         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7856         with libc_hidden_ver, remove use of INTUSE.
7857         * libio/genops.c: Likewise.
7858         * libio/freopen.c: Likewise.
7859         * libio/freopen64.c: Likewise.
7860         * libio/iofclose.c: Likewise.
7861         * libio/iofdopen.c: Likewise.
7862         * libio/iofflush.c: Likewise.
7863         * libio/iofflush_u.c: Likewise.
7864         * libio/iofgets.c: Likewise.
7865         * libio/iofgets_u.c: Likewise.
7866         * libio/iofopen.c: Likewise.
7867         * libio/iofopncook.c: Likewise.
7868         * libio/iofread.c: Likewise.
7869         * libio/iofread_u.c: Likewise.
7870         * libio/ioftell.c: Likewise.
7871         * libio/iofwrite.c: Likewise.
7872         * libio/iogetline.c: Likewise.
7873         * libio/iogets.c: Likewise.
7874         * libio/iogetwline.c: Likewise.
7875         * libio/iopadn.c: Likewise.
7876         * libio/iopopen.c: Likewise.
7877         * libio/ioseekoff.c: Likewise.
7878         * libio/ioseekpos.c: Likewise.
7879         * libio/iosetbuffer.c: Likewise.
7880         * libio/iosetvbuf.c: Likewise.
7881         * libio/ioungetc.c: Likewise.
7882         * libio/ioungetwc.c: Likewise.
7883         * libio/iovdprintf.c: Likewise.
7884         * libio/iovsprintf.c: Likewise.
7885         * libio/iovsscanf.c: Likewise.
7886         * libio/memstream.c: Likewise.
7887         * libio/obprintf.c: Likewise.
7888         * libio/oldfileops.c: Likewise.
7889         * libio/oldiofclose.c: Likewise.
7890         * libio/oldiofdopen.c: Likewise.
7891         * libio/oldiofopen.c: Likewise.
7892         * libio/oldiopopen.c: Likewise.
7893         * libio/oldstdfiles.c: Likewise.
7894         * libio/putc.c: Likewise.
7895         * libio/setbuf.c: Likewise.
7896         * libio/setlinebuf.c: Likewise.
7897         * libio/stdfiles.c: Likewise.
7898         * libio/strops.c: Likewise.
7899         * libio/vasprintf.c: Likewise.
7900         * libio/vscanf.c: Likewise.
7901         * libio/vsnprintf.c: Likewise.
7902         * libio/vswprintf.c: Likewise.
7903         * libio/wfiledoalloc.c: Likewise.
7904         * libio/wfileops.c: Likewise.
7905         * libio/wgenops.c: Likewise.
7906         * libio/wmemstream.c: Likewise.
7907         * libio/wstrops.c: Likewise.
7908         * libio/__fpurge.c: Likewise.
7909         * libio/__fsetlocking.c: Likewise.
7910         * assert/assert.c: Likewise.
7911         * debug/fgets_chk.c: Likewise.
7912         * debug/fgets_u_chk.c: Likewise.
7913         * debug/fread_chk.c: Likewise.
7914         * debug/fread_u_chk.c: Likewise.
7915         * debug/gets_chk.c: Likewise.
7916         * debug/obprintf_chk.c: Likewise.
7917         * debug/vasprintf_chk.c: Likewise.
7918         * debug/vdprintf_chk.c: Likewise.
7919         * debug/vsnprintf_chk.c: Likewise.
7920         * debug/vsprintf_chk.c: Likewise.
7921         * malloc/mtrace.c: Likewise.
7922         * misc/error.c: Likewise.
7923         * misc/syslog.c: Likewise.
7924         * stdio-common/asprintf.c: Likewise.
7925         * stdio-common/fxprintf.c: Likewise.
7926         * stdio-common/getw.c: Likewise.
7927         * stdio-common/isoc99_fscanf.c: Likewise.
7928         * stdio-common/isoc99_scanf.c: Likewise.
7929         * stdio-common/isoc99_vfscanf.c: Likewise.
7930         * stdio-common/isoc99_vscanf.c: Likewise.
7931         * stdio-common/isoc99_vsscanf.c: Likewise.
7932         * stdio-common/printf-prs.c: Likewise.
7933         * stdio-common/printf_fp.c: Likewise.
7934         * stdio-common/printf_fphex.c: Likewise.
7935         * stdio-common/printf_size.c: Likewise.
7936         * stdio-common/putw.c: Likewise.
7937         * stdio-common/scanf.c: Likewise.
7938         * stdio-common/sprintf.c: Likewise.
7939         * stdio-common/tmpfile.c: Likewise.
7940         * stdio-common/vfprintf.c: Likewise.
7941         * stdio-common/vfscanf.c: Likewise.
7942         * stdlib/strfmon_l.c: Likewise.
7943         * sunrpc/openchild.c: Likewise.
7944         * sunrpc/xdr_stdio.c: Likewise.
7945         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7946         * sysdeps/mach/hurd/tmpfile.c: Likewise.
7948 2012-05-24  Roland McGrath  <roland@hack.frob.com>
7950         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7952         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7953         in the third column, to generate for the shared library an IFUNC
7954         that uses _dl_vdso_vsym.
7955         * Makerules (COMPILE.c, compile-stdin.c): New variables.
7956         * Makeconfig (object-suffixes-noshared): New variable.
7958         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7959         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7960         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7961         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7963         [BZ #14132]
7964         * include/sys/time.h (__gettimeofday): Remove macro.
7965         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7966         * time/gettimeofday.c (__gettimeofday): Remove #undef.
7967         Remove INTDEF.
7968         (__gettimeofday): Add libc_hidden_def.
7969         (gettimeofday): Add libc_hidden_weak.
7970         * sysdeps/mach/gettimeofday.c: Likewise.
7971         * sysdeps/posix/gettimeofday.c: Likewise.
7972         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7973         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7974         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7975         (__gettimeofday_internal): Remove strong_alias.
7976         (__gettimeofday): Add libc_hidden_def.
7977         (gettimeofday): Add libc_hidden_weak.
7978         * sysdeps/unix/syscalls.list (gettimeofday):
7979         Remove __gettimeofday_internal alias.
7981 2012-05-24  Daniel Jacobowitz  <drow@false.org>
7982             H.J. Lu  <hongjiu.lu@intel.com>
7984         [BZ #12495]
7985         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7986         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7987         (largebin_index_32_big): New.
7988         (largebin_index): Use it for 16-byte alignment.
7989         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
7990         correction with front_misalign.
7992 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7996         Likewise.
7997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7998         Likewise.
7999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8002         Likewise.
8003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8004         Likewise.
8005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8006         Likewise.
8007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8008         Likewise.
8009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8010         Likewise.
8011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8012         Likewise.
8013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8014         Likewise.
8015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8016         Likewise.
8017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8018         Likewise.
8020         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8021         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8023 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8025         [BZ #10846]
8026         [BZ #14036]
8027         * math/libm-test.inc (exp_test): Add test from bug 14036.
8028         (pow_test): Add test from bug 10846.
8030         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8031         and other flags.
8032         (special_function): Do not include flags in test name.
8033         (parse_args): Likewise.
8034         * sysdeps/i386/fpu/libm-test-ulps: Update.
8035         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8036         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8037         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8041         exceptions.
8042         * math/libm-test.inc ("Philosophy"): Update comment about
8043         exception testing.
8044         (UNDERFLOW_EXCEPTION): New macro.
8045         (UNDERFLOW_EXCEPTION_OK): Likewise.
8046         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8047         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8048         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8049         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8050         (INVALID_EXCEPTION_OK): Update value.
8051         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8052         (OVERFLOW_EXCEPTION_OK): Likewise.
8053         (IGNORE_ZERO_INF_SIGN): Likewise.
8054         (test_exceptions): Handle underflow exceptions.
8055         (acos_test): Update for underflow exception expectations.
8056         (cexp_test): Likewise.
8057         (clog_test): Likewise.
8058         (clog10_test): Likewise.
8059         (csqrt_test): Likewise.
8060         (ctan_test): Likewise.
8061         (ctanh_test): Likewise.
8062         (exp_test): Likewise.
8063         (exp10_test): Likewise.
8064         (exp2_test): Likewise.
8065         (expm1_test): Likewise.
8066         (fma_test): Likewise.
8067         (j0_test): Likewise.
8068         (jn_test): Likewise.
8069         (nexttoward_test): Likewise.
8070         (pow_test): Likewise.
8071         (scalbn_test): Likewise.
8072         (scalbln_test): Likewise.
8073         (tan_test): Likewise.
8074         (y1_test): Likewise.
8075         * sysdeps/i386/fpu/libm-test-ulps: Update.
8076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8078 2012-05-23  David S. Miller  <davem@davemloft.net>
8080         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8081         (__libc_sigaction): Remove unused local variables.
8083 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8085         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8087 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8089         mktime: avoid signed integer overflow
8090         * time/mktime.c (__mktime_internal): Do not mishandle the case
8091         where diff == INT_MIN.
8093         mktime: simplify computation of average
8094         * time/mktime.c (ranged_convert): Use new time_t_avg function
8095         instead of rolling our own (probably-slower) code.
8097         mktime: do not assume signed right shift propagates sign bit
8098         * time/mktime.c (isdst_differ): New static function.
8099         (__mktime_internal): No need to normalize tm_isdst now.
8100         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8101         tm_isdst values.
8103         mktime: merge another wrapv change from gnulib
8104         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8105         from some compilers.
8107         mktime: remove incorrect attempt at unusual arithmetics
8108         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8109         The code didn't really work on such machines anyway.
8110         (TYPE_MINIMUM): Assume two's complement.
8111         (twos_complement_arithmetic): Verify that long_int and time_t
8112         are two's complement (or unsigned, in the latter case).
8114         mktime: check signed shifts on long_int and time_t, too
8115         * time/mktime.c (SHR): Check that shifts work as desired
8116         on the types long_int and time_t too, as SHR is used on
8117         such types.
8119         mktime: do not assume 'long' is wide enough
8120         * time/mktime.c (verify): Move decl up.
8121         (long_int): New type.
8122         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8123         to remove assumption in the code that 'long' is wide enough to
8124         store year values.  This assumption is not true on x32 and on
8125         some non-glibc platforms.
8127         mktime: merge wrapv change from gnulib
8128         * time/mktime.c (WRAPV): New macro.
8129         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8130         (guess_time_tm, __mktime_internal): Do not assume that signed
8131         integer overflow wraps around; modern compilers generate code
8132         where this assumption is no longer valid.
8134 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8136         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8137         Replace "jmp L(pseudo_end)" with "ret".
8138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8139         Likewise.
8141 2012-05-23  Andreas Jaeger  <aj@suse.de>
8143         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8144         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8146 2012-05-23  Andreas Jaeger  <aj@suse.de>
8147             Maximilian Attems  <max@stro.at>
8149         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8150         New macros.
8152 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8154         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8155         code so that pseudo_end is just ret and the stack pointer is
8156         correct also for static library in error case.
8158 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8160         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8161         move to syscalls.list.
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8167         * manual/install.texi (Running make install): Do not mention Linux
8168         kernel version for which pt_chown is not needed.
8169         (Linux): Do not mention problems with nscd with 2.0 kernels.
8170         * INSTALL: Regenerated.
8172 2012-05-23  Andreas Jaeger  <aj@suse.de>
8174         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8175         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8176         macro.
8177         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8178         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8179         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8180         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8181         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8182         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8183         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8184         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8185         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8186         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8187         * sysdeps/unix/sysv/linux/bits/in.h
8188         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8190 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8192         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8193         (PREPARE_VERSION): Just use assert instead, it will be elided
8194         under [NDEBUG] anyway.
8196 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8198         * sysdeps/unix/sysv/linux/Makefile: Include
8199         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8200         (sysdep_routines): Remove sysctl.
8201         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8202         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8203         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8204         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8205         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8207 2012-05-22  Andreas Jaeger  <aj@suse.de>
8209         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8210         that pseudo_end is just ret and the stack pointer is correct also
8211         for static library in error case.
8213 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8215         [BZ #14122]
8216         * nss/nsswitch.c (defconfig_entries): New variable.
8217         (__nss_database_lookup): Don't leak defconfig entries.
8218         (nss_parse_service_list): Don't leak on error paths.
8219         (free_database_entries): New function.
8220         (free_defconfig): New function.
8221         (free_mem): Move common code to free_database_entries.
8223 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8225         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8226         Add arch_prctl.
8227         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8229         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8230         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8232         New macro.
8233         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8234         (INTERNAL_SYSCALL_TYPES): Likewise.
8235         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8236         (LOAD_REGS_TYPES_[1-6]): Likewise.
8237         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8238         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8240 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8242         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8243         copysignl for GLIBC_2_0.
8244         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8245         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8246         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8247         logbl for GLIBC_2_0.
8248         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8249         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8251 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8253         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8254         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8256         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8257         Use "neg %eax".
8259         * time/mktime.c: Update copyright years.
8261 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8263         mktime: merge comment-quoting-style change from gnulib
8264         * time/mktime.c: Quote 'like this' in comments.
8265         The GNU coding standards suggest that we no longer quote `like this',
8266         as "`" and "'" are typically rendered asymmetrically nowadays.
8267         The typical gnulib style is to quote 'like this' when quoting
8268         code, and "like this" when quoting English.
8270         * time/mktime.c (compile-command): Add "-I.".
8272         mktime: merge mktime-internal.h change from gnulib
8273         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8275         mktime: merge time_r change from gnulib
8276         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8278         mktime: merge DEBUG change from gnulib
8279         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8280         case system <time.h> has a #define.
8282         mktime: merge <sys/types.h> change from gnulib
8283         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8284         since <time.t> is now guaranteed to define time_t.
8286         mktime: merge HAVE_CONFIG_H change from gnulib
8287         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8289 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8292         Use "neg %eax".
8294         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8295         __rlim_t cast.
8296         (struct rusage): Use anonymous union to pad each field to
8297         __syscall_slong_t.
8299 2012-05-21  David S. Miller  <davem@davemloft.net>
8301         * Makefules (o-iterator): Remove .s cases.
8302         (compile-command.s): Delete.
8303         (COMPILE.s): Delete.
8304         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8306 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8308         * configure.in (libc_cv_predef_stack_protector): Only consider
8309         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8310         * configure: Regenerated.
8312 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8315         New macro.  Use R*LP on int and pointer.
8316         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8317         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8318         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8319         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8321         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8322         [__WORDSIZE_TIME64_COMPAT32] instead of
8323         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8324         (struct utmp): Likewise.
8325         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8326         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8327         Renamed to ...
8328         (__WORDSIZE_TIME64_COMPAT32): This.
8329         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8330         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8331         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8332         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8333         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8334         (__WORDSIZE_TIME64_COMPAT32): New macro.
8336 2012-05-21  Andreas Jaeger  <aj@suse.de>
8338         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8339         only if [SHARED]. Add prototype for __wcschr_ia32.
8341 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8343         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8344         of %rbp unmolested in the jmp_buf while mangling the low bits.
8345         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8346         unmolested high bits of %rbp while demangling the low bits.
8347         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8349 2012-05-21  Andreas Jaeger  <aj@suse.de>
8351         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8352         * sunrpc/svc_simple.c: Use it for registerrpc.
8353         * sunrpc/xcrypt.c: Use it for passwd2des.
8355         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8357 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8359         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8360         Don't define if [__SYSCALL_WORDSIZE != 32].
8361         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8362         New macro.
8364 2012-05-21  Bruno Haible  <bruno@clisp.org>
8365             Andreas Jaeger  <aj@suse.de>
8367         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8368         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8369         inptr and inend for must_buffer_ch.
8370         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8371         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8372         * stdio-common/Makefile (tests): Remove bug15.
8373         (bug15-ENV): Remove macro.
8374         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8375         anymore.
8377 2012-05-19  Andreas Jaeger  <aj@suse.de>
8378             Roland McGrath  <roland@hack.frob.com>
8380         * manual/contrib.texi: Completely rewritten. It contains now an
8381         alphabetical list of contributors and their contributions.
8383 2012-05-21  Richard Henderson  <rth@twiddle.net>
8385         * misc/getauxval.c (__getauxval): Use unsigned long int.
8386         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8387         (getauxval): Use unsigned long int.
8389 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8391         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8393 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8395         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8396         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8397         __alignof__ (long double).
8399 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8403 2012-05-20  Richard Henderson  <rth@twiddle.net>
8405         * misc/getauxval.c: New file.
8406         * misc/sys/auxv.h: New file.
8407         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8408         (routines): Add getauxval.
8409         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8410         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8411         * elf/dl-sysdep.c (_dl_auxv): Remove.
8412         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8413         * elf/dl-support.c (_dl_auxv): New variable.
8414         (_dl_aux_init): Initialize it.
8415         * manual/startup.texi (Auxiliary Vector): New node.
8416         * sysdeps/generic/bits/hwcap.h: New file.
8417         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8418         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8419         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8420         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8421         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8422         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8424         Update.
8425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8428         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8434 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8438 2012-05-19  David S. Miller  <davem@davemloft.net>
8440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8442 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8444         [BZ #14123]
8445         * math/s_ccosh.c: Include <float.h>
8446         (__ccosh): Avoid internal overflow calculating sinh and cosh
8447         values before multiplying by sin and cos values.
8448         * math/s_ccoshf.c: Likewise.
8449         * math/s_ccoshl.c: Likewise.
8450         * math/s_csin.c: Likewise.
8451         * math/s_csinf.c: Likewise.
8452         * math/s_csinl.c: Likewise.
8453         * math/s_csinh.c: Likewise.
8454         * math/s_csinhf.c: Likewise.
8455         * math/s_csinhl.c: Likewise.
8456         * math/libm-test.inc (ccos_test): Add more tests.
8457         (ccosh_test): Likewise.
8458         (csin_test): Likewise.
8459         (csinh_test): Likewise.
8460         * sysdeps/i386/fpu/libm-test-ulps: Update.
8461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8463 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8465         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8466         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8468         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8470 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8472         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8473         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8474         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8475         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8476         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8477         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8478         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8479         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8480         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8481         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8482         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8483         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8484         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8485         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8486         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8487         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8488         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8489         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8490         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8491         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8492         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8493         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8494         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8495         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8496         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8497         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8498         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8499         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8500         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8501         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8502         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8504 2012-05-18  Andreas Jaeger  <aj@suse.de>
8506         * csu/.gitignore: Delete.
8508 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8510         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8511         (timex): Use __syscall_slong_t.
8513 2012-05-18  Andreas Jaeger  <aj@suse.de>
8514             Carlos O'Donell  <carlos_odonell@mentor.com>
8516         * manual/install.texi (Configuring and compiling): Update
8517         description about files modified in the source directory.
8518         * INSTALL: Regenerated.
8520 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8522         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8523         value.  Use "or" to set return value to -1.
8524         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8525         negate return value.
8527 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8529         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8530         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8531         failure if the compiler has Graphite support disabled.
8532         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8533         Likewise.
8534         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8535         CFLAGS-memmove.c): Likewise.
8536         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8537         Likewise.
8539 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8541         * sysdeps/x86_64/x32/_itoa.h: New file.
8543         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8544         getdents system call only if kernel and user dirents have the
8545         same d_ino and d_off.
8547         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8548         LLONG_MAX != LONG_MAX.
8549         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8550         (_fitoa_word): Likewise.
8552         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8553         years.
8554         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8555         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8556         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8558         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8559         include <bits/wordsize.h>.  Check __x86_64__ instead of
8560         __WORDSIZE.
8561         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8562         if __x86_64__ is defined.  Use anonymous union on fpstate.
8564         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8565         anonymous union.
8567 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8569         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8570         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8571         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8572         Refer to _rtld_local_ro instead of _rtld_global_ro.
8573         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8574         Likewise.
8575         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8576         Likewise.
8577         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8578         Likewise.
8579         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8580         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8581         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8583         * sysdeps/powerpc/powerpc32/dl-machine.c
8584         (__elf_machine_runtime_setup) [PROF]: Don't reference
8585         _dl_prof_resolve.
8587 2012-05-18  Andreas Jaeger  <aj@suse.de>
8589         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8590         function only available for GCCs before 3.4 since GCC 3.4
8591         introduced a builtin.
8592         (lrint): Likewise.
8593         (llrintf): Likewise.
8594         (llrint): Likewise.
8595         (fmaxf): Likewise.
8596         (fmax): Likewise.
8597         (fminf): Likewise.
8598         (fmin): Likewise.
8599         (rint): Likewise.
8600         (rintf): Likewise.
8601         (nearbyint): Likewise.
8602         (nearbyintf): Likewise.
8603         (ceil): Likewise.
8604         (ceilf): Likewise.
8605         (floor): Likewise.
8606         (floorf): Likewise.
8608 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8610         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8611         on both fields and cast pointer to __syscall_ulong_t.
8613         * bits/types.h (__fsword_t): New type.
8614         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8615         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8616         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8617         (__FSWORD_T_TYPE): Likewise.
8618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8619         (__FSWORD_T_TYPE): Likewise.
8620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8621         (__FSWORD_T_TYPE): Likewise.
8622         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8623         (__FSWORD_T_TYPE): Likewise.
8624         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8625         __SWORD_TYPE with __fsword_t.
8626         (statfs64): Likewise.
8628 2012-05-17  David S. Miller  <davem@davemloft.net>
8630         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8632 2012-05-17  Andreas Jaeger  <aj@suse.de>
8634         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8635         warning.
8637 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8639         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8641 2012-05-17  Andreas Jaeger  <aj@suse.de>
8643         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8644         when it is used.
8646 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8648         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8650 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8652         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8653         * sysdeps/x86_64/tst-mallocalign1.c: New file.
8655 2012-05-17  Andreas Jaeger  <aj@suse.de>
8656             Carlos O'Donell  <carlos_odonell@mentor.com>
8658         [BZ #14059]
8659         * sysdeps/x86_64/multiarch/init-arch.h
8660         (bit_YMM_Usable): Rename to...
8661         (bit_AVX_Usable): ... this.
8662         (bit_FMA4_Usable): New macro.
8663         (bit_XMM_state): New macro.
8664         (bit_YMM_state): New macro.
8665         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8666         [__ASSEMBLER__] (index_AVX_Usable): ... this.
8667         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8668         (CPUID_OSXSAVE): New macro.
8669         (CPUID_AVX): New macro.
8670         (CPUID_FMA4): New macro.
8671         (index_YMM_Usable): Rename to...
8672         (index_AVX_Usable): ... this.
8673         (HAS_AVX): Use HAS_ARCH_FEATURE.
8674         (HAS_FMA4): Likewise.
8675         (HAS_YMM_USABLE): Remove.
8676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8677         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8678         are present.
8679         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8680         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8681         * sysdeps/x86_64/multiarch/Makefile: Likewise.
8682         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8683         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8685 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
8687         * math/libm-test.c: Support platforms without multiple rounding modes.
8688         * math/bug-nextafter.c: Support platforms without FP exceptions.
8689         * math/bug-nexttoward.c: Likewise.
8690         * math/test-fenv.c: Likewise.
8691         * math/test-misc.c: Likewise.
8692         * stdlib/bug-getcontext.c: Likewise.
8694 2012-05-17  Andreas Jaeger  <aj@suse.de>
8696         * manual/examples/search.c (critter_cmp): Change signature to
8697         avoid warnings.
8698         * manual/string.texi (Collation Functions): Likewise.
8700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8702         * bits/types.h: Fold copyright years.
8703         * bits/typesizes.h: Likewise.
8704         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8705         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8706         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8708         * time/time.h: Likewise.
8710 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
8712         [BZ #208]
8713         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8714         in instead of returning them.  Return void.
8715         (__libc_mallinfo): Accumulate over all arenas.
8716         (__malloc_stats): Adjust for change in int_mallinfo interface.
8718 2012-05-16  Roland McGrath  <roland@hack.frob.com>
8720         [BZ #10375]
8721         * configure.in (NM): Add AC_CHECK_TOOL for it.
8722         (libc_extra_cflags): New substituted variable.
8723         Check for -fstack-protector being used implicitly.
8724         * configure: Regenerated.
8725         * config.make.in (config-extra-cflags): New variable,
8726         gets @libc_extra_cflags@.
8727         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8729         [BZ #10375]
8730         * configure.in: Check for _FORTIFY_SOURCE being predefined.
8731         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8732         * configure: Regenerated.
8733         * config.make.in (CPPUNDEFS): New substituted variable.
8734         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8735         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8736         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8740         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8741         (mq_attr): Use __syscall_slong_t.
8743 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8745         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8746         Check __x86_64__ instead of __WORDSIZE.
8747         (_STAT_VER_LINUX): Likewise.
8748         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
8749         __syscall_ulong_t and __syscall_slong_t.
8750         (stat64): Likewise.
8752 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8754         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8756 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8758         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8760 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8762         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8763         __syscall_ulong_t.
8765         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8766         include <bits/wordsize.h>.  Check __x86_64__ instead of
8767         __WORDSIZE.
8768         (greg_t): Use "__extension__ long long int" if __x86_64__ is
8769         defined.
8770         (mcontext_t): Replace "unsigned long" with "unsigned long long".
8772         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8773         include <bits/wordsize.h>.  Check __x86_64__ instead of
8774         __WORDSIZE.
8775         (user_regs_struct): Use "__extension__ unsigned long long"
8776         instead of "unsigned long" if __x86_64__ is defined.
8777         (user): Likewise.  Pad after pointer field if __ILP32__ is
8778         defined.
8780 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
8782         * configure.in (makeinfo): Require version 4.5 or later.  Allow
8783         versions 5 to 9.
8784         * configure: Regenerated.
8785         * manual/install.texi (texinfo): Increase version requirement to
8786         4.5 or later.
8787         * INSTALL: Regenerated.
8789         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8791 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8793         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8795         * sysdeps/x86_64/x32/ffs.c: New file.
8797         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8798         __syscall_ulong_t.
8799         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8800         defined.  Use __syscall_ulong_t.
8801         (shminfo): Use __syscall_ulong_t.
8802         (shm_info): Likewise.
8804         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8805         __syscall_ulong_t.
8807         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8808         <bits/wordsize.h>.
8809         (msgqnum_t): Use __syscall_ulong_t.
8810         (msglen_t): Likewise.
8811         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
8812         __syscall_ulong_t.
8814         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8815         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8817         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8819         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8820         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8822         * sysvipc/sys/msg.h (msgbuf): Replace long int with
8823         __syscall_slong_t.
8825         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8826         include <bits/wordsize.h>.  Check __x86_64__ instead of
8827         __WORDSIZE.
8829         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8830         "unsigned long long int" if __x86_64__ is defined.
8831         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8833         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8834         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8835         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8837         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8838         <stdint.h>.
8839         (GET_PC): Cast to uintptr_t first.
8840         (GET_FRAME): Likewise.
8841         (GET_STACK): Likewise.
8843         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8844         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8845         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8846         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8847         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8848         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8849         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8850         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8851         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8852         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8853         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8854         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8855         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8856         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8857         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8858         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8859         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8860         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8861         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8862         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8863         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8864         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8865         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8866         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8867         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8868         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8869         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8870         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8871         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8873 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
8875         * Makerules (+depfiles): Also collect depfiles from .oS in
8876         $(extra-objs).
8877         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8878         .oS, $(libnldbl-routines)).
8880         * Makerules (native-compile-mkdep-flags): Define.
8881         * sunrpc/Makefile (extra-objs): Add $(addprefix
8882         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8883         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8884         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
8885         calling $(make-target-directory).
8887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8889         * bits/types.h (__snseconds_t): Removed.
8890         * time/time.h (struct timespec): Replace __snseconds_t with
8891         __syscall_slong_t.
8892         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8893         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8894         Likewise.
8895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8896         (__SNSECONDS_T_TYPE): Likewise.
8897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8898         (__SNSECONDS_T_TYPE): Likewise.
8899         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8900         (__SNSECONDS_T_TYPE): Likewise.
8902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8904         * sysdeps/mach/hurd/bits/typesizes.h
8905         (__SYSCALL_SLONG_TYPE): New macro.
8906         (__SYSCALL_ULONG_TYPE): Likewise.
8908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8910         * bits/types.h (__syscall_slong_t): New type.
8911         (__syscall_ulong_t): Likewise.
8913         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8914         (__SYSCALL_ULONG_TYPE): Likewise.
8915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8916         (__SYSCALL_SLONG_TYPE): Likewise.
8917         (__SYSCALL_ULONG_TYPE): Likewise.
8918         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8919         (__SYSCALL_SLONG_TYPE): Likewise.
8920         (__SYSCALL_ULONG_TYPE): Likewise.
8921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8922         (__SYSCALL_SLONG_TYPE): Likewise.
8923         (__SYSCALL_ULONG_TYPE): Likewise.
8925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8927         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8928         Add sigaltstack-offsets.sym.
8929         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8930         <sigaltstack-offsets.h>.
8931         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
8932         longjmp_msg pointer.
8933         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
8934         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8935         signal stack.
8936         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8938 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
8940         * elf/stackguard-macros.h: Remove file.
8941         * sysdeps/generic/stackguard-macros.h: New file.
8942         * sysdeps/i386/stackguard-macros.h: Likewise.
8943         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8944         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8945         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8946         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8947         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8948         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8949         * sysdeps/x86_64/stackguard-macros.h: Likewise.
8950         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8951         <elf/stackguard-macros.h>.
8953         [BZ #14109]
8954         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8955         __aligned__ in attribute.
8956         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8957         (gregset_t): Likewise.
8959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8961         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8962         * sysdeps/x86_64/64/Implies-after: Here.  New file.
8963         * sysdeps/x86_64/x32/Implies-after: New file.
8965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8967         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8968         and access return value for _dl_profile_fixup.  Use R10_LP to
8969         load frame size.
8971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8973         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8977         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8978         * sysdeps/x86_64/x32/sysdep.h: New file.
8980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8982         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8983         * sysdeps/x86_64/setjmp.S: Likewise.
8985 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8987         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8988         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8989         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8990         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8991         remove unused global constant.
8993 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
8995         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8996         include of <not-cancel.h>.
8998 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9000         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9002 2012-05-15  Jeff Law  <law@redhat.com>
9003             Andreas Jaeger  <aj@suse.de>
9005         [BZ #13594]
9006         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9007         out from...
9008         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9009         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9010         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9011         code changing __hst_map_handle.map.
9013 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9015         * configure.in (sysnames): Look for Implies-before and Implies-after
9016         files.
9017         * configure: Regenerated.
9019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9021         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9022         8-byte data alignment with LP_SIZE alignment.
9024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9026         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9027         into R10_LP.
9029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9031         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9035         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9036         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9037         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9038         Likewise.
9039         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9043         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9044         (stackinfo_sub_sp): Likewise.
9046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9048         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9049         RAX_LP.
9051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9053         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9054         into R*_LP.
9056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9058         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9059         sizes into R*_LP.
9061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9063         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9067         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9068         into R11_LP and load __x86_64_shared_cache_size_half into
9069         R8_LP.
9071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9073         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9074         R8_LP.
9076 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9079         logb for POWER7.
9080         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9081         logbf for POWER7.
9082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9083         logbl for POWER7.
9084         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9085         powerpc32/power7/fpu/s_logb.c via #include.
9086         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9087         powerpc32/power7/fpu/s_logbf.c via #include.
9088         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9089         powerpc32/power7/fpu/s_logbl.c via #include.
9091 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9093         * README.libm: Remove file.
9095 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9097         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9098         count for x32.  Use R*_LP and omit operand-size suffix.
9100 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9102         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9103         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9104         * sysdeps/x86_64/x32/shlib-versions: New file.
9106 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9108         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9109         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9110         Use _dl_fatal_printf instead.
9112 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9114         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9115         set if not set by the user.  Do not allow for being unset.
9116         * sysdeps/unix/sysv/linux/configure: Regenerated.
9118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9120         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9121         the `q' suffix from lea and replace .quad with ASM_ADDR.
9123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9125         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9126         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9127         instead of $17.
9128         (PTR_DEMANGLE): Likewise.
9130 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9132         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9133         (LP_OP): Likewise.
9134         (ASM_ADDR): Likewise.
9135         (RAX_LP): Likewise.
9136         (RBP_LP): Likewise.
9137         (RBX_LP): Likewise.
9138         (RCX_LP): Likewise.
9139         (RDI_LP): Likewise.
9140         (RSI_LP): Likewise.
9141         (RSP_LP): Likewise.
9142         (R8_LP): Likewise.
9143         (R9_LP): Likewise.
9144         (R10_LP): Likewise.
9145         (R10_LP): Likewise.
9146         (R11_LP): Likewise.
9147         (R12_LP): Likewise.
9148         (R13_LP): Likewise.
9149         (R14_LP): Likewise.
9150         (R15_LP): Likewise.
9152 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9154         * sysdeps/x86_64/x32/dl-machine.h: New file.
9156 2012-05-14  Andreas Jaeger  <aj@suse.de>
9158         * manual/Makefile (subdir): Remove export of subdir.
9159         (all): Remove target.
9160         (.PHONY): Remove all from list.
9161         (mkinstalldirs): Remove.
9162         (.PHONY): Remove installdirs from list.
9163         ($(inst_infodir)/libc.info): Use make-target-directory.
9164         (installdirs): Remove.
9165         (subdir_%): Remove.
9166         (glibc-targets): Remove.
9167         (lib): Remove.
9168         (stubs): Remove.
9169         ($(objpfx)stubs ../po/manual.pot): Remove.
9170         ($(objpfx)stamp%): Remove.
9171         (make-target-directory): Remove.
9172         (subdir_install): Remove.
9173         (routines): Remove.
9174         (aux): Remove.
9175         (sources): Remove.
9176         (objects): Remove.
9177         (headers): Remove.
9179         [BZ #13750]
9180         * manual/.gitignore: Remove, it's not needed anymore.
9181         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9182         all files in it.
9183         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9184         directory.
9185         (texis): Renamed to $(objpfx)texis.
9186         (texis-path): New, contains path to generated files.
9187         (chapters.%): Use texis-path for complete path, add extra argument
9188         libc-texinfo.sh.
9189         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9190         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9191         (summary,texi, stamp-summary): Use complete path of
9192         files. Generate files in build dir.
9193         (dir-add.texi): Build in build dir.
9194         (libm-err.texi,stamp-libm-err): Likewise.
9195         (version.texi, stamp-version): Likewise.
9196         (.%c.texi): Likewise.
9197         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9198         (mostlyclean): Remove target.
9199         (realclean): Remove target.
9200         (generated): Add new variable with contents from mostlyclean and
9201         realclean, remove entries duplicated in common-mostlyclean, add
9202         stamp-libm-err and stamp-version.
9203         (generated-dirs): Add libc directory.
9204         ($(inst_infodir)/libc.info): Install files from build dir.
9206         * manual/install.texi (Configuring and compiling): Adjust since
9207         the info files are not part of the tar ball anymore.
9209 2012-05-14  Andreas Jaeger  <aj@suse.de>
9211         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9212         variable.
9214 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9216         [BZ #13717]
9217         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9218         to 2.2.0 where earlier.
9219         * sysdeps/unix/sysv/linux/configure: Regenerated.
9220         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9221         Remove conditional code.
9222         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9223         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9224         Remove conditional code.
9225         [!__NR_lchown]: Likewise.
9226         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9227         [__NR_lchown]: Likewise.
9228         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9229         comment referencing __ASSUME_LCHOWN_SYSCALL.
9230         * sysdeps/unix/sysv/linux/i386/sigaction.c
9231         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9232         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9233         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9234         Remove conditional code.
9235         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9236         (__protocol_available): Remove #if 0 code.
9237         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9238         conditional code.
9239         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9240         * sysdeps/unix/sysv/linux/kernel-features.h
9241         (__ASSUME_GETCWD_SYSCALL): Don't define.
9242         (__ASSUME_REALTIME_SIGNALS): Likewise.
9243         (__ASSUME_PREAD_SYSCALL): Likewise.
9244         (__ASSUME_PWRITE_SYSCALL): Likewise.
9245         (__ASSUME_POLL_SYSCALL): Likewise.
9246         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9247         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9248         non-SPARC.
9249         (__ASSUME_SIOCGIFNAME): Don't define.
9250         (__ASSUME_MSG_NOSIGNAL): Likewise.
9251         (__ASSUME_SENDFILE): Define unconditionally.
9252         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9253         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9254         conditional code.
9255         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9256         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9257         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9258         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9259         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9260         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9261         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9263         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9264         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9266         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9269         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9270         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9272         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9275         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9278         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9281         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9282         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9284         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9285         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9286         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9287         Remove conditional code.
9288         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9289         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9290         Remove conditional code.
9291         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9292         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9293         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9294         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9295         Remove conditional code.
9296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9297         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9298         Remove conditional code.
9299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9300         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9301         Remove conditional code.
9302         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9303         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9304         Remove conditional code.
9305         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9306         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9307         Remove conditional code.
9308         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9309         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9310         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9311         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9312         * sysdeps/unix/sysv/linux/sigaction.c
9313         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9314         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9315         * sysdeps/unix/sysv/linux/sigpending.c
9316         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9317         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9318         * sysdeps/unix/sysv/linux/sigprocmask.c
9319         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9320         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9321         * sysdeps/unix/sysv/linux/sigsuspend.c
9322         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9323         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9324         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9325         (__libc_missing_rt_sigs): Remove.
9326         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9327         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9328         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9329         Remove conditional code.
9330         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9331         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9332         return 1.
9333         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9334         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9335         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9336         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9338 2012-05-14  Andreas Jaeger  <aj@suse.de>
9340         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9341         it's not used in glibc.
9342         (__coshm1): Likewise.
9343         (__acosh1p): Likewise.
9344         (__sgn): Likewise.
9346         * manual/string.texi (Copying and Concatenation): Add missing
9347         variable in concat example.
9348         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9350 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9352         [BZ #14103]
9353         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9354         __builtin_clzl with __builtin_clzll.
9356 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9358         [BZ #14104]
9359         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9360         libc_freeres_ptr.
9362 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9364         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9365         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9366         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9367         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9369 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9371         * NEWS: Update ia64 info.
9373 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9375         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9376         used as bcopy.
9378 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9380         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9381         * sysdeps/unix/syscalls.list (dup3): Likewise.
9382         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9383         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9385 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9387         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9388         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9390 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9392         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9393         thread pointer.
9394         (TLS_IE): Use mov/add instead of movq/addq to load thread
9395         pointer.
9396         (TLS_GD_PREFIX): New.
9397         (TLS_GD): Use it.
9399 2012-05-11  David S. Miller  <davem@davemloft.net>
9401         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9402         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9403         (_FPU_SETCW): Likewise.
9405 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9407         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9408         is 32-byte aligned.
9410 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9412         [BZ #11837]
9413         * iconvdata/gb18030.c: Update tables.
9414         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9415         characters specially.
9416         (BODY for TO_LOOP): Add encoding of missing ranges.
9418 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9420         [BZ #13673]
9421         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9422         * sysdeps/mach/hurd/dup3.c: Likewise.
9423         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9424         * sysdeps/powerpc/memmove.c:: Likewise.
9426 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9428         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9429         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9431 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9433         * elf/elf.h (R_X86_64_RELATIVE64): New.
9434         (R_X86_64_NUM): Updated.
9435         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9436         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9437         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9438         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9439         tst-quad1pie tst-quad2pie
9440         (modules-names): Add tst-quadmod1 tst-quadmod2.
9441         ($(objpfx)tst-quad1): New dependency.
9442         ($(objpfx)tst-quad2): Likewise.
9443         ($(objpfx)tst-quad1pie): Likewise.
9444         ($(objpfx)tst-quad2pie): Likewise.
9445         * sysdeps/x86_64/tst-quad1.c: New file.
9446         * sysdeps/x86_64/tst-quad1pie.c: New file.
9447         * sysdeps/x86_64/tst-quad2.c: Likewise.
9448         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9449         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9450         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9451         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9452         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9456         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9457         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9458         * streams/stropts.h (t_scalar_t): Define type.
9460         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9461         (_PATH_PRESERVE): Set to "/var/lib".
9462         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9464         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9465         instead of int.
9467         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9468         if __dir_mkfile succeeded.
9470         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9471         checking for _hurd_dtablesize.  Unlock it right after having
9472         finished _hurd_dtable allocation.
9474 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9476         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9477         * sysdeps/mach/hurd/configure: Regenerated.
9478         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9479         special-casing to...
9480         * sysdeps/gnu/configure.in: ... this new file.
9481         * sysdeps/unix/sysv/linux/configure: Regenerated.
9482         * sysdeps/gnu/configure: New generated file.
9484         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9485         for Linux: use nsec instead of usec, as well as:
9486         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9487         members of type struct timespec.
9488         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9489         New macros.
9490         (struct stat64): Likewise.
9491         (_STATBUF_ST_NSEC): New macro.
9492         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9494         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9495         __strtoul_internal rather than strtoul.
9497 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9499         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9500         and reject them.
9502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9504         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9505         which preserves existing values.
9506         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9508 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9510         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9511         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9512         greater than FD_SETSIZE.
9514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9516         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9517         allocated, call __vm_protect to finish enabling the existing space, and
9518         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9519         allocate the remainder.
9521 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9523         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9524         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9528         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9529         sysdeps/mach/hurd/readlink.c.
9531         * posix/tst-sysconf.c (posix_options): Only use
9532         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9533         _POSIX_SYNCHRONIZED_IO when they are defined
9534         * sysdeps/mach/hurd/bits/posix_opt.h:
9535         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9536         (_XOPEN_REALTIME): Undefine macro.
9537         (_XOPEN_REALTIME_THREADS): Undefine macro.
9538         (_XOPEN_SHM): Undefine macro.
9539         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9540         macro to -1.
9541         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9542         macro to -1.
9543         (_POSIX_ASYNC_IO): Undefine macro.
9544         (_POSIX_PRIORITIZED_IO): Undefine macro.
9545         (_POSIX_SPIN_LOCKS): Define macro to -1.
9547         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9548         SA_NODEFER, SA_RESETHAND.
9549         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9550         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9551         F_DUPFD_CLOEXEC.
9553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9555         * elf/Makefile (pldd-modules): Define unconditionally.
9557 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9559         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9563         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9564         Return ENOENT when name is empty.
9565         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9567 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9569         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9571         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9575         Fix mlock in all cases except non-readable pages.
9576         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9577         instead of VM_PROT_ALL as parameter to __vm_wire function.
9579         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9580         (__mkdir): When path is `/', just fail with EEXIST.
9581         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9583 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9585         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9586         <sys/uio.h> (for writev).
9587         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9588         and <sys/param.h> (for MIN).
9590 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9592         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9593         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9594         if interrupted.
9596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9598         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9599         Depend on against $(link-rpcuserlibs).
9601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9603         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9604         (__libc_stack_end): Do not use attribute_relro.
9605         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9606         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9607         to libthread-provided value.
9608         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9609         attribute_relro.
9611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9613         [BZ #3748]
9614         * bits/libc-lock.h (__libc_once_get): New macro.
9615         * sysdeps/mach/bits/libc-lock.h: Likewise.
9616         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9617         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9618         instead of using implementation details.
9620         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9621         * libio/freopen.c: Likewise.
9622         * libio/freopen64.c: Likewise.
9623         * misc/syslog.c: Likewise.
9624         * nscd/connections.c: Likewise.
9625         * nscd/netgroupcache.c: Likewise.
9626         * sysdeps/posix/getcwd.c: Likewise.
9628 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9630         * math/w_ilogbf.c: Add #include <limits.h>.
9632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9634         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9635         path instead of returning without unlocking.
9637         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9638         immediate-write ioctls.
9639         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9641 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9643         * sysdeps/mach/hurd/i386/init-first.c (init): Use
9644         __builtin_frame_address instead of making assumptions about the
9645         location of the return address relative to DATA.  Force early load of
9646         the return address.
9647         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9648         __builtin_frame_address.
9650         dup3 for GNU Hurd.
9651         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9652         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
9653         implement dup3 and do some further code clean-ups.
9654         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9655         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9657 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9659         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9661         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9662         HURD_CRITICAL_END around holding _hurd_dtable_lock.
9663         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9664         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9665         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9666         d->port.lock.
9668         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9669         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
9670         when handler == SIG_ERR, not when handler != SIG_ERR.
9672 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9674         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9675         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9676         definitions.
9678         accept4 for GNU Hurd.
9679         * include/sys/socket.h (__libc_accept4): New prototype.
9680         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
9681         to implement __libc_accept4.
9682         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9683         __libc_accept4.
9684         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9686         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9687         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9688         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9689         signal-defines.sym.
9691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9693         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9697         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9698         assertion on O_CLOEXEC flag.
9699         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9700         * hurd/intern-fd.c: Likewise.
9701         * hurd/port2fd.c: Likewise.
9703 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9705         [BZ #3906]
9706         * bits/in.h (IPV6_PKTINFO): Define new macro.
9707         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9709 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9711         [BZ #13954]
9712         [BZ #13955]
9713         [BZ #13956]
9714         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9715         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9716         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9717         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9718         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9719         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9720         * math/libm-test.inc (logb_test) : Additional logb tests.
9722 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
9723             Andreas Jaeger  <aj@suse.de>
9725         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9726         * configure: Regenerated.
9727         * config.h.in (LINK_OBSOLETE_RPC): New macro.
9728         * config.make.in (link-obsolete-rpc): New substituted variable.
9729         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9730         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9731         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9732         (shared-only-routines): Don't set it under [link-obsolete-rpc],
9733         so that libc.a contains the symbols.
9734         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9735         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9736         * sunrpc/auth_none.c: Likewise.
9737         * sunrpc/auth_unix.c: Likewise.
9738         * sunrpc/authdes_prot.c: Likewise.
9739         * sunrpc/authuxprot.c: Likewise.
9740         * sunrpc/clnt_gen.c: Likewise.
9741         * sunrpc/clnt_perr.c: Likewise.
9742         * sunrpc/clnt_raw.c: Likewise.
9743         * sunrpc/clnt_simp.c: Likewise.
9744         * sunrpc/clnt_tcp.c: Likewise.
9745         * sunrpc/clnt_udp.c: Likewise.
9746         * sunrpc/clnt_unix.c: Likewise.
9747         * sunrpc/des_crypt.c: Likewise.
9748         * sunrpc/des_soft.c: Likewise.
9749         * sunrpc/get_myaddr.c: Likewise.
9750         * sunrpc/key_call.c: Likewise.
9751         * sunrpc/key_prot.c: Likewise.
9752         * sunrpc/netname.c: Likewise.
9753         * sunrpc/pm_getmaps.c: Likewise.
9754         * sunrpc/pm_getport.c: Likewise.
9755         * sunrpc/pmap_clnt.c: Likewise.
9756         * sunrpc/pmap_prot.c: Likewise.
9757         * sunrpc/pmap_prot2.c: Likewise.
9758         * sunrpc/pmap_rmt.c: Likewise.
9759         * sunrpc/publickey.c: Likewise.
9760         * sunrpc/rpc_cmsg.c: Likewise.
9761         * sunrpc/rpc_common.c: Likewise.
9762         * sunrpc/rpc_dtable.c: Likewise.
9763         * sunrpc/rpc_prot.c: Likewise.
9764         * sunrpc/rpc_thread.c: Likewise.
9765         * sunrpc/rtime.c: Likewise.
9766         * sunrpc/svc.c: Likewise.
9767         * sunrpc/svc_auth.c: Likewise.
9768         * sunrpc/svc_raw.c: Likewise.
9769         * sunrpc/svc_run.c: Likewise.
9770         * sunrpc/svc_tcp.c: Likewise.
9771         * sunrpc/svc_udp.c: Likewise.
9772         * sunrpc/svc_unix.c: Likewise.
9773         * sunrpc/svcauth_des.c: Likewise.
9774         * sunrpc/xcrypt.c: Likewise.
9775         * sunrpc/xdr.c: Likewise.
9776         * sunrpc/xdr_array.c: Likewise.
9777         * sunrpc/xdr_float.c: Likewise.
9778         * sunrpc/xdr_intXX_t.c: Likewise.
9779         * sunrpc/xdr_mem.c: Likewise.
9780         * sunrpc/xdr_rec.c: Likewise.
9781         * sunrpc/xdr_ref.c: Likewise.
9782         * sunrpc/xdr_sizeof.c: Likewise.
9783         * sunrpc/xdr_stdio.c: Likewise.
9785 2012-05-10  Roland McGrath  <roland@hack.frob.com>
9787         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9788         change.  Update copyright years.
9790 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9792         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9794 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
9795             Joseph Myers  <joseph@codesourcery.com>
9796             Paul Pluzhnikov  <ppluzhnikov@google.com>
9798         [BZ #14012]
9799         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9800         requiring rpcgen.
9801         [cross-compiling] (extra-libs): Likewise.
9802         [cross-compiling] (extra-libs-others): Likewise.
9803         [cross-compiling] (librpcsvc-routines): Likewise.
9804         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9805         [cross-compiling] (omit-deps): Likewise.
9806         (sunrpc-CPPFLAGS): New variable.
9807         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9808         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9809         (cross-rpcgen-objs): New variable.
9810         (extra-objs): Append $(cross-rpcgen-objs).
9811         ($(cross-rpcgen-objs)): New rule.
9812         ($(objpfx)cross-rpcgen): Likewise.
9813         (rpcgen-cmd): Define to use $(built-program-file).  Expand
9814         comment.
9815         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9816         ($(objpfx)x%.stmp): Likewise.
9817         * sunrpc/proto.h [IS_IN_build] (_): Define.
9818         [IS_IN_build] (_libc_intl_domainname): Likewise.
9820 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9823         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9824         and R_X86_64_TPOFF64.
9826 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9828         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9829         sysdeps/unix/sysv/syscalls.list.
9830         (stime): Likewise.
9831         (utime): Likewise.
9832         * sysdeps/unix/sysv/syscalls.list: Remove file.
9834 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
9836         [BZ #3440]
9837         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9838         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9839         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9840         (__LC_IDENTIFICATION): Make these macros useful in #if
9841         expressions, as required by C99.
9843 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
9845         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9846         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
9847         after this.
9849 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9851         * stdlib/longlong.h: Updated from GCC.
9853 2012-05-09  Andreas Jaeger  <aj@suse.de>
9855         * nscd/nscd.c (run_modes): Make named enum, reorder so that
9856         default is first entry.
9857         (run_mode): Set type.
9858         (main): Remove informal message about syslog.
9859         (options): Fix typo.
9861         [BZ #14053]
9862         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9863         to asm.
9864         (lrint): Likewise.
9865         (llrintf): Likewise.
9866         (llrint): Likewise.
9867         (rint): Likewise.
9868         (rintf): Likewise.
9869         (nearbyint): Likewise.
9870         (nearbyintf): Likewise.
9872 2012-05-09  Andreas Jaeger  <aj@suse.de>
9873             Pedro Alves  <palves@redhat.com>
9875         * nscd/nscd.c (run_mode): Use enum.
9876         (main): Cleanup coding style issue.
9878 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
9879             Andreas Jaeger  <aj@suse.de>
9881         * nscd/nscd.c (go_background): Replaced with...
9882         (run_mode): ... this.
9883         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9884         (options): Add -F --foreground.
9885         (main): Implement it.
9886         (parse_opt): Parse it.
9888 2012-05-09  Andreas Jaeger  <aj@suse.de>
9890         [BZ #14083]
9891         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9892         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9893         -Wconversion warning.
9894         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9895         Likewise.
9897 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
9899         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
9900         == 0.
9901         (LC_ALL): Use macro-int-constant.
9902         (LC_COLLATE): Likewise.
9903         (LC_CTYPE): Likewise.
9904         (LC_MESSAGES): Likewise.
9905         (LC_MONETARY): Likewise.
9906         (LC_NUMERIC): Likewise.
9907         (LC_TIME): Likewise.
9908         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9909         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9910         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9911         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9912         Specify type.
9913         [C99-based standards] (float_t): Expect type.
9914         [C99-based standards] (double_t): Expect type.
9915         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
9916         type.
9917         [C99-based standards] (HUGE_VALL): Likewise.
9918         [C99-based standards] (INFINITY): Likewise.
9919         [C99-based standards] (NAN): Likewise.
9920         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9921         [C99-based standards] (FP_NAN): Likewise.
9922         [C99-based standards] (FP_NORMAL): Likewise.
9923         [C99-based standards] (FP_SUBNORMAL): Likewise.
9924         [C99-based standards] (FP_ZERO): Likewise.
9925         [C99-based standards] (FP_FAST_FMA): Use
9926         optional-macro-int-constant.  Specify type.  Require == 1.
9927         [C99-based standards] (FP_FAST_FMAF): Likewise.
9928         [C99-based standards] (FP_FAST_FMAL): Likewise.
9929         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9930         [C99-based standards] (FP_ILOGBNAN): Likewise.
9931         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9932         Specify type.
9933         [C99-based standards] (MATH_ERREXCEPT): Likewise.
9934         [C99-based standards] (math_errhandling): Specify type.
9935         [ISO99 || ISO11] (signgam): Do not allow.
9936         [non-C99-based standards] (copysignf): Do not allow.
9937         [non-C99-based standards] (exp2f): Likewise.
9938         [non-C99-based standards] (log2f): Likewise.
9939         [non-C99-based standards] (modff): Allow.
9940         [non-C99-based standards] (erff): Do not allow.
9941         [non-C99-based standards] (erfcf): Likewise.
9942         [non-C99-based standards] (gammaf): Likewise.
9943         [non-C99-based standards] (hypotf): Likewise.
9944         [non-C99-based standards] (j0f): Likewise.
9945         [non-C99-based standards] (j1f): Likewise.
9946         [non-C99-based standards] (jnf): Likewise.
9947         [non-C99-based standards] (lgammaf): Likewise.
9948         [non-C99-based standards] (tgammaf): Likewise.
9949         [non-C99-based standards] (y0f): Likewise.
9950         [non-C99-based standards] (y1f): Likewise.
9951         [non-C99-based standards] (ynf): Likewise.
9952         [non-C99-based standards] (isnanf): Likewise.
9953         [non-C99-based standards] (acoshf): Likewise.
9954         [non-C99-based standards] (asinhf): Likewise.
9955         [non-C99-based standards] (atanhf): Likewise.
9956         [non-C99-based standards] (cbrtf): Likewise.
9957         [non-C99-based standards] (expm1f): Likewise.
9958         [non-C99-based standards] (ilogbf): Likewise.
9959         [non-C99-based standards] (log1pf): Likewise.
9960         [non-C99-based standards] (logbf): Likewise.
9961         [non-C99-based standards] (nextafterf): Likewise.
9962         [non-C99-based standards] (remainderf): Likewise.
9963         [non-C99-based standards] (rintf): Likewise.
9964         [non-C99-based standards] (scalbf): Likewise.
9965         [non-C99-based standards] (copysignl): Likewise.
9966         [non-C99-based standards] (exp2l): Likewise.
9967         [non-C99-based standards] (log2l): Likewise.
9968         [non-C99-based standards] (modfl): Allow.
9969         [non-C99-based standards] (erfl): Do not allow.
9970         [non-C99-based standards] (erfcl): Likewise.
9971         [non-C99-based standards] (gammal): Likewise.
9972         [non-C99-based standards] (hypotl): Likewise.
9973         [non-C99-based standards] (j0l): Likewise.
9974         [non-C99-based standards] (j1l): Likewise.
9975         [non-C99-based standards] (jnl): Likewise.
9976         [non-C99-based standards] (lgammal): Likewise.
9977         [non-C99-based standards] (tgammal): Likewise.
9978         [non-C99-based standards] (y0l): Likewise.
9979         [non-C99-based standards] (y1l): Likewise.
9980         [non-C99-based standards] (ynl): Likewise.
9981         [non-C99-based standards] (isnanl): Likewise.
9982         [non-C99-based standards] (acoshl): Likewise.
9983         [non-C99-based standards] (asinhl): Likewise.
9984         [non-C99-based standards] (atanhl): Likewise.
9985         [non-C99-based standards] (cbrtl): Likewise.
9986         [non-C99-based standards] (expm1l): Likewise.
9987         [non-C99-based standards] (ilogbl): Likewise.
9988         [non-C99-based standards] (log1pl): Likewise.
9989         [non-C99-based standards] (logbl): Likewise.
9990         [non-C99-based standards] (nextafterl): Likewise.
9991         [non-C99-based standards] (remainderl): Likewise.
9992         [non-C99-based standards] (rintl): Likewise.
9993         [non-C99-based standards] (scalbl): Likewise.
9994         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9995         [non-C99-based standards] (FP_*): Do not allow.
9996         [C99-based standards] (FP_*): Change to
9997         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9998         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9999         allow.
10000         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10001         (SIG_ERR): Likewise.
10002         [X/Open-based standards] (SIG_HOLD): Likewise.
10003         (SIG_IGN): Likewise.
10004         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10005         positive value.
10006         (SIGFPE): Likewise.
10007         (SIGILL): Likewise.
10008         (SIGINT): Likewise.
10009         (SIGSEGV): Likewise.
10010         (SIGTER): Likewise.
10011         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10012         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10013         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10014         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10015         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10016         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10017         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10018         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10019         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10020         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10021         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10022         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10023         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10024         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10025         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10026         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10027         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10028         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10029         [X/Open-based standards] (SIGTRAP): Likewise.
10030         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10031         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10032         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10033         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10034         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10035         allow.
10037 2012-05-08  Ian Wienand  <ianw@vmware.com>
10039         [BZ #14080]
10040         * time/tzset.c (__tzset_parse_tz): Update default rules for
10041         daylight time changes in the Energy Policy Act of 2005.
10043 2012-05-09  Andreas Jaeger  <aj@suse.de>
10045         [BZ #13983]
10046         * elf/ldconfig.c (parse_conf): Change string to make clear that
10047         ldconfig only issued a warning if ld.so.conf does not exist.
10049 2012-05-08  David S. Miller  <davem@davemloft.net>
10051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10052         movxtod instead of popping the value on the stack.
10054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10056 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10058         * config.h.in: Add HAVE_ARM_PCS_VFP.
10060 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10062         [BZ #13979]
10063         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10064         checking but the checks are disabled for any reason.
10066 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10068         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10069         and ELF64_R_TYPE with ELFW(R_TYPE).
10071 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10073         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10074         (ulimit): Likewise.
10076         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10077         (settimeofday): Likewise.
10079 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10081         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10082         a struct th_u2 inside the union, and move tu_block/tu_code into
10083         a new th_u3 union of tu_block/tu_code inside of that.  Move
10084         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10085         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10086         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10087         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10088         (th_stuff): Change to th_u1.tu_stuff.
10089         (th_data): Define.
10090         (th_msg): Change to th_u1.th_u2.tu_data.
10092 2012-05-07  David S. Miller  <davem@davemloft.net>
10094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10096         [BZ #14074]
10097         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10098         (SETUP_PIC_REG): Use it.
10099         (SETUP_PIC_REG_LEAF): Use it.
10101 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10103         [BZ #13885]
10104         [BZ #13923]
10105         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10106         USE_AS_EXPM1L.
10107         (EXPL_FINITE): Likewise.
10108         (FLDLOG): Likewise.
10109         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10110         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10111         e_expl.S.
10112         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10113         USE_AS_EXPM1L.
10114         (EXPL_FINITE): Likewise.
10115         (FLDLOG): Likewise.
10116         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10117         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10118         e_expl.S.
10119         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10120         test of -max_value argument for long double.
10121         * sysdeps/i386/fpu/libm-test-ulps: Update.
10122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10124 2012-05-06  David S. Miller  <davem@davemloft.net>
10126         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10127         quad soft-float symbols whose references which are compiler
10128         generated.
10129         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10131 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10133         [BZ #13884]
10134         [BZ #13914]
10135         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10136         USE_AS_EXP10L.
10137         (EXPL_FINITE): Likewise.
10138         (FLDLOG): Likewise.
10139         (c0): Likewise.
10140         (c1): Likewise.
10141         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10142         Adjust comments for base varying.
10143         (__expl_finite): Change alias to EXPL_FINITE.
10144         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10145         e_expl.S.
10146         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10147         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10149         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10150         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10151         USE_AS_EXP10L.
10152         (EXPL_FINITE): Likewise.
10153         (FLDLOG): Likewise.
10154         (c0): Likewise.
10155         (c1): Likewise.
10156         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10157         Adjust comments for base varying.
10158         (__expl_finite): Change alias to EXPL_FINITE.
10159         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10160         tests for bugs.
10161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10163         [BZ #14064]
10164         * math/libm-test.inc (check_float_internal): Correct ulp
10165         calculation for subnormal expected results.
10167 2012-05-06  Andreas Jaeger  <aj@suse.de>
10169         * Makeconfig (+math-flags): New, set to -frounding-math.
10170         (+cflags): Add +math-flags so that all of glibc gets compiled with
10171         it.
10173         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10175 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10177         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10178         Disable one test.
10180         [BZ #13787]
10181         [BZ #13922]
10182         [BZ #14036]
10183         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10184         (__ieee754_expl): Allow for and saturate large arguments.
10185         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10186         (u_threshold): Likewise.
10187         (__exp): Call __ieee754_exp before checking for overflow and
10188         underflow.
10189         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10190         (u_threshold): Likewise.
10191         (__expf): Call __ieee754_expf before checking for overflow and
10192         underflow.
10193         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10194         (u_threshold): Likewise.
10195         (__expl): Call __ieee754_expl before checking for overflow and
10196         underflow.
10197         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10198         (__ieee754_expl): Allow for and saturate large arguments.
10199         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10200         missing overflow exception on overflow.
10201         (expm1_test): Do not allow missing overflow exception on overflow.
10203         * sysdeps/i386/fpu/e_expl.c: Move to ...
10204         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10205         rather than using inline asm.
10206         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10207         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10208         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10210         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10211         (nice): Likewise.
10212         (poll): Likewise.
10213         (signal): Likewise.
10214         (time): Likewise.
10215         (times): Likewise.
10217 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10219         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10220         sysdeps/unix/common/syscalls.list.
10221         (fchmod): Likewise.
10222         (fchown): Likewise.
10223         (ftruncate): Likewise.
10224         (getrusage): Likewise.
10225         (gettimeofday): Likewise.
10226         (setpgid): Likewise.
10227         (setregid): Likewise.
10228         (setreuid): Likewise.
10229         (sigaction): Likewise.
10230         (truncate): Likewise.
10231         (vhangup): Likewise.
10232         * sysdeps/unix/common/syscalls.list: Remove file.
10233         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10234         * sysdeps/unix/sysv/linux/Implies: Likewise.
10236 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10238         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10240         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10241         Moved to ...
10242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10243         Here.
10244         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10245         to ...
10246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10247         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10248         to ...
10249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10250         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10251         to ...
10252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10253         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10254         to ...
10255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10256         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10257         to ...
10258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10259         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10260         to ...
10261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10262         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10263         to ...
10264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10265         Here.
10266         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10267         to ...
10268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10269         Here.
10270         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10271         to ...
10272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10273         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10274         Moved to ...
10275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10276         Here.
10277         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10278         to ...
10279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10281 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10283         * sysdeps/unix/common/bits/dirent.h: Remove file.
10284         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10286         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10287         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10288         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10289         * sysdeps/unix/bsd/isatty.c: Likewise.
10290         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10291         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10292         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10294 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10296         [BZ #13563]
10297         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10298         long double comparison inaccuracies.
10299         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10302 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10304         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10305         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10307 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10309         [BZ #14049]
10310         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10311         nonzero digits before rounding a hex value.
10312         * stdlib/tst-strtod.c (tests): Add another test.
10314 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10316         * sysdeps/s390/fpu/libm-test-ulps: Update.
10318 2012-05-03  Andreas Jaeger  <aj@suse.de>
10320         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10321         does not get optimized out.
10322         (malloc_opt_barrier): New.
10324 2012-05-03  Andreas Jaeger  <aj@suse.de>
10325             Roland McGrath  <roland@hack.frob.com>
10327         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10328         intermediate file deletion.
10329         (generated): Add .symlist files.
10331 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10333         [BZ #13775]
10334         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10335         Redirect under this condition.
10336         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10337         [__USE_GNU] (__dprintf_chk): Not under this condition.
10338         [__USE_GNU] (__vdprintf_chk): Likewise.
10339         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10340         under this condition.
10341         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10342         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10343         [__USE_XOPEN2K8] (vdprintf): Likewise.
10344         [__USE_GNU] (__dprintf_chk): Not under this condition.
10345         [__USE_GNU] (__vdprintf_chk): Likewise.
10346         [__USE_GNU] (dprintf): Likewise.
10347         [__USE_GNU] (vdprintf): Likewise.
10349 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10351         * elf/Makefile (common-generated): Set this instead of generated for
10352         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10353         $(all-built-dso)-derived lists.
10355 2012-05-03  Andreas Jaeger  <aj@suse.de>
10357         * sysdeps/i386/fpu/libm-test-ulps: Update.
10359         * FAQ: Removed.
10360         * FAQ.in: Likewise.
10361         * scripts/gen-FAQ.pl: Likewise.
10362         * manual/install.texi (Installation): Point to online location of
10363         FAQ.
10364         * Makefile (files-for-dist): Remove FAQ.
10365         (FAQ): Remove.
10367 2012-05-02  Allan McRae  <allan@archlinux.org>
10369         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10370         (LDFLAGS-reldepmod5.so): Likewise.
10371         (LDFLAGS-reldep6mod1.so): Likewise.
10372         (LDFLAGS-reldep6mod4.so): Likewise.
10373         (LDFLAGS-reldep8mod3.so): Likewise.
10374         (LDFLAGS-unload4mod1.so): Likewise.
10375         (LDFLAGS-unload4mod2.so): Likewise.
10376         (LDFLAGS-tst-initorder): Likewise.
10377         (LDFLAGS-tst-initordera2.so): Likewise.
10378         (LDFLAGS-tst-initordera3.so): Likewise.
10379         (LDFLAGS-tst-initordera4.so): Likewise.
10380         (LDFLAGS-tst-initorderb2.so): Likewise.
10381         (LDFLAGS-noload): Likewise.
10382         (LDFLAGS-next): Likewise.
10383         (LDFLAGS-order2mod1.so): Likewise.
10384         (LDFLAGS-order2mod2.so): Likewise.
10385         (LDFLAGS-tst-initorder2): Likewise.
10386         (LDFLAGS-tst-initorder2a.so): Likewise.
10387         (LDFLAGS-tst-initorder2b.so): Likewise.
10388         (LDFLAGS-tst-initorder2c.so): Likewise.
10389         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10391 2012-05-02  David S. Miller  <davem@davemloft.net>
10393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10395 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10397         [BZ #14055]
10398         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10400 2012-05-02  Andreas Jaeger  <aj@suse.de>
10402         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10403         since we manipulate rounding mode.
10404         (CPPFLAGS-test-idouble.c): Likewise.
10405         (CPPFLAGS-test-ifloat.c): Likewise.
10406         (CFLAGS-test-ldouble.c): Likewise.
10407         (CFLAGS-test-double.c): Likewise.
10408         (CFLAGS-test-float.c): Likewise.
10409         (CFLAGS-test-misc.c): Likewise.
10410         (CFLAGS-test-test-fenv.c): Likewise.
10412 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10414         [BZ #2550]
10415         [BZ #2570]
10416         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10417         comparisons to determine direction to adjust input.
10419 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10421         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10422         output to the target.
10424         * scripts/localplt.awk: New file.
10425         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10426         (check-localplt-CFLAGS): Variable removed.
10427         ($(all-built-dso:=.jmprel)): New static pattern rule.
10428         (generated): Add those targets.
10429         (localplt-built-dso): New variable.
10430         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10432         * elf/check-localplt.c: File removed.
10434         * scripts/check-execstack.awk: New file.
10435         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10436         (check-execstack-CFLAGS): Variable removed.
10437         ($(objpfx)check-execstack.h): Target removed.
10438         ($(objpfx)execstack-default): New target.
10439         (generated): Add that instead of check-execstack.h.
10440         ($(all-built-dso:=.phdr)): New static pattern rule.
10441         (generated): Add those targets.
10442         * elf/check-execstack.c: File removed.
10444         * scripts/check-textrel.awk: New file.
10445         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10446         (check-textrel-CFLAGS): Variable removed.
10447         (all-built-dso): Use := to define.o
10448         ($(all-built-dso:=.dyn)): New static pattern rule.
10449         (generated): Add those targets.
10450         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10451         * config.make.in (READELF): New substituted variable.
10452         * elf/check-textrel.c: File removed.
10454 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10456         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10457         allow.
10458         * conform/data/ctype.h-data [C99-based standards] (isblank):
10459         Expect function.
10460         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10461         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10462         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10463         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10464         Specify type.  Require positive value.
10465         (EILSEQ): Likewise.
10466         (ERANGE): Likewise.
10467         [ISO || POSIX] (EILSEQ): Do not expect.
10468         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10469         Specify type.  Require positive value.
10470         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10471         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10472         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10473         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10474         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10475         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10476         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10477         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10478         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10479         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10480         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10481         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10482         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10483         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10484         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10485         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10486         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10487         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10488         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10489         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10490         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10491         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10492         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10493         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10494         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10495         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10496         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10497         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10498         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10499         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10500         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10501         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10502         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10503         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10504         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10505         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10506         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10507         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10508         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10509         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10510         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10511         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10512         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10513         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10514         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10515         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10516         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10517         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10518         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10519         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10520         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10521         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10522         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10523         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10524         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10525         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10526         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10527         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10528         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10529         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10530         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10531         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10532         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10533         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10534         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10535         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10536         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10537         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10538         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10539         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10540         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10541         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10542         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10543         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10544         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10545         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10546         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10547         Require >= 2.
10548         (FLT_ROUNDS): Expect as macro, not constant.
10549         (FLT_MANT_DIG): Use macro-int-constant.
10550         (DBL_MANT_DIG): Likewise.
10551         (LDBL_MANT_DIG): Likewise.
10552         (FLT_DIG): Likewise.
10553         (DBL_DIG): Likewise.
10554         (LDBL_DIG): Likewise.
10555         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10556         (DBL_MIN_EXP): Likewise.
10557         (LDBL_MIN_EXP): Likewise.
10558         (FLT_MAX_EXP): Use macro-int-constant.
10559         (DBL_MAX_EXP): Likewise.
10560         (LDBL_MAX_EXP): Likewise.
10561         (FLT_MAX_10_EXP): Likewise.
10562         (DBL_MAX_10_EXP): Likewise.
10563         (LDBL_MAX_10_EXP): Likewise.
10564         (FLT_MAX): Use macro-constant.
10565         (DBL_MAX): Likewise.
10566         (LDBL_MAX): Likewise.
10567         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10568         (DBL_EPSILON): Likewise.
10569         (LDBL_EPSILON): Likewise.
10570         (FLT_MIN): Likewise.
10571         (DBL_MIN): Likewise.
10572         (LDBL_MIN): Likewise.
10573         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10574         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10575         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10576         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10577         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10578         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10579         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10580         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10581         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10582         [ISO11] (FLT_TRUE_MIN): Likewise.
10583         [ISO11] (LDBL_TRUE_MIN): Likewise.
10584         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10585         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10586         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10587         (SCHAR_MAX): Likewise.
10588         (UCHAR_MAX): Likewise.
10589         (CHAR_MIN): Likewise.
10590         (CHAR_MAX): Likewise.
10591         (MB_LEN_MAX): Use macro-int-constant.
10592         (SHRT_MIN): Use macro-int-constant.  Specify type.
10593         (SHRT_MAX): Likewise.
10594         (USHRT_MAX): Likewise.
10595         (INT_MAX): Likewise.
10596         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10597         bound negative.
10598         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10599         bound with "U".
10600         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10601         bound with "L".
10602         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10603         bound negative.  Suffix upper bound with "L".
10604         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10605         bound with "UL".
10606         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10607         Specify type.
10608         [C99-based standards] (LLONG_MAX): Likewise.
10609         [C99-based standards] (ULLONG_MAX): Likewise.
10610         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10611         == 0.
10612         [ISO11] (max_align_t): Require type.
10613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10615         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10616         from $CFLAGS, without defining away __attribute__ calls.
10617         (checknamespace): Use $CFLAGS_namespace.
10619         * conform/conformtest.pl (@keywords): Only include C99 keywords
10620         for standards based on C99 or C11.
10622         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10623         Disable tests.
10624         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10625         UNIX98]: Likewise.
10627         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10628         usability of symbols in #if.
10630         * conform/conformtest.pl: If macro or constant types start
10631         "promoted:", expect the symbol to be of the following type
10632         promoted by the integer promotions.
10634         * conform/conformtest.pl: Parse all "constant" and "macro" lines
10635         in one place.  Also handle "macro-constant".
10637         * conform/conformtest.pl: Only accept expected macro values with
10638         "==".  Parse all "macro" lines in one place.
10639         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10641         * conform/conformtest.pl: Handle braced types on "constant" lines
10642         instead of handling "typed-constant".
10643         * conform/data/signal.h-data: Use "constant" instead of
10644         "typed-constant".
10646         * conform/conformtest.pl: Handle "optional-" at start of lines in
10647         one place rather than duplicating several cases.  Handle each
10648         format of "macro" line with initial "optional-".
10650         * conform/conformtest.pl: Only accept expected constant or
10651         optional-constant values with "==".  Parse all "constant" lines in
10652         one place.  Parse all "optional-constant" lines in one place.
10653         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10654         * conform/data/fmtmsg.h-data: Likewise.
10655         * conform/data/netinet/in.h-data: Likewise.
10656         * conform/data/tar.h-data: Likewise.
10657         * conform/data/limits.h-data: Use "==" form on "constant" and
10658         "optional-constant" lines.
10660         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10661         Use -std=c99 for XOPEN2K.
10662         (@knownproblems): Remove.
10663         (newtoken): Don't check %isknown.
10665         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10666         Do not expect macro.
10667         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10668         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10669         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10670         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10671         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10672         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10673         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10674         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10675         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10676         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10677         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10678         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10679         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10680         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10681         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10682         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10683         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10684         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10685         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10686         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10687         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10688         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10689         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10690         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10691         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10692         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10693         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10694         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10695         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10696         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10697         [XPG3] (acosh): Likewise.
10698         [XPG3] (asinh): Likewise.
10699         [XPG3] (atanh): Likewise.
10700         [XPG3] (cbrt): Likewise.
10701         [XPG3] (expm1): Likewise.
10702         [XPG3] (ilogb): Likewise.
10703         [XPG3] (log1p): Likewise.
10704         [XPG3] (logb): Likewise.
10705         [XPG3] (nextafter): Likewise.
10706         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10707         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10708         [XPG3] (remainder): Likewise.
10709         [XPG3] (rint): Likewise.
10710         [XPG3 || XPG4 || UNIX98] (round): Likewise.
10711         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10712         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10713         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10714         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10715         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10716         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10717         [UNIX98 || XOPEN2K] (scalb): Expect.
10718         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10719         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10720         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10721         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10722         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10723         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10724         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10725         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10726         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10727         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10728         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10729         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10730         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10731         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10732         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10733         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10734         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10735         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10736         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10737         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10738         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10739         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10740         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10741         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10742         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10743         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10744         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10745         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10746         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10747         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10748         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10749         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10750         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10751         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10752         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10753         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10754         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10755         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10756         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10757         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10758         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10759         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10760         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10761         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10762         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10763         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10764         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10765         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10766         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10767         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10768         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10769         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10770         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10771         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10772         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10773         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10774         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10775         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10776         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10777         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10778         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10779         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10780         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10781         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10782         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10783         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10784         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10785         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10786         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10787         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10788         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10789         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10790         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10791         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10792         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10793         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10794         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10795         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10796         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10797         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10798         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10799         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10800         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10801         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10802         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10803         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10804         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10805         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10806         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10807         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10808         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10809         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10810         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10811         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10812         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10813         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10814         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10815         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10816         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10817         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10818         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10819         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10820         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10821         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10822         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10823         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10824         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10825         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10826         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10827         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10828         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10829         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10830         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10831         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10832         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10833         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10834         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10835         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10836         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10837         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10838         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10839         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10840         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10841         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10842         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10843         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10844         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10845         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10846         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10847         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10848         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10849         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10850         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10851         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10852         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10853         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10854         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10856         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10857         _XOPEN_SOURCE_EXTENDED for XPG4.
10859         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10861         * Makeconfig (localtime): Remove variable.
10862         (inst_localtime-file): Likewise.
10864 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10867         Update.
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10869         Update.
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10871         Update.
10872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10873         Update.
10874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10875         Update.
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10877         Update.
10878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10879         Update.
10880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10881         Update.
10882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10883         Update.
10885 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10887         [BZ #2550]
10888         [BZ #2570]
10889         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10890         comparisons to determine direction to adjust input.
10891         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10892         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10894         Likewise.
10895         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10896         Likewise.
10897         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10898         Likewise.
10899         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10900         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10901         Likewise.
10902         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10903         Likewise.
10904         * math/libm-test.inc (nexttoward_test): Add more tests.
10906 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10908         [BZ #14040]
10909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10910         in version GLIBC_2.1, not GLIBC_2.0.
10911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10912         Likewise.
10914 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
10916         [BZ #13942]
10917         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10918         (1 - x) * (1 + x).
10919         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10920         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10921         * math/libm-test.inc (acos_test): Add more tests.
10922         (asin_test): Likewise.
10923         * sysdeps/i386/fpu/libm-test-ulps: Update.
10924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10926         [BZ #14034]
10927         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10928         of square root.
10929         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10930         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10931         * math/libm-test.inc (acos_test_tonearest): New function.
10932         (acos_test_towardzero): Likewise.
10933         (acos_test_downward): Likewise.
10934         (acos_test_upward): Likewise.
10935         (asin_test_tonearest): Likewise.
10936         (asin_test_towardzero): Likewise.
10937         (asin_test_downward): Likewise.
10938         (asin_test_upward): Likewise.
10939         (main): Call the new functions.
10940         * sysdeps/i386/fpu/libm-test-ulps: Update.
10941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10943         [BZ #13884]
10944         [BZ #13924]
10945         * math/e_exp10.c: Include <float.h>.
10946         (__ieee754_exp10): Handle underflow here rather than multiplying
10947         large negative argument by M_LN10.
10948         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10949         of __ieee754_expf.
10950         * math/e_exp10l.c: Include <float.h>.
10951         (__ieee754_exp10l): Handle underflow here rather than multiplying
10952         large negative argument by M_LN10l.
10953         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
10954         spurious overflow exception on underflow.
10956 2012-04-29  Marek Polacek  <polacek@redhat.com>
10958         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10959         (__fortify_function): New macro.
10960         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10961         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10962         __extern_always_inline.
10963         * libio/bits/stdio2.h: Likewise.
10964         * libio/bits/stdio.h: Likewise.
10965         * string/string.h: Likewise.
10966         * string/bits/string3.h: Likewise.
10967         * include/stdio.h: Likewise.
10968         * stdlib/bits/stdlib.h: Likewise.
10969         * stdlib/stdlib.h: Likewise.
10970         * rt/bits/mqueue2.h: Likewise.
10971         * rt/mqueue.h: Likewise.
10972         * posix/bits/unistd.h: Likewise.
10973         * posix/unistd.h: Likewise.
10974         * io/bits/poll2.h: Likewise.
10975         * io/bits/fcntl2.h: Likewise.
10976         * io/fcntl.h: Likewise.
10977         * io/sys/poll.h: Likewise.
10978         * misc/bits/syslog.h: Likewise.
10979         * misc/bits/syslog-ldbl.h: Likewise.
10980         * misc/sys/syslog.h: Likewise.
10981         * socket/bits/socket2.h: Likewise.
10982         * socket/sys/socket.h: Likewise.
10983         * debug/tst-chk1.c: Likewise.
10984         * wcsmbs/bits/wchar2.h: Likewise.
10985         * wcsmbs/bits/wchar-ldbl.h: Likewise.
10986         * wcsmbs/wchar.h: Likewise.
10988 2012-04-29  Andreas Jaeger  <aj@suse.de>
10990         * Makerules (tests): Remove enable-check-abi protection.
10991         (check-abi-warn): Remove.
10992         (check-abi-%): Remove check-abi-warn usage.
10994         * configure.in: Remove check-abi configure option.
10995         * configure: Regenerated.
10996         * config.make.in (enable-check-abi): Remove.
10998 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11000         [BZ #14033]
11001         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11002         double functions to double *_finite functions.
11004         [BZ #13941]
11005         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11006         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11007         LDBL_MIN_EXP.
11008         * stdio-common/Makefile (tests): Add tst-sprintf3.
11009         * stdio-common/tst-sprintf3.c: New file.
11011         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11012         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11014 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11016         * conform/conformtest.pl: Remove duplicate typed-constant
11017         handling.
11019 2012-04-28  David S. Miller  <davem@davemloft.net>
11021         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11022         (check-abi-%): Remove AWK script prerequisite and explicit
11023         abilist directory.
11024         (check-abi): Rewrite to just diff the symlist with the abilist.
11025         (config-tls, config-abi-config): Delete, no longer used.
11026         (update-abi-%): Remove AWK script and explicit abilist directory.
11027         (update-abi): Rewrite to simply compare and conditionally copy the
11028         symlist and the sysdep abilist file.  Remove update-abi-config
11029         checks.
11030         * abilist/ld.abilist: Remove.
11031         * abilist/libBrokenLocale.abilist: Remove.
11032         * abilist/libanl.abilist: Remove.
11033         * abilist/libcrypt.abilist: Remove.
11034         * abilist/libdl.abilist: Remove.
11035         * abilist/librt.abilist: Remove.
11036         * abilist/libthread_db.abilist: Remove.
11037         * abilist/libutil.abilist: Remove.
11038         * scripts/extract-abilist.awk: Remove.
11039         * scripts/merge-abilist.awk: Remove.
11040         * sysdeps/generic/libcidn.abilist: New file.
11041         * sysdeps/generic/libnss_compat.abilist: New file.
11042         * sysdeps/generic/libnss_db.abilist: New file.
11043         * sysdeps/generic/libnss_dns.abilist: New file.
11044         * sysdeps/generic/libnss_files.abilist: New file.
11045         * sysdeps/generic/libnss_hesiod.abilist: New file.
11046         * sysdeps/generic/libnss_nis.abilist: New file.
11047         * sysdeps/generic/libnss_nisplus.abilist: New file.
11048         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11049         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11050         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11051         file.
11052         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11053         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11054         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11055         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11056         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11057         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11058         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11059         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11060         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11061         file.
11062         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11063         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11064         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11065         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11066         file.
11067         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11068         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11069         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11070         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11071         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11072         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11073         file.
11074         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11075         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11076         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11077         file.
11078         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11080         New file.
11081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11082         New file.
11083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11084         New file.
11085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11086         New file.
11087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11088         New file.
11089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11090         New file.
11091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11092         New file.
11093         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11094         New file.
11095         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11096         New file.
11097         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11098         New file.
11099         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11100         New file.
11101         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11102         New file.
11103         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11104         New file.
11105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11106         file.
11107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11108         New file.
11109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11110         New file.
11111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11112         file.
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11114         New file.
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11116         New file.
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11118         file.
11119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11120         New file.
11121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11122         New file.
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11124         New file.
11125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11126         New file.
11127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11128         New file.
11129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11130         New file.
11131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11133         file.
11134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11135         New file.
11136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11137         file.
11138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11139         file.
11140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11141         file.
11142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11143         file.
11144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11145         file.
11146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11147         New file.
11148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11149         file.
11150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11151         file.
11152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11153         New file.
11154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11155         file.
11156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11158         file.
11159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11160         New file.
11161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11162         file.
11163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11164         file.
11165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11166         file.
11167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11168         file.
11169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11170         file.
11171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11172         New file.
11173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11174         file.
11175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11176         file.
11177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11178         New file.
11179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11180         file.
11181         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11182         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11183         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11184         file.
11185         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11186         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11187         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11188         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11189         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11190         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11191         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11192         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11193         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11194         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11197         file.
11198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11199         New file.
11200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11201         file.
11202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11203         file.
11204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11205         file.
11206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11207         file.
11208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11209         file.
11210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11211         New file.
11212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11213         New file.
11214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11215         file.
11216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11217         New file.
11218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11219         file.
11220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11222         file.
11223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11224         New file.
11225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11226         file.
11227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11228         file.
11229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11230         file.
11231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11232         file.
11233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11234         file.
11235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11236         New file.
11237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11238         New file.
11239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11240         file.
11241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11242         New file.
11243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11244         file.
11246 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11248         * conform/conformtest.pl: Fix typo in handling typed-constant from
11249         allow-header.
11251 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11253         * README: Cut down references to pre-2.6 Linux kernels and
11254         Linuxthreads.  Update lists of configurations in libc and ports
11255         and sort alphabetically.  Say "or newer" with Linux kernel version
11256         requirements.
11258         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11260 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11262         [BZ #887]
11263         * math/libm-test.inc (logb_test_downward): New test to expose
11264         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11265         rounding mode.
11267 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11269         [BZ #14027]
11270         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11271         to be done.
11272         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11273         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11275 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11277         * sysdeps/unix/i386/brk.S: Remove file.
11278         * sysdeps/unix/i386/dl-brk.S: Likewise.
11279         * sysdeps/unix/i386/pipe.S: Likewise.
11280         * sysdeps/unix/i386/sigreturn.S: Likewise.
11281         * sysdeps/unix/i386/syscall.S: Likewise.
11282         * sysdeps/unix/i386/vfork.S: Likewise.
11283         * sysdeps/unix/i386/wait.S: Likewise.
11285         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11286         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11288         * configure.in (arm*-none*): Do not allow without
11289         --enable-hacker-mode.
11290         (netbsd*): Remove case setting base_os.
11291         (386bsd*): Likewise.
11292         (freebsd*): Likewise.
11293         (bsdi*): Likewise.
11294         (osf*): Likewise.
11295         (sunos*): Likewise.
11296         (ultrix*): Likewise.
11297         (newsos*): Likewise.
11298         (dynix*): Likewise.
11299         (*bsd*): Likewise.
11300         (sysv*): Likewise.
11301         (isc*): Likewise.
11302         (esix*): Likewise.
11303         (sco*): Likewise.
11304         (minix*): Likewise.
11305         (irix4*): Likewise.
11306         (irix6*): Likewise.
11307         (solaris[2-9]*): Likewise.
11308         (none): Likewise.
11309         * configure: Regenerated.
11311 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11313         [BZ #11521]
11314         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11315         overflow or cancellation in calculating denominator.
11316         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11317         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11318         down expression to avoid unexpected rounding in newer GCCs.
11319         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11321 2012-04-26  David S. Miller  <davem@davemloft.net>
11323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11324         long-double compat symbols.
11325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11339 2012-04-25  David S. Miller  <davem@davemloft.net>
11341         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11342         HWCAP_* values only after the memory barriers have been defined.
11343         (atomic_full_barrier): Define.
11344         (atomic_read_barrier): Define.
11345         (atomic_write_barrier): Define.
11347 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11349         * shlib-versions: Add libgcc_s version information.
11350         * sysdeps/generic/libgcc_s.h: Remove.
11351         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11352         libgcc_s.h.
11353         * sysdeps/gnu/unwind-resume.c: Likewise.
11354         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11356 2012-04-25  David S. Miller  <davem@davemloft.net>
11358         * sysdeps/unix/sparc/brk.S: Delete.
11359         * sysdeps/unix/sparc/dl-brk.S: Delete.
11360         * sysdeps/unix/sparc/pipe.S: Delete.
11361         * sysdeps/unix/sparc/sysdep.S: Delete.
11362         * sysdeps/unix/sparc/sysdep.h: Delete.
11363         * sysdeps/unix/sparc/vfork.S: Delete.
11364         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11365         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11366         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11367         ret_ERRVAL, r0, r1, MOVE): Define.
11368         (JUMPTARGET): Remove.
11369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11370         sysdeps/unix/sparc/sysdep.h
11371         (ENTRY, END): Remove.
11372         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11374 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11376         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11377         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11378         -DIS_IN_build.
11380         * timezone/README: Update upstream location and email address for
11381         tzcode and tzdata.
11382         * timezone/zdump.c: Update from tzcode 2012b.
11383         * timezone/zic.c: Likewise.
11385         * configure.in (libc_cv_as_needed): Remove test.
11386         * configure: Regenerated.
11387         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11388         conditional definition.
11389         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11390         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11391         * config.make.in (have-as-needed): Remove variable.
11393 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11394             Paul Pluzhnikov  <ppluzhnikov@google.com>
11396         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11397         strings correctly.
11399 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11401         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11402         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11403         * sysdeps/sh/strlen.S: Likewise.
11405 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11407         * sysdeps/unix/fork.S: Remove file.
11408         * sysdeps/unix/i386/fork.S: Likewise.
11409         * sysdeps/unix/sparc/fork.S: Likewise.
11411         * sysdeps/unix/system.c: Remove file.
11412         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11414         * sysdeps/unix/getegid.S: Remove file.
11415         * sysdeps/unix/geteuid.S: Likewise.
11417 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11419         * scripts/check-localplt.awk: New file.
11420         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11421         of diff.
11422         * scripts/data/localplt-generic.data: Add a comment.
11424         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11425         NODE when __dir_mkfile failed.
11426         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11427         Reported by Ludovic Courtès <ludo@gnu.org>.
11429 2012-04-24  Andreas Jaeger  <aj@suse.de>
11431         * Makerules (common-clean): Also remove gen-as-const-headers
11432         files.
11434 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11436         * Makerules (native-compile): Do not change working directory for
11437         build.  Use $(OUTPUT_OPTION) in command.
11438         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11440 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11442         [BZ #13886]
11443         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11444         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11445         * math/libm-test.inc (floor_test): Add more tests.
11446         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11448 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11450         * sysdeps/unix/getdents.c: Remove file.
11451         * sysdeps/unix/sysv/getdents.c: Likewise.
11452         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11454         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11455         sysdeps/unix/mman/syscalls.list.
11456         (mmap): Likewise.
11457         (mprotect): Likewise.
11458         (msync): Likewise.
11459         (munmap): Likewise.
11460         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11461         * sysdeps/unix/mman/syscalls.list: Remove.
11462         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11464         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11465         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11466         * configure: Regenerated.
11467         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11468         $(libgcc_s_suffix).
11469         * config.make.in (libgcc_s_suffix): Remove variable.
11471 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11473         * sysdeps/unix/sysv/gethostname.c: Move to ...
11474         * sysdeps/posix/gethostname.c: ... here.
11476         * sysdeps/unix/execve.S: Remove file.
11478         * sysdeps/unix/_exit.S: Remove file.
11480 2012-04-23  Andreas Jaeger  <aj@suse.de>
11482         [BZ #13739]
11483         * manual/Makefile: Remove make dist support, there's no
11484         need for a stand-alone documentation tar ball.
11485         (TEXI2DVI): Define always, it's not in Makeconfig.
11486         (dist): Removed.
11487         (tar-it): Removed.
11488         (edition): Removed.
11489         (glibc-doc-$(edition).tar): Removed
11490         (%.Z): Removed.
11491         (%.gz): Removed.
11492         (%.uu): Removed.
11493         (ETAGS): Remove, it's in Makeconfig.
11494         (move-if-change): Remove, it's in Makeconfig.
11496 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11498         [BZ #13970]
11499         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11500         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11501         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11502         (strtod_l, strtof_l, strtold_l): Remove __wur.
11503         It is not necessarily an error to ignore strtol's return value.
11504         One can reliably look at the stored endptr to decide whether
11505         the number had valid syntax.
11507 2012-04-21  Andreas Jaeger  <aj@suse.de>
11509         [BZ #13739]
11510         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11512 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11514         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11515         * sysdeps/unix/sysv/Versions: Remove file.
11517 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11519         [BZ #13927]
11520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11522 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11524         [BZ #7064]
11525         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11526         version from __vm86.
11528 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11530         * sysdeps/unix/common/lxstat.c: Remove file.
11531         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11533         * sysdeps/unix/sysv/Makefile: Remove file.
11535         * sysdeps/unix/sysv/direct.h: Remove file.
11537         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11538         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11539         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11540         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11541         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11542         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11543         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11545         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11547         * sysdeps/unix/xmknod.c: Remove file.
11548         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11550         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11552         * sysdeps/unix/sysv/i386/time.S: Remove file.
11554         * sysdeps/unix/fxstat.c: Remove file.
11555         * sysdeps/unix/xstat.c: Likewise.
11556         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11558         * sysdeps/unix/sysv/sigaction.c: Remove file.
11560         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11561         (sysdep_headers): Remove variable.
11562         [termio.h not in sysdep_headers] (generated): Likewise.
11563         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11564         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11565         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11566         * sysdeps/unix/sysv/tcflow.c: Likewise.
11567         * sysdeps/unix/sysv/tcflush.c: Likewise.
11568         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11569         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11570         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11571         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11572         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11574         * sysdeps/unix/siglist.c: Remove file.
11576         * sysdeps/unix/getppid.S: Remove file.
11578         * sysdeps/unix/mkdir.c: Remove file.
11579         * sysdeps/unix/rmdir.c: Likewise.
11581 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11583         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11584         ERR_MAX value.
11585         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11586         errlist-compat value.
11588 2012-04-18  David S. Miller  <davem@davemloft.net>
11590         * sysdeps/generic/memcopy.h (reg_char): Delete.
11591         * debug/strcat_chk.c: Use char, not reg_char.
11592         * debug/strcpy_chk.c: Likewise.
11593         * debug/strncat_chk.c: Likewise.
11594         * debug/strncpy_chk.c: Likewise.
11595         * string/memchr.c: Likewise.
11596         * string/memrchr.c: Likewise.
11597         * string/rawmemchr.c: Likewise.
11598         * string/strcat.c: Likewise.
11599         * string/strchr.c: Likewise.
11600         * string/strchrnul.c: Likewise.
11601         * string/strcmp.c: Likewise.
11602         * string/strcpy.c: Likewise.
11603         * string/strncat.c: Likewise.
11604         * string/strncmp.c: Likewise.
11605         * string/strncpy.c: Likewise.
11607 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11609         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11610         __builtin_memcopy is called when src and dest ranges are known to not
11611         overlap.
11613 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11615         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11616         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11617         fwd_align_merge macro call.
11618         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11619         bwd_align_merge macro call.
11620         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11622 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11624         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11625         bwd_align_merge macros.
11626         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11627         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11628         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11630 2012-04-18  David S. Miller  <davem@davemloft.net>
11632         * sysdeps/sparc/sparc64/memcopy.h: Delete.
11634 2012-04-18  Andreas Jaeger  <aj@suse.de>
11636         [BZ# 6794]
11637         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11638         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11639         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11641         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11642         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11643         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11645         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11646         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11647         Adjust for changed ldbl-128 files.
11649         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11650         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11651         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11653 2012-04-17  David S. Miller  <davem@davemloft.net>
11655         * sysdeps/sparc/sparc32/memcopy.h: Delete.
11657 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
11659         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11660         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11661         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11662         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11663         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11664         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11666 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11668         [BZ #6794]
11669         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11670         * math/libm-test.inc: Add ilogb errno and exception tests.
11671         * math/w_ilogb.c: New file: ilogb wrapper.
11672         * math/w_ilogbf.c: New file: ilogbf wrapper.
11673         * math/w_ilogbl.c: New file: ilogbl wrapper.
11674         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11675         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11676         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11677         exception being thrown with 0.0 as argument.
11678         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11679         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11680         exception being thrown with 0.0 as argument.
11681         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11682         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11683         exception being thrown with 0.0 as argument.
11684         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11685         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11686         exception being thrown with 0.0 as argument.
11687         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11688         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11689         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11690         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11691         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11692         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11693         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11694         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11695         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11697 2012-04-17  Petr Baudis  <pasky@ucw.cz>
11699         * include/sys/uio.h: Change __vector to __iovec to avoid clash
11700         with altivec.
11702 2012-04-16  Marek Polacek  <polacek@redhat.com>
11704         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11706 2012-04-16  Marek Polacek  <polacek@redhat.com>
11708         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11709         operands of fdivp instruction.
11711 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11713         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11714         * elf/tst-auditmod3b.c: Likewise.
11715         * elf/tst-auditmod4b.c: Likewise.
11716         * elf/tst-auditmod5b.c: Likewise.
11717         * elf/tst-auditmod6b.c: Likewise.
11718         * elf/tst-auditmod6c.c: Likewise.
11719         * elf/tst-auditmod7b.c: Likewise.
11720         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11721         * sysdeps/x86_64/preconfigure.in: Likewise.
11722         * sysdeps/x86_64/preconfigure: Regenerated.
11724 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
11726         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11727         __ILP32__.
11729 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
11731         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11732         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11734 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
11736         [BZ #13973]
11737         * locale/iso-639.def: Fix gl language name. Spotted by
11738         Yaron Shahrabani.
11740 2012-04-12  Roland McGrath  <roland@hack.frob.com>
11742         [BZ #2074]
11743         * libio/libio.h (__io_write_fn): Update comment.
11745 2012-04-12  Petr Baudis  <pasky@ucw.cz>
11747         [BZ #2074]
11748         * stdio.texi (Hook Functions): The user provided writer function
11749         is not allowed to return -1.
11751 2012-04-11  David S. Miller  <davem@davemloft.net>
11753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11755 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
11757         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11758         Add a leading slash to rtkaio.
11760 2012-04-11  Jim Meyering  <meyering@redhat.com>
11762         [BZ #11959]
11763         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11764         It is not necessarily an error to ignore fwrite's return
11765         value.  One can reliably use ferror to test for errors after
11766         the fact.
11768 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11770         * bits/types.h (__snseconds_t): New type.
11771         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11773         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11774         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11775         (__SNSECONDS_T_TYPE): Likewise.
11776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11777         (__SNSECONDS_T_TYPE): Likewise.
11778         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11779         (__SNSECONDS_T_TYPE): Likewise.
11781 2012-04-10  Andreas Jaeger  <aj@suse.de>
11783         [BZ #2636]
11784         * manual/time.texi (Processor Time): Return type of times is
11785         elapsed real time since an arbitrary point in the past.
11786         (CPU Time): Move CLK_TCK from here...
11787         (Processor Time): ...to here.  Correct description.
11788         * manual/conf.texi (Constants for Sysconf): Correct description of
11789         _SC_CLK_TCK.
11791 2012-04-10  David S. Miller  <davem@davemloft.net>
11793         [BZ #13967]
11794         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11795         where the is a gap between DT_REL(A) and DT_JMPREL.
11797 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
11799         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11800         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11801         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11803 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11805         * elf/dl-support.c (_dl_inhibit_cache): New variable.
11806         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11807         (dl_main): Handle --inhibit-cache.
11808         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11809         _dl_inhibit_cache.
11810         * elf/dl-load.c (_dl_map_object): Use it.
11811         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11813 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11815         [BZ #13872]
11816         * sysdeps/i386/fpu/e_powl.S (p78): New object.
11817         (__ieee754_powl): Saturate large exponents rather than testing for
11818         overflow of y*log2(x).
11819         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11820         * math/libm-test.inc (pow_test): Do not permit spurious overflow
11821         exceptions.
11823         [BZ #11521]
11824         * math/s_ctan.c: Include <float.h>.
11825         (__ctan): Avoid internal overflow or cancellation in calculating
11826         denominator.
11827         * math/s_ctanf.c: Likewise.
11828         * math/s_ctanl.c: Likewise.
11829         * math/s_ctanh.c: Likewise.
11830         * math/s_ctanhf.c: Likewise.
11831         * math/s_ctanhl.c: Likewise.
11832         * math/libm-test.inc (ctan_test): Add more tests.
11833         (ctanh_test): Likewise.
11834         * sysdeps/i386/fpu/libm-test-ulps: Update.
11835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11837 2012-04-09  Andreas Jaeger  <aj@suse.de>
11839         [BZ #6894]
11840         * manual/filesys.texi (Directory Entries): Mention that d_namlen
11841         is an optional BSD extension.
11843         [BZ #10254]
11844         * manual/stdio.texi (Opening Streams): Document additional fopen
11845         parameters.
11847 2012-04-09  Roland McGrath  <roland@hack.frob.com>
11849         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11850         %eax without telling the compiler.
11852 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
11854         [BZ # 13963]
11855         * manual/install.texi: Use sourceware.org.
11857 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11859         [BZ #13873]
11860         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11861         (__ieee754_pow): Generate overflow and underflow using huge*huge
11862         and tiny*tiny rather than just returning constant infinity or zero
11863         for large exponents.
11864         * math/libm-test.inc (pow_test): Require overflow exceptions for
11865         applicable cases of large exponents.
11867         [BZ #706]
11868         * sysdeps/i386/fpu/e_pow.S (p10): New object.
11869         (__ieee754_pow): Use iterative multiplication algorithm only for
11870         integer exponents with absolute value below 1024.  Check for odd
11871         integer exponents when using algorithm for real exponents.
11872         * math/libm-test.inc (pow_test): Add more tests.
11873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11875 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
11877         [BZ #13705]
11878         * math/libm-test.inc (exp_test): Do not allow overflow exception
11879         on underflow test.
11881 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
11883         [BZ #13705]
11884         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11885         instead of __kernel_standard_f.
11887 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
11889         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11890         * sysdeps/x86_64/memset_chk.S: Likewise.
11892 2012-04-08  Andreas Jaeger  <aj@suse.de>
11894         [BZ #10153]
11895         * manual/startup.texi (Environment Access): Describe return value
11896         for putenv and setenv.
11898         [BZ #6895]
11899         * manual/filesys.texi (Directory Entries): Add description for
11900         DT_LNK.
11902         [BZ #6890]
11903         * manual/filesys.texi (Directory Entries): Clarify that it's file
11904         system not operating system in the description of DT_UNKNOWN.
11906         [BZ #6578]
11907         * manual/syslog.texi (closelog): Fix reference, it's openlog.
11909 2012-04-08  Stephen Compall  <s11@member.fsf.org>
11911         [BZ #6649]
11912         * manual/llio.texi (Opening and Closing Files): Add cross
11913         reference to explain mode argument.
11915 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
11917         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11918         * sysdeps/x86_64/memset_chk.S: Likewise.
11920 2012-04-07  David S. Miller  <davem@davemloft.net>
11922         * elf/elf.h (R_SPARC_WDISP10): Define.
11923         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11924         R_SPARC_SIZE32.
11925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11926         R_SPARC_SIZE64 and R_SPARC_H34.
11928 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
11930         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11931         conditions and remove no longer applicable assertion.
11933 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11935         * bits/byteswap.h: Include <features.h>.
11936         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11937         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11939 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11941         * bits/byteswap.h (__bswap_16): Removed.
11942         Include <bits/byteswap-16.h> to get __bswap_16.
11943         * sysdeps/i386/bits/byteswap.h: Likewise.
11944         * sysdeps/s390/bits/byteswap.h: Likewise.
11945         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11946         * bits/byteswap-16.h: New file.
11947         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11948         * sysdeps/s390/bits/byteswap-16.h: Likewise.
11949         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11950         * string/Makefile (headers): Add bits/byteswap-16.h.
11952 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11954         [BZ #13895]
11955         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11956         extra indirection.
11957         * nss/Makefile (tests-static, tests): Add tst-nss-static.
11958         * nss/tst-nss-static.c: New.
11960 2012-04-06  Robert Millan  <rmh@gnu.org>
11962         [BZ #6486]
11963         * manual/llio.texi (File Position Primitive): lseek
11964         refers to WHENCE when it really means OFFSET.
11966 2012-04-06  Andreas Jaeger  <aj@suse.de>
11968         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11969         strncmp declarations.
11971         * abilist/libc.abilist: Add __poll and __ppoll.
11973 2012-04-05  David S. Miller  <davem@davemloft.net>
11975         * scripts/check-local-headers.sh: Accept a host triplet in the
11976         path matched by the exclude regexp.
11978         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11979         definition.
11980         * sysdeps/powerpc/powerpc32/dl-machine.h
11981         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11982         * sysdeps/s390/s390-32/dl-machine.h
11983         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11984         * sysdeps/sparc/sparc32/dl-machine.h
11985         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11986         * sysdeps/sparc/sparc64/dl-machine.h
11987         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11989         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11990         lazy binding.
11991         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11992         undefined symbol errors.
11994         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11995         DT_NEEDED entries.
11997 2012-04-05  Michael Matz  <matz@suse.de>
11999         [BZ #13592]
12000         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12002 2012-04-05  Andreas Jaeger  <aj@suse.de>
12004         [BZ #13908]
12005         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12006         comment.
12008 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12010         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12011         which ROUND is no valid rounding mode.
12013 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12015         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12016         read again.
12017         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12019 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12021         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12022         an exception using FPU order intentionally.
12024 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12026         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12027         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12028         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12029         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12031 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12033         [BZ #12340]
12034         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12035         EINVAL when BUFLEN is too smal.
12037 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12039         [BZ #13553]
12040         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12041         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12043 2012-04-03  Andreas Jaeger  <aj@suse.de>
12045         [BZ #13938]
12046         * manual/setjmp.texi (System V contexts): Fix sentence.
12048         [BZ #13926]
12049         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12050         New macro for this case.
12051         [!__GNUC__] (__bswap_64): New inline function for this case.
12052         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12053         * bits/byteswap.h: Likewise.
12054         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12055         ull, guard with __GLIBC_HAVE_LONG_LONG.
12057         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12058         __GLIBC_HAVE_LONG_LONG.
12060         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12061         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12063 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12065         [BZ #13691]
12066         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12067         inptr and inend, rather than using last_ch.
12069 2012-04-02  David S. Miller  <davem@davemloft.net>
12071         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12072         * stdio-common/printf-parse.h (read_int): Change return type to
12073         'int', return -1 on INT_MAX overflow.
12074         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12075         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12076         overflows INT_MAX.  Check for overflow of in-format-string precision
12077         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12078         SIZE_MAX not INT_MAX for integer overflow test.
12079         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12080         skip the construct in the format string but do not record anything.
12081         * stdio-common/bug22.c: Adjust to test both width/prevision
12082         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12083         explicitly for proper errno values.
12085 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12087         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12088         CHAR_MAX.
12089         * string/test-strcmp.c [! WIDE]: Likewise.
12090         * time/tst-mktime2.c: Likewise for INT_MAX.
12091         * string/test-string.h: #include <sys/param.h> for MIN.
12093         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12094         * sysdeps/i386/init-first.c (init): Likewise.
12095         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12096         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12097         * sysdeps/sh/init-first.c (init): Likewise.
12099 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12101         * po/ru.po: Update from translation team.
12102         * po/vi.po: Likewise.
12104 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12106         * resolv/nss_dns/dns-host.c: Merge copyright years.
12108 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12110         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12111         Optimize memcpy with prefetch if
12112         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12113         src, dst pointers have unequal 16 byte alignments.
12115 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12117         [BZ #13928]
12118         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12119         from a CNAME entry and return the minimum ttl for the query.
12120         (gaih_getanswer_slice): Likewise.
12122 2012-03-30  Jeff Law  <law@redhat.com>
12124         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12125         due to long keys.
12126         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12127         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12129         * resolv/nss_dns/dns-host.c: Update copyright year.
12131 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12133         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12134         requests to save a system call.  Fix check that all bytes are sent.
12136         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12137         comments for sendmmsg.
12139 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12141         [BZ #13691]
12142         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12143         with only 1 character between 0x0041 and 0x01b0.
12144         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12145         * wcsmbs/tst-mbsnrtowcs.c: New file.
12147 2012-03-29  David S. Miller  <davem@davemloft.net>
12149         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12150         small copies by hand.
12152 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12154         [BZ #13761]
12155         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12156         _nss_compat_initgroups_dyn): Fall back to malloc/free
12157         for large group memberships.
12159 2012-03-28  David S. Miller  <davem@davemloft.net>
12161         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12162         that branches into memcpy.
12163         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12164         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12165         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12166         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12168         bits.
12169         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12170         implementation too.
12171         * sysdeps/sparc/mempcpy.S: New file.
12173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12174         the IFUNC routine in the libc case.
12175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12177         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12178         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12179         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12180         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12181         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12182         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12183         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12184         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12186         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12187         loop to 256 bytes instead of 64 bytes and fix test signedness.
12189         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12190         * sysdeps/sparc/sparc32/Makefile: rather than here...
12191         * sysdeps/sparc/sparc64/Makefile: and here.
12193 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12195         * malloc/mallocbug.c: Avoid warnings about unused variables.
12197 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12199         [BZ #13760]
12200         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12201         in the right place. Discard and retry query if response is
12202         larger than input buffer size.
12204 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12206         [BZ #369]
12207         [BZ #2678]
12208         [BZ #3866]
12209         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12210         x for large integer exponent.
12211         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12212         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12213         sign of result as needed afterwards.
12214         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12215         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12216         result for underflowing pow the same as for overflow.
12217         (__kernel_standard_l): Handle powl overflow and underflow here
12218         rather than calling __kernel_standard.
12219         * math/libm-test.inc (pow_test): Add more tests.
12221         [BZ #3868]
12222         [BZ #13879]
12223         [BZ #13910]
12224         [BZ #13911]
12225         [BZ #13912]
12226         [BZ #13913]
12227         [BZ #13915]
12228         [BZ #13916]
12229         [BZ #13917]
12230         [BZ #13918]
12231         [BZ #13919]
12232         [BZ #13920]
12233         [BZ #13921]
12234         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12235         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12236         (__kernel_standard_l): New function.
12237         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12238         __kernel_standard.
12239         * math/w_acosl.c (__acosl): Likewise.
12240         * math/w_asinl.c (__asinl): Likewise.
12241         * math/w_atan2l.c (__atan2l): Likewise.
12242         * math/w_atanhl.c (__atanhl): Likewise.
12243         * math/w_coshl.c (__coshl): Likewise.
12244         * math/w_exp10l.c (__exp10l): Likewise.
12245         * math/w_exp2l.c (__exp2l): Likewise.
12246         * math/w_fmodl.c (__fmodl): Likewise.
12247         * math/w_hypotl.c (__hypotl): Likewise.
12248         * math/w_j0l.c (__j0l, __y0l): Likewise.
12249         * math/w_j1l.c (__j1l, __y1l): Likewise.
12250         * math/w_jnl.c (__jnl, __ynl): Likewise.
12251         * math/w_lgammal.c (__lgammal): Likewise.
12252         * math/w_log10l.c (__log10l): Likewise.
12253         * math/w_log2l.c (__log2l): Likewise.
12254         * math/w_logl.c (__logl): Likewise.
12255         * math/w_powl.c (__powl): Likewise.
12256         * math/w_remainderl.c (__remainderl): Likewise.
12257         * math/w_scalbl.c (sysv_scalbl): Likewise.
12258         * math/w_sinhl.c (__sinhl): Likewise.
12259         * math/w_sqrtl.c (__sqrtl): Likewise.
12260         * math/w_tgammal.c (__tgammal): Likewise.
12261         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12262         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12263         * math/libm-test.inc (acos_test): Add more tests.
12264         (acosh_test): Likewise.
12265         (asin_test): Likewise.
12266         (atanh_test): Likewise.
12267         (exp_test): Likewise.
12268         (exp10_test): Likewise.
12269         (exp2_test): Likewise.
12270         (expm1_test): Likewise.
12271         (lgamma_test): Likewise.
12272         (log_test): Likewise.
12273         (log10_test): Likewise.
12274         (log1p_test): Likewise.
12275         (log2_test): Likewise.
12276         (pow_test): Do not allow some spurious overflow exceptions.
12277         (sqrt_test): Add more tests.
12278         (tgamma_test): Likewise.
12279         (y0_test): Likewise.
12280         (y1_test): Likewise.
12281         (yn_test): Likewise.
12283 2012-03-27  Anton Blanchard  <anton@samba.org>
12285         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12286         MAP_HUGETLB.
12287         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12288         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12289         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12291 2012-03-27  David S. Miller  <davem@davemloft.net>
12293         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12295         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12296         have-as-vis3 check.
12298 2012-03-27  Andreas Jaeger  <aj@suse.de>
12300         * sysdeps/x86_64/elf/configure.in: Moved to ...
12301         * sysdeps/x86_64/configure.in: ... here.
12302         * sysdeps/x86_64/elf/start.S: Moved to ...
12303         * sysdeps/x86_64/start.S: ... here.
12304         * sysdeps/x86_64/elf/configure: Delete.
12306         * sysdeps/x86_64/configure.in: Merge contents from
12307         sysdeps/i386/configure.in (without i686 check).
12309         * sysdeps/i386/elf/Versions: Merge into ...
12310         * sysdeps/i386/Versions: ... this.
12311         * sysdeps/i386/elf/Versions: Delete file.
12312         * sysdeps/i386/elf/start.S: Moved to ...
12313         * sysdeps/i386/start.S: ...here.
12314         * sysdeps/i386/elf/configure.in: Merge into...
12315         * sysdeps/i386/configure.in: ...here.
12316         * sysdeps/i386/elf/configure.in: Delete file.
12317         * sysdeps/i386/elf/configure: Delete file.
12319         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12320         * debug/backtracesyms.c: ... here.
12321         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12322         * debug/backtracesymsfd.c: ... here.
12323         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12324         * sysdeps/generic/ifunc-sel.h: ... here.
12326         * sysdeps/unix/i386/start.c: Delete file.
12327         * sysdeps/unix/sparc/start.c: Delete file.
12328         * sysdeps/unix/start.c: Delete file.
12330         * sysdeps/sh/elf/configure.in: Moved to ...
12331         * sysdeps/sh/configure.in: ... here.
12332         * sysdeps/sh/elf/start.S: Moved to ...
12333         * sysdeps/sh/start.S: ... here.
12334         * sysdeps/sh/elf/configure: Delete file.
12336         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12337         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12338         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12339         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12340         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12341         * sysdeps/powerpc/powerpc64/start.S: here.
12342         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12343         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12344         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12345         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12346         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12348         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12349         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12350         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12351         * sysdeps/powerpc/powerpc32/start.S: ... here.
12352         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12353         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12354         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12356         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12357         * sysdeps/powerpc/ifunc-sel.h: ... here.
12358         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12359         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12361         * sysdeps/sparc/elf/configure.in: Moved to ...
12362         * sysdeps/sparc/configure.in: ... here.
12363         * sysdeps/sparc/elf/configure: Delete file.
12364         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12365         * sysdeps/sparc/sparc32/start.S: ... here.
12366         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12367         * sysdeps/sparc/sparc64/start.S: ... here.
12368         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12369         * sysdeps/sparc/sparc32/Makefile: ... this.
12370         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12371         * sysdeps/sparc/sparc64/Makefile: ... this.
12373         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12374         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12375         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12376         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12377         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12378         * sysdeps/s390/s390-32/setjmp.S: ... here.
12379         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12380         * sysdeps/s390/s390-32/configure.in: ... here.
12381         * sysdeps/s390/s390-32/elf/configure: Delete file.
12382         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12383         * sysdeps/s390/s390-32/start.S: ... here.
12385         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12386         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12387         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12388         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12389         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12390         * sysdeps/s390/s390-64/setjmp.S: ... here.
12391         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12392         * sysdeps/s390/s390-64/configure.in: ... here
12393         * sysdeps/s390/s390-64/elf/configure: Delete file.
12394         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12395         * sysdeps/s390/s390-64/start.S: ... here.
12396         * sysdeps/s390/s390-64/elf/configure: Delete.
12398         * configure.in: Remove support for elf directories in sysdeps.
12400         * configure: Regenerated.
12401         * sysdeps/i386/configure: Regenerated.
12402         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12403         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12404         * sysdeps/s390/s390-32/configure: Regenerated.
12405         * sysdeps/s390/s390-64/configure: Regenerated.
12406         * sysdeps/sh/configure: Regenerated.
12407         * sysdeps/sparc/configure: Regenerated.
12408         * sysdeps/x86_64/configure: Regenerated.
12410 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12414         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12415         denormal result into account.
12417 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12419         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12420         Reported by Allan McRae <allan@archlinux.org>.
12422 2012-03-23  Jeff Law  <law@redhat.com>
12424         * nss/getnssent.c (__nss_getent): Fix typo.
12426 2012-03-23  David S. Miller  <davem@davemloft.net>
12428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12430 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12432         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12433         to pad to uint64_t for each field.
12434         (dl_tls_index): Replace unsigned long with uint64_t.
12436 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12437         Paul Pluzhnikov  <ppluzhnikov@google.com>
12439         [BZ #6528]
12440         * grp/Makefile (otherlibs): Don't set it.
12441         * inet/Makefile (otherlibs): Likewise.
12442         * login/Makefile (otherlibs): Likewise.
12443         * nscd/Makefile (otherlibs): Likewise.
12444         * posix/Makefile (otherlibs): Likewise.
12445         * pwd/Makefile (otherlibs): Likewise.
12446         * rt/Makefile (otherlibs): Likewise.
12447         * sunrpc/Makefile (otherlibs): Likewise.
12448         * nss/Makefile (otherlibs): Likewise.
12449         Add libnss_files to routines and static-only-routines.
12450         ($(objpfx)getent): Remove rule.
12451         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12452         static-only-routines.
12454 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12456         [BZ #13892]
12457         * math/s_cexp.c: Include <float.h>.
12458         (__cexp): Handle exp result overflowing not necessarily
12459         overflowing both real and imaginary parts of result.
12460         * math/s_cexpf.c: Likewise.
12461         * math/s_cexpl.c: Likewise.
12462         * math/libm-test.inc (cexp_test): Add more tests.
12463         * sysdeps/i386/fpu/libm-test-ulps: Update.
12464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12466 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12468         * include/link.h (ELFW): New macro.
12469         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12470         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12472 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12474         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12475         with uint64_t.
12477 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12479         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12480         declaration.
12481         (struct La_x32_retval): Likewise.
12483 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12485         * sysdeps/x86_64/preconfigure.in: New file.
12486         * sysdeps/x86_64/preconfigure: New generated file.
12488 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12490         [BZ #13824]
12491         * math/e_exp2l.c: Include <float.h>.
12492         (__ieee754_exp2l): Handle overflow and underflow cases
12493         separately.  Only pass fractional part of argument to
12494         __ieee754_expl.
12495         * math/libm-test.inc (exp2_test): Add more tests.
12497         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12498         negating x to take absolute value.
12499         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12500         Likewise.
12501         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12502         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12503         Likewise.
12504         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12505         computing low part if x was negated.
12506         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12508 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12510         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12511         la_x32_gnu_pltexit.
12512         (pltexit): Cast int_retval to ptrdiff_t.
12513         * elf/tst-auditmod3b.c: Likewise.
12514         * elf/tst-auditmod4b.c: Likewise.
12515         * elf/tst-auditmod5b.c: Likewise.
12516         * elf/tst-auditmod6b.c: Likewise.
12517         * elf/tst-auditmod6c.c: Likewise.
12518         * elf/tst-auditmod7b.c: Likewise.
12520         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12521         and x32_gnu_pltexit.
12523         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12524         __ELF_NATIVE_CLASS.
12525         (La_x32_regs): New macro.
12526         (La_x32_retval): Likewise.
12527         (la_x32_gnu_pltenter): New function prototype.
12528         (la_x32_gnu_pltexit): Likewise.
12530 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12532         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12533         exponent.
12535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12537         * configure.in (libc_cv_cc_nofma): Check for option to disable
12538         generation of FMA instructions.
12539         * configure: Regenerate.
12540         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12541         * sysdeps/ieee754/dbl-64/Makefile: New file.
12542         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12543         Remove brandred-fma4.
12544         (CFLAGS-brandred-fma4.c): Remove.
12545         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12546         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12547         define.
12548         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12549         define.
12551 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12553         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12554         LLONG_MAX != LONG_MAX.
12555         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12556         (_fitoa_word): Likewise.
12557         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12558         LLONG_MAX != LONG_MAX.
12559         * stdio-common/_itowa.h: Include <_itoa.h>.
12560         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12561         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12562         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12563         only if not defined.
12564         (_ITOA_WORD_TYPE): Likewise.
12565         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12566         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12568 2012-03-21  David S. Miller  <davem@davemloft.net>
12570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12572 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12574         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12575         of x86_64 when setting libc_cv_slibdir, libdir and
12576         libc_cv_localedir.
12577         * sysdeps/unix/sysv/linux/configure: Regenerated.
12579 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12581         * manual/lang.texi (Old Varargs): Remove section.
12582         (How Variadic): Update menu.
12583         (va_start): Do not mention varargs.h.
12585 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12586             Joseph Myers  <joseph@codesourcery.com>
12588         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12589         link test.
12590         * configure: Regenerated.
12592 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12594         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12595         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12596         conformtest.pl
12598 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12600         * NOTES: Remove.
12601         * Makefile (files-for-dist): Remove NOTES.
12602         (NOTES): Remove rule.
12603         * README: Don't refer to NOTES.
12604         * manual/creature.texi: Don't include macros.texi.
12605         * manual/intro.texi (creature.texi): Remove comment referring to
12606         NOTES.
12608         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12609         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12610         * configure: Regenerated.
12611         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12612         LIBC_TRY_CC_OPTION.
12613         (libc_cv_as_i686): Likewise.
12614         (libc_cv_cc_avx): Likewise.
12615         (libc_cv_cc_sse2avx): Likewise.
12616         (libc_cv_cc_fma4): Likewise.
12617         (libc_cv_cc_novzeroupper): Likewise.
12618         * sysdeps/i386/configure: Regenerated.
12620         [BZ #13883]
12621         * sysdeps/i386/fpu/s_cexp.S: Remove.
12622         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12623         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12624         * math/libm-test.inc (cexp_test): Add more tests.
12625         * sysdeps/i386/fpu/libm-test-ulps: Update.
12626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12628 2012-03-21  Allan McRae  <allan@archlinux.org>
12630         * timezone/Makefile: Do not install iso3166.tab and zone.tab
12632 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12634         [BZ #13871]
12635         * math/w_exp2.c: Do not include <float.h>.
12636         (o_threshold, u_threshold): Remove.
12637         (__exp2): Calculate result before checking finiteness and calling
12638         __kernel_standard.
12639         * math/w_exp2f.c: Likewise.
12640         * math/w_exp2l.c: Likewise.
12641         * math/libm-test.inc (exp2_test): Require overflow exception for
12642         1e6 input.
12644         [BZ #3866]
12645         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12646         range of signed 64-bit integers before using fistpll.  Remove
12647         checks for whether integers fit in mantissa bits.
12648         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12649         the range of signed 32-bit integers before using fistpl.  Remove
12650         checks for whether integers fit in mantissa bits.
12651         * sysdeps/i386/fpu/e_powl.S (p64): New object.
12652         (__ieee754_powl): Test for y outside the range of signed 64-bit
12653         integers before using fistpll.  Reduce 64-bit values to 63-bit
12654         ones as needed.
12655         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12656         divide-by-zero is raised for zero to large negative powers.
12657         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12658         (__ieee754_powl): Test for y outside the range of signed 64-bit
12659         integers before using fistpll.  Reduce 64-bit values to 63-bit
12660         ones as needed.
12661         * math/libm-test.inc (pow_test): Add more tests.
12663 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12665         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12666         <stdio-common/_itoa.h>.
12667         * debug/segfault.c: Likewise.
12668         * elf/dl-cache.c: Likewise.
12669         * elf/dl-minimal.c: Likewise.
12670         * elf/dl-misc.c: Likewise.
12671         * elf/dl-sysdep.c: Likewise.
12672         * elf/dl-version.c: Likewise.
12673         * elf/rtld.c: Likewise.
12674         * hurd/hurdsock.c: Likewise.
12675         * hurd/lookup-retry.c: Likewise.
12676         * malloc/malloc.c: Likewise.
12677         * malloc/mtrace.c: Likewise.
12678         * nscd/nscd_getgr_r.c: Likewise.
12679         * nscd/nscd_getpw_r.c: Likewise.
12680         * nscd/nscd_getserv_r.c: Likewise.
12681         * posix/getopt_init.c: Likewise.
12682         * posix/wordexp.c: Likewise.
12683         * stdio-common/_itoa.c: Likewise.
12684         * stdio-common/printf_fphex.c: Likewise.
12685         * stdio-common/vfprintf.c: Likewise.
12686         * string/_strerror.c: Likewise.
12687         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12688         * sysdeps/i386/i686/hp-timing.h: Likewise.
12689         * sysdeps/mach/_strerror.c: Likewise.
12690         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12691         * sysdeps/mach/hurd/sethostid.c: Likewise.
12692         * sysdeps/mach/hurd/xmknodat.c: Likewise.
12693         * sysdeps/mach/xpg-strerror.c: Likewise.
12694         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12695         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12696         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12697         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12698         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12699         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12700         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12701         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12702         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12703         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12704         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12705         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12706         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12707         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12708         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12709         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12710         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12711         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12712         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12713         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12714         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12716         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12718         * stdio-common/_itoa.h: Moved to ...
12719         * sysdeps/generic/_itoa.h: Here.
12721         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12723         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12724         instead of "_itoa.h" and "_itowa.h".
12725         * stdio-common/vfprintf.: Likewise.
12727 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12729         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12730         <bits/wordsize.h>.
12731         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12732         (__signbit): Likwise.
12733         (llrintf): Likwise.
12734         (llrint): Likwise.
12736 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12738         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12739         __WORDSIZE != 64.
12741 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
12743         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12744         OVERFLOW_EXCEPTION_OK.
12745         * math/libm-test.inc ("Philosophy"): Update comment about
12746         exception testing.
12747         (OVERFLOW_EXCEPTION): Define.
12748         (OVERFLOW_EXCEPTION_OK): Likewise.
12749         (INVALID_EXCEPTION_OK): Renumber.
12750         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12751         (IGNORE_ZERO_INF_SIGN): Likewise.
12752         (test_exceptions): Handle FE_OVERFLOW.
12753         (exp10_test): Expect overflow exceptions.
12754         (exp2_test): Likewise.
12755         (expm1_test): Likewise.
12756         (nextafter_test): Likewise.
12757         (pow_test): Likewise.
12758         (scalbn_test): Likewise.
12759         (scalbln_test): Likewise.
12761 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12763         * sysdeps/x86_64/bits/atomic.h
12764         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12765         64bit integer.
12766         (atomic_exchange_acq): Likewise.
12767         (__arch_exchange_and_add_body): Likewise.
12768         (__arch_add_body): Likewise.
12769         (atomic_add_negative): Likewise.
12770         (atomic_add_zero): Likewise.
12772 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12774         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12775         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12777 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12779         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12780         Check __x86_64__ instead of __WORDSIZE.
12782 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12784         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12786 2012-03-19  David S. Miller  <davem@davemloft.net>
12788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12790         * sysdeps/sparc/fpu/fenv_private.h: New file.
12791         * sysdeps/sparc/fpu/math_private.h: Use it.
12792         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12793         Remove.
12794         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12795         (libc_feholdexcept_setroundl): Remove.
12796         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12797         Remove.
12798         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12799         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12801 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12803         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12804         int64_t instead of long int.
12805         (INSERT_WORDS64): Likwise.
12807 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
12809         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12810         _Unwind_GetCFA return to _Unwind_Ptr first.
12812 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
12814         [BZ #13629]
12815         * math/s_clog.c: Include <float.h>.
12816         (__clog): Scale large or subnormal inputs.
12817         * math/s_clogf.c: Likewise.
12818         * math/s_clogl.c: Likewise.
12819         * math/s_clog10.c: Include <float.h>.
12820         (M_LOG10_2): Define.
12821         (__clog10): Scale large or subnormal inputs.
12822         * math/s_clog10f.c: Likewise.
12823         * math/s_clog10l.c: Likewise.
12824         * math/libm-test.inc (clog_test): Add more tests.
12825         (clog10_test): Likewise.
12826         * sysdeps/i386/fpu/libm-test-ulps: Update.
12827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829         [BZ #11451]
12830         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12831         x and y.
12832         * math/libm-test.inc (atan2_test): Add another test.
12834         * Makerules (common-objdir-compile): Remove.
12835         * sysdeps/unix/Makefile (config-generated): Do not add
12836         $(unix-generated) to variable.
12837         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12838         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12839         Remove rule.
12840         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12841         Likewise.
12842         [generic bits/local_lim.h] (before-compile): Do not append to
12843         variable.
12844         [generic bits/local_lim.h] (common-generated): Likewise.
12845         [generic sys/param.h] (before-compile): Do not append to variable.
12846         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12847         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12848         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12849         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12850         include.
12851         [generic sys/param.h] (sys/param.h-includes): Remove variable.
12852         [generic sys/param.h] (sys/param.h-includes): Remove rule.
12853         [generic sys/param.h] ($(addprefix
12854         $(common-objpfx),$(sys/param.h-includes))): Likewise.
12855         [generic sys/param.h] (common-generated): Do not append to
12856         variable.
12857         [generic sys/param.h] (sysdep_headers): Likewise.
12858         [generic bits/errno.h] (before-compile): Do not append to
12859         variable.
12860         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12861         rule.
12862         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12863         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12864         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12865         [generic bits/errno.h] (common-generated): Do not append to
12866         variable.
12867         [generic bits/ioctls.h] (before-compile): Do not append to
12868         variable.
12869         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12870         rule.
12871         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12872         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12873         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12874         rule.
12875         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12876         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12877         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12878         [generic bits/ioctls.h] (common-generated): Do not append to
12879         variable.
12880         [generic sys/syscall.h] (syscall.h): Remove variable.
12881         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12882         rule.
12883         [generic sys/syscall.h] (before-compile): Do not append to
12884         variable.
12885         [generic sys/syscall.h] (common-generated): Likewise.
12886         * sysdeps/unix/errnos-tmpl.c: Remove file.
12887         * sysdeps/unix/errnos.awk: Likewise.
12888         * sysdeps/unix/ioctls-tmpl.c: Likewise.
12889         * sysdeps/unix/ioctls.awk: Likewise.
12890         * sysdeps/unix/mk-local_lim.c: Likewise.
12891         * sysdeps/unix/snarf-ioctls: Likewise.
12893 2012-03-19  Richard Henderson  <rth@twiddle.net>
12895         * sysdeps/i386/fpu/fenv_private.h: New file.
12896         * sysdeps/i386/fpu/math_private.h: Use it.
12897         (math_opt_barrier, math_force_eval): Remove.
12898         (libc_feholdexcept_setround_53bit): Remove.
12899         (libc_feupdateenv_53bit): Remove.
12900         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12901         (math_opt_barrier, math_force_eval): Remove.
12902         (libc_feholdexcept): Remove.
12903         (libc_feholdexcept_setround): Remove.
12904         (libc_fetestexcept, libc_fesetenv): Remove.
12905         (libc_feupdateenv_test): Remove.
12906         (libc_feupdateenv, libc_feholdsetround): Remove.
12907         (libc_feresetround): Remove.
12909         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12910         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12912         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12913         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12914         (libc_feupdateenv_testl): New.
12915         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12916         (libc_feupdateenv_testf): New.
12917         (libc_feupdateenv): Use libc_feupdateenv_test.
12918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12919         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12921         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12922         (libc_feholdsetroundf, libc_feholdsetroundl): New.
12923         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12924         (libc_feresetround_noex): New.
12925         (libc_feresetround_noexf): New.
12926         (libc_feresetround_noexl): New.
12927         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12928         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12929         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12930         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12931         SET_RESTORE_ROUND.
12932         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12933         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12934         (__cos): Likewise.
12935         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12936         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12937         SET_RESTORE_ROUND_NOEX.
12938         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12939         SET_RESTORE_ROUND_NOEXF.
12940         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12941         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12942         (libc_feholdsetroundf): New.
12943         (libc_feresetround, libc_feresetroundf): New.
12945         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12946         (libc_feholdexcept_setround_53bit): Convert from macro to function.
12947         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
12949         * sysdeps/generic/math_private.h: Include <fenv.h>.
12950         (default_libc_feholdexcept): New.
12951         (default_libc_feholdexcept_setround): New.
12952         (default_libc_fesetenv, default_libc_feupdateenv): New.
12953         (libc_feholdexcept): Only define if undefined.
12954         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12955         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12956         (libc_feholdexcept_setroundl): Likewise.
12957         (libc_feholdexcept_setround_53bit): Likewise.
12958         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12959         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12960         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12961         (libc_feupdateenv_53bit): Likewise.
12962         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12963         (libc_feholdexcept): Convert from macro to inline function.
12964         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12965         (libc_fesetenv, libc_feupdateenv): Likewise.
12967         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12968         not previously defined.
12969         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12970         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12971         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12972         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12973         * sysdeps/ieee754/flt-32/math_private.h: New file.
12974         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12975         math_private.h below SET_FLOAT_WORD.
12976         (__isnan, __isinf_ns, __finite): Remove.
12977         (__isnanf, __isinf_nsf, __finitef): Remove.
12979 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
12981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12983 2012-03-17  David S. Miller  <davem@davemloft.net>
12985         [BZ #6471]
12986         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12987         for 2.16.
12989 2012-03-16  David S. Miller  <davem@davemloft.net>
12991         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12992         warnings.
12994         [BZ #6471]
12995         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12996         properly.
12997         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12998         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12999         sysdep_routines when subdir is sysvipc.
13000         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13001         __getshmlba helper.
13003         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13005 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13007         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13008         [__LP64__].
13010 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13012         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13013         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13014         (__lround): Renamed to ...
13015         (__llround): This.  Replace long int with long long int.
13016         Define lround functions as aliases of llround functions.
13017         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13019 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13021         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13022         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13023         adresses to uintptr_t.  Replace "long int" and "unsigned long
13024         int" with "greg_t" on va_arg.
13026 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13028         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13029         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13031         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13032         Move e_machine check before EI_CLASS check.  Handle x32
13033         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13034         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13035         SKIP_EM_IA_64 and include
13036         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13038         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13039         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13040         (add_system_dir): New macro.
13042         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13043         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13045 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13047         [BZ #2551]
13048         [BZ #2552]
13049         [BZ #2553]
13050         [BZ #2554]
13051         [BZ #2562]
13052         [BZ #2563]
13053         [BZ #2565]
13054         [BZ #2566]
13055         [BZ #2576]
13056         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13057         (y0): Likewise.
13058         * math/w_j0f.c (j0f): Likewise.
13059         (y0f): Likewise.
13060         * math/w_j0l.c (__j0l): Likewise.
13061         (__y0l): Likewise.
13062         * math/w_j1.c (j1): Likewise.
13063         (y1): Likewise.
13064         * math/w_j1f.c (j1f): Likewise.
13065         (y1f): Likewise.
13066         * math/w_j1l.c (__j1l): Likewise.
13067         (__y1l): Likewise.
13068         * math/w_jn.c (jn): Likewise.
13069         (yn): Likewise.
13070         * math/w_jnf.c (jnf): Likewise.
13071         (ynf): Likewise.
13072         * math/w_jnl.c (__jnl): Likewise.
13073         (__ynl): Likewise.
13074         * math/libm-test.inc (j0_test): Add more tests.
13075         (j1_test): Likewise.
13076         (jn_test): Likewise.  Add trailing semicolon to existing test.
13077         (y0_test): Likewise.
13078         (y1_test): Likewise.
13079         * sysdeps/i386/fpu/libm-test-ulps: Update.
13080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13082         [BZ #13851]
13083         [BZ #13854]
13084         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13085         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13086         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13087         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13088         (__tanl): Set errno for infinite argument.
13089         * sysdeps/i386/fpu/mptan.c: Remove.
13090         * sysdeps/i386/fpu/s_tan.S: Likewise.
13091         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13092         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13093         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13094         * math/libm-test.inc (tan_test): Add more tests and enable more
13095         tests for double and long double.
13096         * sysdeps/i386/fpu/libm-test-ulps: Update.
13097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13099 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13101         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13102         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13104 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13106         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13107         * configure.in: Use it for both main tree and add-ons.
13108         * configure: Regenerated.
13110 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13112         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13114 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13116         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13117         in comment.
13119         [BZ #13851]
13120         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13121         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13122         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13123         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13124         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13125         infinite argument.
13126         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13127         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13128         != 0 for prec == 2.
13129         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13130         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13131         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13132         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13133         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13134         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13135         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13136         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13137         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13138         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13139         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13140         * math/libm-test.inc (cos_test): Add more tests and enable more
13141         tests for long double.
13142         (sin_test): Likewise.
13143         (sincos_test): Likewise.
13144         * sysdeps/i386/fpu/libm-test-ulps: Update.
13145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13147 2012-03-16  David S. Miller  <davem@davemloft.net>
13149         * sysdeps/sparc/fpu/math_private.h: New file.
13151 2012-03-15  David S. Miller  <davem@davemloft.net>
13153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13154         file.
13155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13157         file.
13158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13163         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13164         sysdep routines.
13165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13167         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13168         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13170         * sysdeps/sparc/sparc-ifunc.h: New file.
13171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13172         sparc-ifunc.h
13173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13175         Likewise.
13176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13177         Likewise.
13178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13182         Likewise.
13183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13188         Likewise.
13189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13190         Likewise.
13191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13197         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13198         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13199         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13205         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13206         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13207         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13209         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13210         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13211         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13212         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13213         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13214         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13216 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13218         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13219         scaling.
13220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13222 2012-03-15  Andreas Jaeger  <aj@suse.de>
13224         [BZ #13852]
13225         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13226         ieee754/flt-32 implementation for sin, cos and sincos.
13227         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13228         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13229         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13230         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13231         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13232         ieee754/flt-32 implementation for tan.
13234         * math/libm-test.inc (cos_test): Enable some large input tests for
13235         float as well
13236         (sin_test): Likewise.
13237         (sincos_test): Likewise.
13238         (tan_test): Add tests for large input.
13240         * sysdeps/i386/fpu/libm-test-ulps: Update.
13242 2012-03-15  Andreas Jaeger  <aj@suse.de>
13244         [BZ #13658]
13245         * math/libm-test.inc (cos_test): Add more test cases.
13246         (sin_test): Likewise.
13247         (sincos_test): Likewise.
13249 2012-03-15  Andreas Jaeger  <aj@suse.de>
13251         [BZ #13837]
13252         * math/libm-test.inc (cos_test): Add a test case for large input
13253         value.
13254         (sin_test): Likewise.
13255         (sincos_test): Likewise.
13257 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13258         Joseph Myers  <joseph@codesourcery.com>
13260         [BZ #13658]
13261         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13262         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13263         * sysdeps/i386/fpu/branred.c: Likewise.
13264         * sysdeps/i386/fpu/dosincos.c: Likewise.
13265         * sysdeps/i386/fpu/mpa.c: Likewise.
13266         * sysdeps/i386/fpu/s_cos.S: Likewise.
13267         * sysdeps/i386/fpu/s_sin.S: Likewise.
13268         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13269         * sysdeps/i386/fpu/sincos32.c: Likewise.
13271         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13272         Define.
13273         (libc_feupdateenv_53bit): Define.
13274         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13275         Define.
13276         (libc_feupdateenv_53bit): Define.
13278         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13279         53 bit (without extend i386 double precision).
13281         * math/libm-test.inc (sincos_test): Add tests for large input.
13282         (sin): Likewise.
13283         (cos): Likewise.
13285         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13287 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13291 2012-03-15  David S. Miller  <davem@davemloft.net>
13293         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13294         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13295         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13296         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13309         file.
13310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13312         file.
13313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13315         file.
13316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13318         file.
13319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13321         fmin/fmax sysdep routines.
13322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13324 2012-03-14  David S. Miller  <davem@davemloft.net>
13326         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13330         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13331         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13332         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13333         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13334         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13346         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13347         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13348         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13349         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13350         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13351         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13352         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13353         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13354         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13355         routines.
13356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13357         file.
13358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13360         file.
13361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13363         file.
13364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13366         file.
13367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13369         file.
13370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13372         file.
13373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13374         file.
13375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13376         file.
13377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13378         file.
13379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13380         New file.
13381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13382         file.
13383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13384         file.
13385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13387         file.
13388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13390         file.
13391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13393         file.
13394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13396         VIS3 routines.
13398         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13399         New file.
13401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13403         * sysdeps/sparc/configure.in: New file.
13404         * sysdeps/sparc/configure: Generate.
13405         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13406         * configure: Regenerate.
13407         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13408         * config.make.in (have-as-vis3): New.
13409         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13410         available use -Av9d instead of -Av9a.
13411         * sysdeps/sparc/sparc64/Makefile: Likewise.
13412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13414         New file.
13415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13416         file.
13417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13418         New file.
13419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13420         file.
13421         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13422         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13423         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13424         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13425         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13427         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13428         fzeros/fnegs to load 0x80000000 into a float register instead of
13429         using the stack.
13430         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13432 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13435         bits/syscall.h.
13436         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13437         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13438         ($(inst_includedir)/bits/syscall.h): Remove rule.
13439         ($(objpfx)bits/syscall.d): Include instead of
13440         $(objpfx)syscall-list.d.
13441         (generated): Change syscall-list.h and syscall-list.d to
13442         bits/syscall.h and bits/syscall.d.
13444 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13446         [BZ #13846]
13447         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13449 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13451         [BZ #13841]
13452         * math/s_csqrt.c: Include <float.h>.
13453         (__csqrt): Scale large or subnormal inputs.
13454         * math/s_csqrtf.c: Likewise.
13455         * math/s_csqrtl.c: Likewise.
13456         * math/libm-test.inc (csqrt_test): Add more tests.
13457         * sysdeps/i386/fpu/libm-test-ulps: Update.
13458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13460         [BZ #13840]
13461         * math/libm-test.inc (hypot_test): Add more tests.
13463 2012-03-13  David S. Miller  <davem@davemloft.net>
13465         [BZ #13840]
13466         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13467         double-precision for the calculation instead of scaling.
13469 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13471         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13472         manipulate bits before adding and subtracting TWO52[sx].
13473         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13474         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13475         Likewise.
13476         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13478 2012-03-13  David S. Miller  <davem@davemloft.net>
13480         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13481         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13482         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13483         rtld-global-offsets.h
13484         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13486         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13487         large parameters.
13489         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13491         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13492         'err' in the ifdef scope in which it is actually used.
13494         * nss/nss_db/db-init.c: Include string.h
13496 2012-03-12  David S. Miller  <davem@davemloft.net>
13498         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13499         masking out of the most significant byte of random value used.
13500         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13501         Fix coding style in previous change.
13503         * sysdeps/unix/sysv/linux/kernel-features.h
13504         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13505         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13506         expression.
13507         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13508         later.
13510 2012-03-11  David S. Miller  <davem@davemloft.net>
13512         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13513         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13514         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13515         for 'resultvar' otherwise things get truncated on 64-bit.
13517         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13518         Fix masking out of the most significant byte of random value used.
13520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13522 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13526 2012-03-09  David S. Miller  <davem@davemloft.net>
13528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13529         variables with appropriate CPP guards.
13530         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13531         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13532         on resulting framesize and the management of the outregs buffer for pltexit.
13533         Preserve floating point return values across _dl_call_pltexit call.
13534         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13535         framesize and the management of the outregs buffer for pltexit.
13536         Preserve floating point return values across _dl_call_pltexit
13537         call.
13538         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13539         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13540         (print_exit): Fix format string for return register value.
13542 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13544         * sunrpc/Makefile (others): Add rpcgen.
13545         ($(objpfx)rpcgen): Remove special build rule and dependency on
13546         libc.
13547         * sunrpc/rpcgen.c: New file.
13549 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13551         [BZ #13673]
13552         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13553         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13554         * sysdeps/i386/crti.S: Likewise.
13555         * sysdeps/i386/crtn.S: Likewise.
13556         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13557         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13558         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13559         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13560         * sysdeps/sh/crti.S: Likewise.
13561         * sysdeps/sh/crtn.S: Likewise.
13562         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13564         [BZ #13673]
13565         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13566         with URL.
13567         * locale/programs/locfile-kw.gperf: Likewise.
13568         * locale/programs/charmap-kw.h: Regenerated.
13569         * locale/programs/locfile-kw.h: Likewise.
13571         [BZ #13673]
13572         * intl/plural.y: Replace FSF snail mail address with URL.
13573         * intl/plural.c: Regenerated.
13575 2012-03-09  Richard Henderson  <rth@twiddle.net>
13577         * include/math_private.h: Remove file.
13578         * math/math_private.h: Move file ...
13579         * sysdeps/generic/math_private.h: ... here.
13581         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13582         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13583         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13585         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13586         and <math_private.h>.
13587         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13588         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13589         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13590         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13591         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13592         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13593         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13594         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13595         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13596         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13598         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13599         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13600         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13601         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13602         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13603         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13604         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13605         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13606         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13608         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13609         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13611         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13612         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13613         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13614         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13615         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13617         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13618         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13619         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13620         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13621         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13622         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13623         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13624         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13625         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13626         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13627         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13628         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13629         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13630         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13631         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13632         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13633         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13634         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13635         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13636         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13637         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13638         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13639         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13640         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13641         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13642         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13643         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13644         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13645         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13646         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13647         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13648         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13649         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13650         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13651         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13652         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13653         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13654         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13655         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13656         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13657         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13658         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13659         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13660         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13661         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13662         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13663         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13664         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13665         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13666         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13667         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13668         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13669         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13670         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13671         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13672         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13673         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13674         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13675         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13676         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13677         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13678         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13679         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13680         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13681         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13682         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13683         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13684         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13685         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13687         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13688         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13689         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13690         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13691         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13692         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13693         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13694         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13695         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13696         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13697         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13698         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13699         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13700         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13701         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13702         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13703         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13704         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13705         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13706         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13707         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13708         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13709         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13710         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13711         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13712         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13713         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13714         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13715         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13716         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13717         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13718         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13719         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13720         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13721         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13722         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13723         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13724         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13725         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13726         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13727         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13728         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13729         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13730         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13731         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13732         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13733         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13734         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13735         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13736         * sysdeps/ieee754/k_standard.c: Likewise.
13737         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13738         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13739         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13740         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13741         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13742         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13743         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13744         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13745         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13746         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13747         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13748         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13749         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13750         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13751         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13752         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13753         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13754         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13755         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13756         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13757         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13758         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13759         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13760         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13761         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13762         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13763         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13764         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13765         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13766         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13767         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13768         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13769         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13770         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13771         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13772         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13773         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13774         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13775         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13776         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13777         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13778         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13779         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13780         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13781         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13782         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13783         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13785         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13787         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13788         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13789         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13790         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13791         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13793         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13795         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13796         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13797         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13798         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13799         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13800         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13803         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13805         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13806         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13807         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13809         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13810         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13811         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13813         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13814         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13815         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13816         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13817         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13818         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13819         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13820         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13822         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13823         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13824         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13825         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13827         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13828         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13829         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13830         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13831         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13832         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13833         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13834         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13835         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13836         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13838         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13839         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13841         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13842         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13843         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13844         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13845         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13846         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13847         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13848         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13849         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13850         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13851         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13852         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13853         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13854         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13855         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13856         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13857         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13858         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13859         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13860         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13861         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13862         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13863         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13864         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13865         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13866         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13867         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13868         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13869         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13870         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13871         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13872         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13873         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13874         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13875         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13876         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13877         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13878         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13879         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13880         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13881         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13882         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13883         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13884         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13885         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13886         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13887         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13888         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13889         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13890         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13891         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13892         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13893         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13894         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13895         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13896         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13897         * sysdeps/ieee754/s_lib_version.c: Likewise.
13898         * sysdeps/ieee754/s_matherr.c: Likewise.
13899         * sysdeps/ieee754/s_signgam.c: Likewise.
13900         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13901         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13902         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13903         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13904         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13905         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13906         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13907         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13908         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13909         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13910         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13911         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13912         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13913         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13914         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13915         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13916         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13917         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13918         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13919         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13920         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13922 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13924         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13925         * sunrpc/rpc_main.c: Likewise.
13926         * sunrpc/rpc_svcout.c: Likewise.
13928 2012-03-09  David S. Miller  <davem@davemloft.net>
13930         * include/math_private.h: New file.
13932 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13934         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13935         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13936         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13937         from <bits/socket_type.h>.
13938         (enum __socket_type): Don't define here.
13939         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13941         bits/socket_type.h.
13943         [BZ #13566]
13944         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13945         checking __USE_GNU.
13947         * Makerules ($(inst_includedir)/%.h): New rule.
13948         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13949         (install-others): Remove variable setting.
13950         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13952 2012-03-08  Richard Henderson  <rth@twiddle.net>
13954         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13955         from macro to inline function; merge with the
13956         !__LIBC_INTERNAL_MATH_INLINES version.
13957         (__ieee754_sqrtf): Likewise.
13959         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13960         to inline function.
13961         (__rintf, __floor, __floorf): Likewise.
13963         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13964         macro to inline function.
13965         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13967         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13968         not <math/math_private.h>.
13970 2012-03-08  David S. Miller  <davem@davemloft.net>
13972         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13973         copyright year.
13974         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13976 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
13978         * resolv/gai_misc.c (handle_requests): Fix struct timespec
13979         normalization.
13980         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13981         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13983 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
13985         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
13986         be defined individually, they must be defined as a block.  Define
13987         S for printing a string instead of hidint the different by using a
13988         macro for adding the 'l'.
13989         * stdio-common/tst-fphex-wide.c: Adjust.
13991 2012-03-07  Marek Polacek  <polacek@redhat.com>
13993         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13995 2012-03-08  Marek Polacek  <polacek@redhat.com>
13997         [BZ #13806]
13998         * stdio-common/Makefile (tests): Add tst-fphex-wide.
13999         * stdio-common/tst-fphex.c: Define a few macros to make the
14000         test reusable.  Use them.
14001         * stdio-common/tst-fphex-wide.c: New file.
14003 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #6911]
14006         * manual/macros.texi (gnusystems): New macro.
14007         (nongnusystems): Likewise.
14008         (gnulinuxhurdsystems): Likewise.
14009         (gnuhurdsystems): Likewise..
14010         (gnulinuxsystems): Likewise.
14011         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14012         variants of the GNU system, not "GNU system".
14013         * manual/conf.texi: Likewise.
14014         * manual/errno.texi: Likewise.  Update example of errno macro
14015         expansion.
14016         * manual/filesys.texi: Likewise.
14017         (getumask): Document as specific to GNU/Hurd.
14018         * manual/install.texi: Likewise.  Reword some references to
14019         GNU/Linux.
14020         * manual/intro.texi: Likewise.
14021         * manual/io.texi: Likewise.
14022         (File Name Portability): Detail which constraints are inapplicable
14023         to all GNU systems and which are only inapplicable to GNU/Hurd.
14024         * manual/job.texi: Likewise.
14025         * manual/llio.texi: Likewise.
14026         (O_NOCTTY): Document as present on GNU/Linux.
14027         * manual/maint.texi: Likewise.
14028         * manual/memory.texi: Likewise.
14029         * manual/pattern.texi: Likewise.
14030         * manual/pipe.texi: Likewise.
14031         * manual/process.texi: Likewise.
14032         * manual/resource.texi: Likewise.
14033         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14034         child on GNU/Hurd.
14035         * manual/setjmp.texi: Likewise.
14036         * manual/signal.texi: Likewise.
14037         * manual/startup.texi: Likewise.
14038         * manual/stdio.texi: Likewise.
14039         * manual/terminal.texi: Likewise.
14040         (ONLCR): Document as POSIX.
14041         (OXTABS): Document availability on GNU/Linux as XTABS.
14042         (ONOEOT): Document availability separately from other bits.
14043         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14044         * manual/time.texi: Likewise.
14045         * manual/users.texi: Likewise.
14046         * INSTALL: Regenerated.
14047         * sysdeps/gnu/errlist.c: Regenerated.
14049         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14050         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14051         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14052         puts.
14053         * configure: Regenerated.
14055 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14057         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14058         default includes instead of AC_HEADER_CHECK.
14059         * sysdeps/i386/configure: Regenerated.
14061         [BZ #10716]
14062         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14063         * math/s_cacoshf.c (__cacoshf): Likewise.
14064         * math/s_cacoshl.c (__cacoshl): Likewise.
14065         * math/s_casinh.c (__casinh): Set signs of result from argument.
14066         * math/s_casinhf.c (__casinhf): Likewise.
14067         * math/s_casinhl.c (__casinhl): Likewise.
14068         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14069         (casinh_test): Add more tests.
14070         * sysdeps/i386/fpu/libm-test-ulps: Update.
14071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14073 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14075         * po/zh_TW.po: Update from translation team.
14077         * login/Makefile (distribute): Remove variable.
14078         * catgets/Makefile: Likewise.
14079         * mach/Makefile: Likewise.
14080         * malloc/Makefile: Likewise.
14081         * misc/Makefile: Likewise.
14082         * iconv/Makefile: Likewise.
14083         * nscd/Makefile: Likewise.
14084         * hurd/Makefile: Likewise.
14085         * manual/Makefile: Likewise.
14086         * locale/Makefile: Likewise.
14087         * intl/Makefile: Likewise.
14088         * conform/Makefile: Likewise.
14089         * nss/Makefile: Likewise.
14090         * time/Makefile: Likewise.
14091         * soft-fp/Makefile: Likewise.
14092         * dirent/Makefile: Likewise.
14093         * gmon/Makefile: Likewise.
14094         * po/Makefile: Likewise.
14095         * rt/Makefile: Likewise.
14096         * socket/Makefile: Likewise.
14097         * math/Makefile: Likewise.
14098         * signal/Makefile: Likewise.
14099         * debug/Makefile: Likewise.
14100         * elf/Makefile: Likewise.
14101         * timezone/Makefile: Likewise.
14102         * stdlib/Makefile: Likewise.
14103         * iconvdata/Makefile: Likewise.
14104         * sunrpc/Makefile: Likewise.
14105         * io/Makefile: Likewise.
14106         * argp/Makefile: Likewise.
14107         * inet/Makefile: Likewise.
14108         * hesiod/Makefile: Likewise.
14109         * grp/Makefile: Likewise.
14110         * csu/Makefile: Likewise.
14111         * wctype/Makefile: Likewise.
14112         * crypt/Makefile: Likewise.
14113         * libio/Makefile: Likewise.
14114         * string/Makefile: Likewise.
14115         * nis/Makefile: Likewise.
14116         * resolv/Makefile: Likewise.
14117         * stdio-common/Makefile: Likewise.
14118         * wcsmbs/Makefile: Likewise.
14119         * dlfcn/Makefile: Likewise.
14120         * posix/Makefile: Likewise.
14122         [BZ #6959]
14123         * timezone/Makefile: Don't install timezone files, just the programs
14124         and scripts.
14126 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14128         * nss/databases.def: Add missing gshadow entry.
14130         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14132 2012-03-06  Marek Polacek  <polacek@redhat.com>
14134         [BZ #13726]
14135         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14136         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14137         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14138         * stdio-common/tst-long-dbl-fphex.c: New file.
14140 2012-03-06  David S. Miller  <davem@davemloft.net>
14142         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14143         (set_obp_int): New function.
14144         (get_obp_int): New function.
14145         (__get_clockfreq_via_dev_openprom): Likewise.
14146         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14147         Avoid unused variable warnings on 'val' and use builtin_expect.
14148         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14149         __builtin_expect.
14150         (INLINE_CLONE_SYSCALL): Likewise.
14152 2012-03-05  David S. Miller  <davem@davemloft.net>
14154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14156 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14160         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14161         only for |x| >= 40.
14162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14164 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14166         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14167         Replace gettimeofday with __vdso_gettimeofday.
14169         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14170         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14171         __vdso_clock_gettime and __vdso_getcpu.
14173         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14174         time with __vdso_time.
14176 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14178         * manual/lang.texi (size_t): Note types to which size_t may be
14179         equivalent with the GNU C Library, but do not describe when
14180         differences between them are significant.
14182 2012-03-05  Andreas Jaeger  <aj@suse.de>
14184         * sysdeps/i386/fpu/libm-test-ulps: Update.
14186 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14188         [BZ #3976]
14189         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14190         (__ieee754_pow): Save and restore rounding mode and use
14191         round-to-nearest for main computations.
14192         * math/libm-test.inc (pow_test_tonearest): New function.
14193         (pow_test_towardzero): Likewise.
14194         (pow_test_downward): Likewise.
14195         (pow_test_upward): Likewise.
14196         (main): Call the new functions.
14197         * sysdeps/i386/fpu/libm-test-ulps: Update.
14198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14200         [BZ #3976]
14201         * math/libm-test.inc (cosh_test_tonearest): New function.
14202         (cosh_test_towardzero): Likewise.
14203         (cosh_test_downward): Likewise.
14204         (cosh_test_upward): Likewise.
14205         (sinh_test_tonearest): Likewise.
14206         (sinh_test_towardzero): Likewise.
14207         (sinh_test_downward): Likewise.
14208         (sinh_test_upward): Likewise.
14209         (main): Call the new functions.
14210         * sysdeps/i386/fpu/libm-test-ulps: Update.
14211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14213 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14215         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14216         default stack guard is set in last bytes.
14217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14219 2012-03-05  Kees Cook  <keescook@chromium.org>
14221         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14223         [BZ #13656]
14224         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14225         possibly allocate from heap instead of stack.
14226         * stdio-common/bug-vfprintf-nargs.c: New file.
14227         * stdio-common/Makefile (tests): Add nargs overflow test.
14229 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14233 2012-03-03  Marek Polacek  <polacek@redhat.com>
14235         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14236         * math/math_private.h: Likewise.
14237         * stdlib/tst-strtod.c: Likewise.
14238         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14239         * sysdeps/x86_64/bits/atomic.h: Likewise.
14241 2012-03-02  David S. Miller  <davem@davemloft.net>
14243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14247         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14248         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14249         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14250         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14252 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14254         [BZ #13792]
14255         * manual/examples/README: New file, says the example source files
14256         can be used under GPL>=2.
14257         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14258         line containing just "*/".
14259         * manual/examples/add.c: Add copyright header (GPL>=2).
14260         * manual/examples/argp-ex1.c: Likewise.
14261         * manual/examples/argp-ex2.c: Likewise.
14262         * manual/examples/argp-ex3.c: Likewise.
14263         * manual/examples/argp-ex4.c: Likewise.
14264         * manual/examples/atexit.c: Likewise.
14265         * manual/examples/db.c: Likewise.
14266         * manual/examples/dir.c: Likewise.
14267         * manual/examples/dir2.c: Likewise.
14268         * manual/examples/execinfo.c: Likewise.
14269         * manual/examples/filecli.c: Likewise.
14270         * manual/examples/filesrv.c: Likewise.
14271         * manual/examples/fmtmsgexpl.c: Likewise.
14272         * manual/examples/genpass.c: Likewise.
14273         * manual/examples/inetcli.c: Likewise.
14274         * manual/examples/inetsrv.c: Likewise.
14275         * manual/examples/isockad.c: Likewise.
14276         * manual/examples/longopt.c: Likewise.
14277         * manual/examples/memopen.c: Likewise.
14278         * manual/examples/memstrm.c: Likewise.
14279         * manual/examples/mkfsock.c: Likewise.
14280         * manual/examples/mkisock.c: Likewise.
14281         * manual/examples/mygetpass.c: Likewise.
14282         * manual/examples/pipe.c: Likewise.
14283         * manual/examples/popen.c: Likewise.
14284         * manual/examples/rprintf.c: Likewise.
14285         * manual/examples/search.c: Likewise.
14286         * manual/examples/select.c: Likewise.
14287         * manual/examples/setjmp.c: Likewise.
14288         * manual/examples/sigh1.c: Likewise.
14289         * manual/examples/sigusr.c: Likewise.
14290         * manual/examples/stpcpy.c: Likewise.
14291         * manual/examples/strdupa.c: Likewise.
14292         * manual/examples/strftim.c: Likewise.
14293         * manual/examples/strncat.c: Likewise.
14294         * manual/examples/subopt.c: Likewise.
14295         * manual/examples/swapcontext.c: Likewise.
14296         * manual/examples/termios.c: Likewise.
14297         * manual/examples/testopt.c: Likewise.
14298         * manual/examples/testpass.c: Likewise.
14299         * manual/examples/timeval_subtract.c: Likewise.
14301         [BZ #13792]
14302         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14303         function to ...
14304         * manual/timeval_subtract.c.texi: ... here, new file.
14306 2012-03-02  David S. Miller  <davem@davemloft.net>
14308         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14310 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14312         [BZ #3976]
14313         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14314         (__sin): Save and restore rounding mode and use round-to-nearest
14315         for all computations.
14316         (__cos): Save and restore rounding mode and use round-to-nearest
14317         for all computations.
14318         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14319         <fenv.h>.
14320         (tan): Save and restore rounding mode and use round-to-nearest for
14321         all computations.
14322         * math/libm-test.inc (cos_test_tonearest): New function.
14323         (cos_test_towardzero): Likewise.
14324         (cos_test_downward): Likewise.
14325         (cos_test_upward): Likewise.
14326         (sin_test_tonearest): Likewise.
14327         (sin_test_towardzero): Likewise.
14328         (sin_test_downward): Likewise.
14329         (sin_test_upward): Likewise.
14330         (tan_test_tonearest): Likewise.
14331         (tan_test_towardzero): Likewise.
14332         (tan_test_downward): Likewise.
14333         (tan_test_upward): Likewise.
14334         (main): Call the new functions.
14335         * sysdeps/i386/fpu/libm-test-ulps: Update.
14336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14338         [BZ #10135]
14339         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14340         small n, then large n, before computing and testing k+n.
14341         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14342         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14343         Likewise.
14344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14345         Likewise.
14346         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14347         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14348         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14349         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14350         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14351         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14352         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14353         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14354         * math/libm-test.inc (scalbn_test): Add more tests.
14355         (scalbln_test): Likewise.
14357         * manual/filesys.texi (mode_t): Describe constraints on size and
14358         signedness, not exact equivalence to a particular type.
14359         (ino_t): Likewise.
14360         (ino64_t): Likewise.
14361         (dev_t): Likewise.
14362         (nlink_t): Likewise.
14363         (blkcnt_t): Likewise.
14364         (blkcnt64_t): Likewise.
14365         * manual/llio.texi (off_t): Likewise.
14367         [BZ #3976]
14368         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14369         (__ieee754_exp): Save and restore rounding mode and use
14370         round-to-nearest for all computations.
14371         * math/libm-test.inc (exp_test_tonearest): New function.
14372         (exp_test_towardzero): Likewise.
14373         (exp_test_downward): Likewise.
14374         (exp_test_upward): Likewise.
14375         (main): Call the new functions.
14376         * sysdeps/i386/fpu/libm-test-ulps: Update.
14377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14379 2012-03-01  Chris Demetriou  <cgd@google.com>
14381         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14382         have predictable order.
14384 2012-03-01  David S. Miller  <davem@davemloft.net>
14386         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14388         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14389         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14390         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14391         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14393         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14394         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14395         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14397         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14398         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14399         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14400         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14401         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14405         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14406         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14407         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14409         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14410         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14411         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14412         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14413         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14414         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14415         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14416         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14417         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14418         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14419         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14420         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14421         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14422         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14423         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14424         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14425         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14426         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14427         * sysdeps/sparc/elf/configure: Regenerated.
14429 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14431         * configure.in (AS, LD): Require binutils 2.20 or later.
14432         * configure: Regenerated.
14433         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14434         as required minimum version.
14435         * INSTALL: Regenerated.
14437         [BZ #2541]
14438         [BZ #4108]
14439         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14440         before squaring exponent.
14441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14442         bottom long double and 27 bits of top long double before squaring
14443         exponent.
14444         * math/libm-test.inc (erfc_test): Add more tests.
14445         * sysdeps/i386/fpu/libm-test-ulps: Update.
14446         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14449 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14451         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14452         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14453         containing bit-fields.
14454         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14455         * soft-fp/single.h (_FP_UNION_S): Likewise.
14456         * soft-fp/double.h (_FP_UNION_D): Likewise.
14458 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14460         [BZ #13786]
14461         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14462         not include ../strcmp.S.
14463         [USE_AS_STRNCASECMP_L]: Likewise.
14464         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14465         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14466         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14467         (__strncasecmp_l_ia32): Define as alias to
14468         __strncasecmp_l_nonascii.
14470         [BZ #5794]
14471         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14472         * sysdeps/i386/fpu/libm-test-ulps: Update.
14473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14475         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14478 2012-02-29  Jeff Law  <law@redhat.com>
14480         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14481         out of bounds read.
14483 2012-02-29  Marek Polacek  <polacek@redhat.com>
14485         [BZ #13706]
14486         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14487         * elf/Makefile: Add rules to run tst-unused-dep.out.
14489 2012-02-28  David S. Miller  <davem@davemloft.net>
14491         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14492         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14493         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14494         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14495         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14496         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14498 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14500         * math/libm-test.inc (llround_test): Move one test from
14501         lround_test.  Use TEST_f_L in moved test.
14502         (lround_test): Move misplaced test to llround_test.  Add testcase
14503         from bug 2561.
14505 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14507         * sysdeps/x86_64/fpu/e_expf.S: New file.
14508         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14510 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14512         [BZ #13637]
14513         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14514         of remain_len that may cause incomplete multi-byte character and
14515         false match.
14516         * posix/bug-regex33.c: New file.
14517         * posix/Makefile (tests): Add bug-regex33.
14519 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14521         * manual/macros.texi: New file.
14522         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14523         * manual/libc.texinfo: Include macros.texi.
14524         * manual/creatute.texi: Likewise.
14525         * manual/install.texi: Likewise.
14526         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14527         @glibcadj{} in references to the GNU C Library.
14528         * manual/charset.texi: Likewise.
14529         * manual/conf.texi: Likewise.
14530         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14531         when not using those macros.
14532         * manual/creature.texi: Likewise.
14533         * manual/crypt.texi: Likewise.
14534         * manual/errno.texi: Likewise.
14535         * manual/filesys.texi: Likewise.
14536         * manual/header.texi: Likewise.
14537         * manual/install.texi: Likewise.
14538         * manual/intro.texi: Likewise.
14539         * manual/io.texi: Likewise.
14540         * manual/job.texi: Likewise.
14541         * manual/lang.texi: Likewise.
14542         * manual/libc.texiinfo: Likewise.
14543         * manual/llio.texi: Likewise.
14544         * manual/locale.texi: Likewise.
14545         * manual/maint.texi: Likewise.
14546         * manual/math.texi: Likewise.
14547         * manual/memory.texi: Likewise.
14548         * manual/message.texi: Likewise.
14549         * manual/nss.texi: Likewise.
14550         * manual/pattern.texi: Likewise.
14551         * manual/process.texi: Likewise.
14552         * manual/resource.texi: Likewise.
14553         * manual/search.texi: Likewise.
14554         * manual/setjmp.texi: Likewise.
14555         * manual/signal.texi: Likewise.
14556         * manual/socket.texi: Likewise.
14557         * manual/startup.texi: Likewise.
14558         * manual/stdio.texi: Likewise.
14559         * manual/string.texi: Likewise.
14560         * manual/sysinfo.texi: Likewise.
14561         * manual/syslog.texi: Likewise.
14562         * manual/terminal.texi: Likewise.
14563         * manual/time.texi: Likewise.
14564         * manual/users.texi: Likewise.
14565         * INSTALL: Regenerated.
14566         * NOTES: Regenerated.
14567         * sysdeps/gnu/errlist.c: Regenerated.
14569 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14571         * include/dirent.h: Include <dirstream.h> before
14572         <dirent/dirent.h>.
14574 2012-02-28  David S. Miller  <davem@davemloft.net>
14576         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14577         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14578         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14579         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14581 2012-02-27  David S. Miller  <davem@davemloft.net>
14583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14585         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14586         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14589         frame pointer instead of stack pointer relative arg slot.
14590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14591         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14592         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14594 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14596         [BZ #3992]
14597         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14599 2012-02-27  David S. Miller  <davem@davemloft.net>
14601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14605         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14606         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14607         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14608         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14610 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14612         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14613         later.  Allow versions 5-9.
14614         * configure: Regenerated.
14615         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14616         required minimum version and 4.6 as recommended version.  Do not
14617         mention bugs in GCC 2.7 and 2.8.
14618         * INSTALL: Regenerated.
14620 2012-02-27  David S. Miller  <davem@davemloft.net>
14622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14626         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14627         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14628         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14629         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14631         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14632         manipulate bits before adding and subtracting TWO112[sx].
14633         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14635 2012-02-27  Roland McGrath  <roland@hack.frob.com>
14637         [BZ #13775]
14638         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14639         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14640         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14641         being in POSIX, because they are in 1003.1-2008.
14643         * rt/tst-aio.c: Include <fcntl.h>.
14644         * rt/tst-aio7.c: Likewise.
14645         * rt/tst-aio64.c: Likewise.
14647         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14649 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14651         * manual/install.texi (--with-headers): Describe headers as
14652         interface headers, not private headers.
14653         (Specific advice for GNU/Linux systems): Describe use of headers
14654         from "make headers_install", not private headers from older
14655         kernels.
14656         * INSTALL: Regenerated.
14657         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14658         Change to 2.6.19.
14659         * sysdeps/unix/sysv/linux/configure: Regenerated.
14661         * manual/llio.texi (fclean): Remove documentation.
14663         * manual/Makefile (libc-texi-generated): New variable.  Include
14664         version.texi.
14665         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14666         $(libc-texi-generated), not duplicated list of files.
14667         (version.texi, stamp-version): New rules.
14668         (realclean): Remove $(libc-texi-generated), not individual files
14669         from that list.  Do not remove dir-add.texinfo.
14670         * manual/libc.texinfo: Comment out uses of edition numbers and
14671         references to printed manual.  Remove last-updated dates.
14672         (EDITION): Comment out.
14673         (ISBN): Likewise.
14674         (VERSION, UPDATED): Remove.
14675         (version.texi): Include.
14677 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
14679         * sysdeps/posix/spawni.c: Include <signal.h>.
14680         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14681         * sysdeps/pthread/aio_fsync.c: Likewise.
14683 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
14685         * conform/Makefile (tests): Run only when not cross-compiling and
14686         when fast-check is not defined.
14688         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14689         * conform/data/limits.h-data: Fixes for POSIX2008.
14690         * conform/run-conformtest.sh: Run all tests.
14691         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14692         headers.
14693         * include/bits/dlfcn.h: Likewise.
14694         * include/langinfo.h: Likewise.
14695         * include/monetary.h: Likewise.
14696         * include/sys/poll.h: Likewise.
14698         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14699         for __USE_GNU.
14700         * posix/spawn.h: Define __need_sigset_t.
14701         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14702         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14703         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
14704         to get sigevent_t only.
14705         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14706         only for __USE_GNU.
14707         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14708         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14709         process_vm_writev only for __USE_GNU.
14710         * termios/termios.h: Declare tcgetsid also for POSIX2008.
14712         * conform/Makefile: For now ignore errors from run-conformtest.
14713         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
14714         POSIX to avoid namespace pollution.  Don't prepend headers.
14715         * conform/data/aio.h-data: Fixes for POSIX testing.
14716         * conform/data/fcntl.h-data: Likewise.
14717         * conform/data/glob.h-data: Likewise.
14718         * conform/data/grp.h-data: Likewise.
14719         * conform/data/pthread.h-data: Likewise.
14720         * conform/data/pwd.h-data: Likewise.
14721         * conform/data/signal.h-data: Likewise.
14722         * conform/data/spawn.h-data: Likewise.
14723         * conform/data/stdio.h-data: Likewise.
14724         * conform/data/stdlib.h-data: Likewise.
14725         * conform/data/stropts.h-data: Likewise.
14726         * conform/data/sys/mman.h-data: Likewise.
14727         * conform/data/sys/stat.h-data: Likewise.
14728         * conform/data/sys/types.h-data: Likewise.
14729         * conform/data/sys/wait.h-data: Likewise.
14730         * conform/data/time.h-data: Likewise.
14731         * conform/data/unistd.h-data: Likewise.
14732         * conform/data/utime.h-data: Likewise.
14734         * io/sys/stat.h: fchmod was always in POSIX.
14735         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14736         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14737         * rt/aio.h: Define __need_timespec before including <time.h>.
14738         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14739         struct.  Add forward declaration of pthread_attr_t and use it in
14740         sigevent.
14741         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14743         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14744         always remove CLK_TCK definition.
14746 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
14748         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14750 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
14752         * conform/run-conformtest.sh: New file.
14753         * conform/Makefile: Run run-conformtest for tests.
14754         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
14755         support.
14757         * conform/data/uchar.h-data: New file.
14758         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14759         * conform/data/arpa/inet.h-data: Likewise.
14760         * conform/data/assert.h-data: Likewise.
14761         * conform/data/complex.h-data: Likewise.
14762         * conform/data/cpio.h-data: Likewise.
14763         * conform/data/ctype.h-data: Likewise.
14764         * conform/data/dirent.h-data: Likewise.
14765         * conform/data/dlfcn.h-data: Likewise.
14766         * conform/data/errno.h-data: Likewise.
14767         * conform/data/fcntl.h-data: Likewise.
14768         * conform/data/float.h-data: Likewise.
14769         * conform/data/fmtmsg.h-data: Likewise.
14770         * conform/data/fnmatch.h-data: Likewise.
14771         * conform/data/ftw.h-data: Likewise.
14772         * conform/data/glob.h-data: Likewise.
14773         * conform/data/grp.h-data: Likewise.
14774         * conform/data/iconv.h-data: Likewise.
14775         * conform/data/inttypes.h-data: Likewise.
14776         * conform/data/langinfo.h-data: Likewise.
14777         * conform/data/libgen.h-data: Likewise.
14778         * conform/data/limits.h-data: Likewise.
14779         * conform/data/locale.h-data: Likewise.
14780         * conform/data/math.h-data: Likewise.
14781         * conform/data/monetary.h-data: Likewise.
14782         * conform/data/mqueue.h-data: Likewise.
14783         * conform/data/ndbm.h-data: Likewise.
14784         * conform/data/net/if.h-data: Likewise.
14785         * conform/data/netdb.h-data: Likewise.
14786         * conform/data/netinet/in.h-data: Likewise.
14787         * conform/data/nl_types.h-data: Likewise.
14788         * conform/data/poll.h-data: Likewise.
14789         * conform/data/pthread.h-data: Likewise.
14790         * conform/data/pwd.h-data: Likewise.
14791         * conform/data/regex.h-data: Likewise.
14792         * conform/data/sched.h-data: Likewise.
14793         * conform/data/search.h-data: Likewise.
14794         * conform/data/semaphore.h-data: Likewise.
14795         * conform/data/setjmp.h-data: Likewise.
14796         * conform/data/signal.h-data: Likewise.
14797         * conform/data/spawn.h-data: Likewise.
14798         * conform/data/stdarg.h-data: Likewise.
14799         * conform/data/stdio.h-data: Likewise.
14800         * conform/data/stdlib.h-data: Likewise.
14801         * conform/data/string.h-data: Likewise.
14802         * conform/data/strings.h-data: Likewise.
14803         * conform/data/stropts.h-data: Likewise.
14804         * conform/data/sys/ipc.h-data: Likewise.
14805         * conform/data/sys/mman.h-data: Likewise.
14806         * conform/data/sys/msg.h-data: Likewise.
14807         * conform/data/sys/resource.h-data: Likewise.
14808         * conform/data/sys/select.h-data: Likewise.
14809         * conform/data/sys/sem.h-data: Likewise.
14810         * conform/data/sys/shm.h-data: Likewise.
14811         * conform/data/sys/socket.h-data: Likewise.
14812         * conform/data/sys/stat.h-data: Likewise.
14813         * conform/data/sys/statvfs.h-data: Likewise.
14814         * conform/data/sys/time.h-data: Likewise.
14815         * conform/data/sys/timeb.h-data: Likewise.
14816         * conform/data/sys/times.h-data: Likewise.
14817         * conform/data/sys/types.h-data: Likewise.
14818         * conform/data/sys/uio.h-data: Likewise.
14819         * conform/data/sys/un.h-data: Likewise.
14820         * conform/data/sys/utsname.h-data: Likewise.
14821         * conform/data/sys/wait.h-data: Likewise.
14822         * conform/data/syslog.h-data: Likewise.
14823         * conform/data/tar.h-data: Likewise.
14824         * conform/data/termios.h-data: Likewise.
14825         * conform/data/utime.h-data: Likewise.
14826         * conform/data/utmpx.h-data: Likewise.
14827         * conform/data/varargs.h-data: Likewise.
14828         * conform/data/wchar.h-data: Likewise.
14829         * conform/data/wctype.h-data: Likewise.
14830         * conform/data/wordexp.h-data: Likewise.
14832         * include/stropts.h: New file.
14833         * include/uchar.h: New file.
14834         * include/aio.h: Changes to allow conformtest.pl to use the headers.
14835         * include/assert.h: Likewise.
14836         * include/ctype.h: Likewise.
14837         * include/dirent.h: Likewise.
14838         * include/dlfcn.h: Likewise.
14839         * include/fcntl.h: Likewise.
14840         * include/fnmatch.h: Likewise.
14841         * include/glob.h: Likewise.
14842         * include/grp.h: Likewise.
14843         * include/libio.h: Likewise.
14844         * include/locale.h: Likewise.
14845         * include/math.h: Likewise.
14846         * include/net/if.h: Likewise.
14847         * include/netdb.h: Likewise.
14848         * include/netinet/in.h: Likewise.
14849         * include/pthread.h: Likewise.
14850         * include/pwd.h: Likewise.
14851         * include/regex.h: Likewise.
14852         * include/sched.h: Likewise.
14853         * include/search.h: Likewise.
14854         * include/setjmp.h: Likewise.
14855         * include/signal.h: Likewise.
14856         * include/stdio.h: Likewise.
14857         * include/stdlib.h: Likewise.
14858         * include/string.h: Likewise.
14859         * include/sys/cdefs.h: Likewise.
14860         * include/sys/mman.h: Likewise.
14861         * include/sys/msg.h: Likewise.
14862         * include/sys/resource.h: Likewise.
14863         * include/sys/select.h: Likewise.
14864         * include/sys/socket.h: Likewise.
14865         * include/sys/stat.h: Likewise.
14866         * include/sys/statvfs.h: Likewise.
14867         * include/sys/time.h: Likewise.
14868         * include/sys/times.h: Likewise.
14869         * include/sys/uio.h: Likewise.
14870         * include/sys/utsname.h: Likewise.
14871         * include/sys/wait.h: Likewise.
14872         * include/termios.h: Likewise.
14873         * include/time.h: Likewise.
14874         * include/ulimit.h: Likewise.
14875         * include/unistd.h: Likewise.
14876         * include/utime.h: Likewise.
14877         * include/wchar.h: Likewise.
14878         * include/wctype.h: Likewise.
14879         * include/wordexp.h: Likewise.
14881         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14883         * time/time.h: TIME_UTC must be a macro.
14884         Make timespec_get available for ISO C11 only as well.
14886 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
14888         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14889         Reported by Peng Haitao <penght@cn.fujitsu.com>.
14891 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14893         * configure.in: Use -o not -a in test for unsupported multi-arch.
14895 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14897         * manual/texinfo.tex: Update to version 2012-01-19.16.
14899 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14901         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14903 2012-02-24  Roland McGrath  <roland@hack.frob.com>
14905         [BZ #13738]
14906         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14907         * manual/fdl-1.3.texi: New file.
14908         * manual/fdl-1.1.texi: File removed.
14910         [BZ #13738]
14911         * manual/libc.texinfo (FDL_VERSION): New @set.
14912         Use it for mention of FDL in cover text.
14913         (Documentation License): Use it in @include file name.
14915 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14916             Roland McGrath  <roland@hack.frob.com>
14918         [BZ #5461]
14919         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14920         not LONG_LONG_MAX and LONG_LONG_MIN.
14921         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14922         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
14923         name.
14924         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14926 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14928         [BZ #2547]
14929         [BZ #11365]
14930         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14931         manipulate bits before adding and subtracting TWO23[sx].
14932         * math/libm-test.inc (nearbyint_test): Add more tests.
14934 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14936         [BZ #2548]
14937         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14938         bits before adding and subtracting TWO23[sx].
14939         * math/libm-test.inc (rint_test): Add more tests.
14940         (rint_test_tonearest): Likewise.
14941         (rint_test_towardzero): Likewise.
14942         (rint_test_downward): Likewise.
14943         (rint_test_upward: Likewise.
14945 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14947         [BZ #10110]
14948         * include/stdc-predef.h: New file.  Extracted from features.h.
14949         * include/features.h: Include stdc-predef.h.
14950         * Makefile (headers): Add stdc-predef.h.
14951         * CONFORMANCE (Compiler limitations): Update.
14953 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14955         * manual/libc.texinfo (VERSION, UPDATED): Revert.
14957 2012-02-21  David S. Miller  <davem@davemloft.net>
14959         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14960         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14962 2012-02-20  David S. Miller  <davem@davemloft.net>
14964         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14965         using a normal save/restore sequence, rather than allocating a
14966         dummy stack frame just to store a frame pointer and restore.
14967         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14969 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14971         * manual/install.texi: Fix stray word in line-wrapped comment.
14973 2012-02-20  David S. Miller  <davem@davemloft.net>
14975         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14976         both binutils and gcc support GOTDATA.
14978         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14979         "rd %pc" in the PIC register setup sequences.
14981         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14982         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14983         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14984         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14985         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14987         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14988         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14990         (SYSCALL_ERROR_HANDLER): Likewise.
14991         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14992         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14994         (SYSCALL_ERROR_HANDLER): Likewise.
14996         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14997         (HAVE_GCC_GOTDATA): New.
14998         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14999         relocation support in both binutils and gcc.
15000         * sysdeps/sparc/elf/configure: Regenerate.
15002         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15003         * sysdeps/sparc/sparc32/elf/configure: Delete.
15004         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15005         * sysdeps/sparc/sparc64/elf/configure: Delete.
15006         * sysdeps/sparc/elf/configure.in: New file.
15007         * sysdeps/sparc/elf/configure: Generate.
15009         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15010         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15011         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15012         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15013         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15015 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15017         * manual/install.texi: Do not mention specific glibc version
15018         numbers.
15019         * manual/libc.texinfo (VERSION, UPDATED): Update.
15020         (@copying): Use @copyright{} and range of years.
15022 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15024         [BZ #13695]
15025         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15026         [crti.S not in sysdirs] (generated): Do not append.
15027         [crti.S not in sysdirs] (omit-deps): Likewise.
15028         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15029         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15030         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15031         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15032         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15033         Likewise.
15034         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15035         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15036         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15037         * csu/defs.awk: Remove file.
15038         * sysdeps/generic/initfini.c: Likewise.
15039         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15040         variable.
15041         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15042         Likewise.
15044 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15046         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15047         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15048         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15049         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15050         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15051         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15052         <bits/epoll.h>.
15053         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15054         (__EPOLL_PACKED): Define to empty if not defined by
15055         <bits/epoll.h>.
15056         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15058         bits/epoll.h.
15060 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15062         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15063         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15064         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15065         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15066         <bits/timerfd.h>.
15067         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15069         bits/timerfd.h.
15071 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15073         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15074         in C locale.
15075         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15076         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15077         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15080 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15082         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15083         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15085 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15087         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15088         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15089         defined.
15090         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15091         Likewise.
15092         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15093         entry for 2.16.
15095 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15097         * math/w_acos.c: Use non-signaling floating-point comparisons.
15098         * math/w_acosf.c: Likewise.
15099         * math/w_acosh.c: Likewise.
15100         * math/w_acoshf.c: Likewise.
15101         * math/w_acoshl.c: Likewise.
15102         * math/w_acosl.c: Likewise.
15103         * math/w_asin.c: Likewise.
15104         * math/w_asinf.c: Likewise.
15105         * math/w_asinl.c: Likewise.
15106         * math/w_atanh.c: Likewise.
15107         * math/w_atanhf.c: Likewise.
15108         * math/w_atanhl.c: Likewise.
15109         * math/w_exp2.c: Likewise.
15110         * math/w_exp2f.c: Likewise.
15111         * math/w_exp2l.c: Likewise.
15112         * math/w_j0.c: Likewise.
15113         * math/w_j0f.c: Likewise.
15114         * math/w_j0l.c: Likewise.
15115         * math/w_j1.c: Likewise.
15116         * math/w_j1f.c: Likewise.
15117         * math/w_j1l.c: Likewise.
15118         * math/w_jn.c: Likewise.
15119         * math/w_jnf.c: Likewise.
15120         * math/w_log.c: Likewise.
15121         * math/w_log10.c: Likewise.
15122         * math/w_log10f.c: Likewise.
15123         * math/w_log10l.c: Likewise.
15124         * math/w_log2.c: Likewise.
15125         * math/w_log2f.c: Likewise.
15126         * math/w_log2l.c: Likewise.
15127         * math/w_logf.c: Likewise.
15128         * math/w_logl.c: Likewise.
15129         * math/w_sqrt.c: Likewise.
15130         * math/w_sqrtf.c: Likewise.
15131         * math/w_sqrtl.c: Likewise.
15132         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15133         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15134         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15135         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15136         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15138 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15140         [BZ #9739]
15141         * manual/string.texi (strnlen): Use correct parameter name in
15142         equivalent expression.
15144 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15146         [BZ #11174]
15147         * manual/users.texi (seteuid): Consistently use neweuid for
15148         argument name.
15150 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15152         [BZ #13704]
15153         * manual/nss.texi (Services in the NSS configuration): Correct
15154         list of services in example configuration file.
15156 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15158         [BZ #11322]
15159         * manual/arith.texi: Remove statements about negative zero
15160         behaving identically to zero.
15162 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15164         [BZ #5993]
15165         * manual/install.texi: Do not document upgrading from libc5.
15167 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15169         [BZ #4596]
15170         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15172 2012-02-18  David S. Miller  <davem@davemloft.net>
15174         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15175         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15176         %o7 across the call.
15177         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15178         instead.
15179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15180         SETUP_PIC_REG_LEAF.
15181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15182         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15183         * sysdeps/sparc/crtn.S: Likewise.
15185 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15187         * aout/Makefile: Remove.
15189 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15191         [BZ #13058]
15192         * manual/examples/argp-ex1.c (main): Format definition in GNU
15193         style.
15194         * manual/examples/argp-ex2.c (main): Likewise.
15195         * manual/examples/argp-ex3.c (main): Likewise.
15196         * manual/examples/argp-ex4.c (main): Likewise.
15197         * manual/examples/longopt.c (main): Use new-style prototype
15198         definition.
15199         * manual/examples/strncat.c (main): Specify return type and use
15200         (void) for arguments.
15201         * manual/examples/subopt.c (main): Use char **argv argument.
15203 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15205         [BZ #5077]
15206         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15207         rounding modes.
15209 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15211         [BZ #6907]
15212         * manual/string.texi (strchr): Change when strchrnul is
15213         recommended.
15215 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15217         [BZ #174]
15218         * manual/locale.texi (setlocale): Document LOCPATH.
15220 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15222         [BZ #10210]
15223         * manual/process.texi (execle): Move @dots{} before last argument.
15225 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15227         [BZ #12047]
15228         * manual/charset.texi (Generic Charset Conversion): Fix typo
15229         (LC_TYPE -> LC_CTYPE).
15231 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15233         [BZ #5805]
15234         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15235         (scalbnf): Likewise.
15236         (scalbnl): Likewise.
15237         (scalbln): Likewise.
15238         (scalblnf): Likewise.
15239         (scalblnl): Likewise.
15240         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15241         (vwarnx): Likewise.
15242         (verr): Likewise.
15243         (verrx): Likewise.
15244         * manual/filesys.texi (telldir): Use braces around return type.
15245         * manual/llio.texi (mmap): Add space after comma.
15246         (mmap64): Likewise.
15247         * manual/math.texi (jn): Use @var{} on parameter names.
15248         (jnf): Likewise.
15249         (jnl): Likewise.
15250         (yn): Likewise.
15251         (ynf): Likewise.
15252         (ynl): Likewise.
15253         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15254         line.
15255         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15256         "...".
15257         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15258         (sched_get_priority_max): Likewise.
15259         * manual/signal.texi (sigvec): Add space after comma.
15260         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15261         names.
15262         (if_indextoname): Likewise.
15263         (if_freenameindex): Likewise.
15264         (sendto): Use ',' instead of '.' in prototype.
15265         * manual/startup.texi (syscall): Use @dots{} instead of literal
15266         "...".
15267         * manual/stdio.texi (__fpending): Separate initial words of
15268         paragraph from @deftypefun line.
15269         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15270         "...".
15271         (vsyslog): Use @var{} on parameter names.
15272         * manual/terminal.texi (stty): Use @var{} on parameter names.
15273         * manual/users.texi (getutmp): Use @var{} on parameter names.
15274         (getutmpx): Likewise.
15276 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15278         [BZ #6884]
15279         * manual/stdio.texi (fopen): Fix typos in description of
15280         ",ccs=STRING".
15282 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15284         [BZ #4026]
15285         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15286         get clock_id definition.
15288 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15290         [BZ #4822]
15291         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15292         (madvise): Cast every argument to void on its own.
15294 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15296         [BZ #9902]
15297         * manual/startup.texi (Exit Status): Fix typo.
15299 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15301         [BZ #10140]
15302         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15303         * manual/examples/argp-ex2.c: Likewise.
15304         * manual/examples/argp-ex3.c: Likewise.
15306 2012-02-16  Richard Henderson  <rth@redhat.com>
15308         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15309         * sysdeps/s390/s390-32/initfini.c: Remove.
15310         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15311         * sysdeps/s390/s390-64/initfini.c: Remove.
15313 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15315         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15316         compiler output for sysdeps/generic/initfini.c.
15317         * sysdeps/sh/elf/initfini.c: Remove file.
15319 2012-02-16  David S. Miller  <davem@davemloft.net>
15321         [BZ #11494]
15322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15324         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15325         * sysdeps/sparc/crti.S: New file.
15326         * sysdeps/sparc/crtn.S: New file.
15327         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15328         * sysdeps/sparc/sparc64/Makefile: Likewise.
15330 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15332         [BZ #3335]
15333         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15335 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15337         [BZ #4822]
15338         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15340         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15341         (write, read, close): Likewise.
15342         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15344 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15346         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15347         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15348         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15349         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15350         <bits/signalfd.h>.
15351         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15353         bits/signalfd.h.
15355 2012-02-14  Marek Polacek  <polacek@redhat.com>
15357         * sysdeps/x86_64/crti.S: New file.
15358         * sysdeps/x86_64/crtn.S: New file.
15359         * sysdeps/x86_64/elf/initfini.c: Remove file.
15361 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15363         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15364         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15365         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15366         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15367         <bits/inotify.h>.
15368         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15370         bits/inotify.h.
15372 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15374         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15375         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15376         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15377         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15378         <bits/eventfd.h>.
15379         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15381         bits/eventfd.h.
15383 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15385         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15386         __feraiseexcept instead of feraiseexcept.
15388         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15389         nanosleep invocations.
15390         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15391         strings, and add error checking for a nanosleep invocations.
15393 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15395         Replace FSF snail mail address with URLs, as per GNU coding standards.
15396         Most of the snail mail addresses were wrong anyway, and omitting
15397         them makes the source code easier to maintain.  Almost all of the
15398         changes are to license notices and to locale LC_IDENTIFICATION
15399         addresses, except for this one:
15400         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15401         not its snail mail address.
15403 2012-02-09  Richard Henderson  <rth@twiddle.net>
15405         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15406         of kernel-features.h.
15408         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15410 2012-02-08  Marek Polacek  <polacek@redhat.com>
15412         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15413         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15414         * sysdeps/gnu/_G_config.h: Likewise.
15415         * sysdeps/generic/_G_config.h: Likewise.
15417 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15419         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15420         tests.
15421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15423         * sysdeps/powerpc/powerpc32/crti.S: New file.
15424         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15425         * sysdeps/powerpc/powerpc64/crti.S: New file.
15426         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15428         * Makeconfig (have-initfini): Don't set.
15429         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15430         * configure.in (nopic_initfini): Don't substitute.
15431         * config.h.in (HAVE_INITFINI): Don't #undef.
15432         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15433         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15435 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15437         Support crti.S and crtn.S provided directly by architectures.
15438         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15439         [crti.S in sysdirs] (omit-deps): Likewise.
15440         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15441         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15442         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15443         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15444         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15445         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15446         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15447         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15448         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15449         compiler output for sysdeps/generic/initfini.c.
15450         * sysdeps/i386/elf/Makefile: Remove file.
15451         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15453 2012-02-07  Marek Polacek  <polacek@redhat.com>
15455         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15456         * sysdeps/gnu/_G_config.h: Likewise.
15457         * sysdeps/mach/hurd/_G_config.h: Likewise.
15459 2012-02-07  Marek Polacek  <polacek@redhat.com>
15461         * math/Makefile (tests): Add tst-CMPLX2.
15462         * math/tst-CMPLX2.c: New file.
15464 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15466         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15468         * math/libm-test.inc (jn_test): Add missing L suffix.
15470 2012-02-06  Marek Polacek  <polacek@redhat.com>
15472         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15473         * sysdeps/i386/fpu/e_powf.S: Likewise.
15474         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15475         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15476         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15477         * sysdeps/i386/fpu/e_pow.S: Likewise.
15478         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15479         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15480         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15481         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15482         * sysdeps/i386/fpu/e_log2.S: Likewise.
15483         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15484         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15485         * sysdeps/i386/fpu/e_powl.S: Likewise.
15486         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15487         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15488         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15489         * sysdeps/i386/fpu/e_logl.S: Likewise.
15490         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15491         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15492         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15493         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15494         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15495         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15496         * sysdeps/i386/fpu/e_log.S: Likewise.
15497         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15498         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15499         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15500         * sysdeps/i386/fpu/e_logf.S: Likewise.
15501         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15502         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15503         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15504         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15505         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15506         * sysdeps/i386/fpu/e_log10.S: Likewise.
15507         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15508         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15509         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15510         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15511         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15512         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15513         * sysdeps/i386/asm-syntax.h: Likewise.
15514         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15515         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15516         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15517         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15518         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15519         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15520         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15521         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15522         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15523         * sysdeps/powerpc/sysdep.h: Likewise.
15524         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15525         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15527 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15529         [BZ #411]
15530         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15532 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15534         * sysdeps/i386/sysdep.h: Include <features.h>.
15535         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15536         version.
15538 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15540         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15541         Define.
15542         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15543         LOAD_PIC_REG_STR.
15545 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15547         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15548         (SETUP_PIC_REG): Use GET_PC_THUNK.
15549         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15550         macro.
15552 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15554         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15555         for non-PIC compilation.
15556         (SETUP_PIC_REG): Add .p2align directive.
15557         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15558         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15559         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15560         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15561         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15562         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15563         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15564         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15565         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15566         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15567         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15568         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15569         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15570         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15571         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15572         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15573         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15574         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15575         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15576         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15577         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15578         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15579         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15580         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15581         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15582         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15583         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15584         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15585         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15586         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15587         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15588         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15589         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15590         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15591         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15592         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15593         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15594         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15595         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15596         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15597         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15599 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15601         * math/tst-CMPLX.c: Include <stdio.h>.
15603 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15605         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15606         float.
15607         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15608         * sysdeps/sparc/bits/mathdef.h: Likewise.
15610 2012-01-31  Marek Polacek  <polacek@redhat.com>
15612         * libio/libio.h: Don't define _PARAMS.
15613         * locale/programs/config.h: Don't define PARAMS.
15614         * stdlib/strtol_l.c: Likewise.
15615         (__strtol_l): Remove PARAMS from the prototype.
15617 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15619         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15620         names.  Just use the correct names.  Remove unnecessary wrapper
15621         functions.
15622         * malloc/arena.c: Likewise.
15623         * malloc/hooks.c: Likewise.
15625         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15626         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15627         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15629 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
15631         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15632         into tail calls.
15633         (update_get_addr): New function.
15634         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15635         GET_ADDR_MODULE parameter.
15637 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15639         * crypt/cert.c: Remove __STDC__ conditionals.
15640         * crypt/crypt-entry.c: Likewise.
15641         * crypt/crypt_util.c: Likewise.
15642         * libio/filedoalloc.c: Likewise.
15643         * libio/fileops.c: Likewise.
15644         * libio/genops.c: Likewise.
15645         * libio/iofclose.c: Likewise.
15646         * libio/iofdopen.c: Likewise.
15647         * libio/iofopen.c: Likewise.
15648         * libio/iofopen64.c: Likewise.
15649         * libio/iogetdelim.c: Likewise.
15650         * libio/iopopen.c: Likewise.
15651         * libio/obprintf.c: Likewise.
15652         * libio/oldfileops.c: Likewise.
15653         * libio/oldiofclose.c: Likewise.
15654         * libio/oldiofdopen.c: Likewise.
15655         * libio/oldiofopen.c: Likewise.
15656         * libio/oldiopopen.c: Likewise.
15657         * libio/wfiledoalloc.c: Likewise.
15658         * libio/wgenops.c: Likewise.
15659         * locale/programs/xmalloc.c: Likewise.
15660         * misc/syslog.c: Likewise.
15661         * stdio-common/xbug.c: Likewise.
15662         * string/memchr.c: Likewise.
15663         * string/memcmp.c: Likewise.
15664         * string/memrchr.c: Likewise.
15665         * string/rawmemchr.c: Likewise.
15666         * sysdeps/posix/getcwd.c: Likewise.
15667         * time/strftime_l.c: Likewise.
15669 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
15671         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15672         * config.make.in (config-cflags-sse2avx): Define.
15673         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15674         Fix typo.
15676 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
15678         * scripts/config.guess: Update from upstream config git repository.
15679         * scripts/config.sub: Likewise.
15681 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
15683         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15684         (EM_NUM): Update.
15685         (R_TILEPRO_*, R_TILEGX_*): New macros.
15687         * scripts/firstversions.awk: Fix bug in version range handling.
15689         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15691         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15693         * include/sys/epoll.h: New file.
15694         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15695         libc_hidden_def.
15697 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
15699         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15700         Avoid unnecessary __WORDSIZE == 64 test.
15701         (fmaxf): Use VEX format if possible.
15702         (fmax): Likewise.
15703         (fminf): Likewise.
15704         (fmin): Likewise.
15706         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15707         * math/math_private.h: Remove libc_fegetround* and
15708         libc_fesetround*.
15709         * sysdeps/i386/configure.in: Check for -msse2avx.
15710         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15711         also if SSE2AVX is defined.
15712         Remove libc_fegetround* and libc_fesetround*.
15713         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15714         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
15715         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15716         of HAS_YMM_USABLE.
15717         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15718         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15719         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15720         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15721         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15723         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15725 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15727         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15728         size is not set.
15729         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15731 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
15733         [BZ #13618]
15734         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15735         relocation.
15736         * Makeconfig (libm): Define.
15737         * elf/Makefile: Add rules to build and run tst-relsort1.
15738         * elf/tst-relsort1.c: New file.
15739         * elf/tst-relsort1mod1.c: New file.
15740         * elf/tst-relsort1mod2.c: New file.
15742 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
15744         * math/s_ldexp.c: Remove __STDC__ conditionals.
15745         * math/s_ldexpf.c: Likewise.
15746         * math/s_ldexpl.c: Likewise.
15747         * math/s_nextafter.c: Likewise.
15748         * math/s_nexttowardf.c: Likewise.
15749         * math/s_significand.c: Likewise.
15750         * math/s_significandf.c: Likewise.
15751         * math/s_significandl.c: Likewise.
15752         * math/w_jnl.c: Likewise.
15753         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15754         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15755         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15756         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15757         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15758         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15759         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15760         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15761         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15762         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15763         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15764         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15765         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15766         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15767         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15768         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15769         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15770         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15771         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15772         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15773         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15774         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15775         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15776         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15777         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15778         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15779         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15780         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15781         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15782         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15783         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15784         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15785         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15786         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15787         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15788         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15789         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15790         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15791         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15792         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15793         * sysdeps/ieee754/k_standard.c: Likewise.
15794         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15795         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15796         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15797         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15798         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15799         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15800         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15801         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15802         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15803         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15804         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15805         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15806         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15807         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15808         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15810         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15812         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15813         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15814         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15815         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15816         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15817         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15818         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15819         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15820         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15823         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15824         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15825         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15826         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15827         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15828         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15829         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15830         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15831         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15832         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15833         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15834         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15835         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15836         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15837         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15838         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15839         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15840         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15841         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15842         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15843         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15844         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15845         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15846         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15847         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15848         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15849         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15850         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15851         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15852         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15853         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15854         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15855         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15856         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15857         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15858         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15859         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15860         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15861         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15863         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15864         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15865         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15866         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15867         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15868         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15869         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15870         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15871         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15872         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15873         * sysdeps/ieee754/s_matherr.c: Likewise.
15874         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15875         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15876         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15879 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15881         * crypt/md5.h: Remove __STDC__ conditionals.
15882         * libio/libioP.h: Likewise.
15883         * locale/programs/config.h: Likewise.
15884         * sysdeps/generic/sysdep.h: Likewise.
15885         * sysdeps/i386/asm-syntax.h: Likewise.
15886         * sysdeps/s390/asm-syntax.h: Likewise.
15887         * sysdeps/unix/sysdep.h: Likewise.
15888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15891 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15893         * libio/libio.h: Remove __STDC__ conditionals.
15894         * malloc/obstack.h: Likewise.
15895         * math/complex.h: Likewise.
15896         * math/math.h: Likewise.
15897         * sysdeps/generic/_G_config.h: Likewise.
15898         * sysdeps/gnu/_G_config.h: Likewise.
15899         * sysdeps/mach/hurd/_G_config.h: Likewise.
15900         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15901         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15902         * sysdeps/sparc/bits/mathdef.h: Likewise.
15904 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
15906         [BZ #13583]
15907         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15908         Clean up HAS_* macros.
15909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15910         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15911         possible.
15912         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15913         HAS_AVX.
15914         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15915         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15916         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15917         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15918         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15920 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
15922         * elf/tst-unique3.cc (gets): Remove declaration.
15923         * elf/tst-unique3lib.cc (gets): Likewise.
15924         * elf/tst-unique3lib2.cc (gets): Likewise.
15925         * elf/tst-unique4.cc (gets): Likewise.
15927 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
15929         * include/stdio.h: Add C++ protection.  Add gets declarations and
15930         definitions.
15931         * debug/tst-chk1.c: Don't declare gets here.
15932         * stdio-common/tst-gets.c: Likewise.
15934 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15936         * posix/glob: Remove directory.
15938 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15940         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15942 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
15944         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15945         of the non-standard EPFNOSUPPORT.
15947 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15949         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15950         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15951         ANYWHERE set to 1 only on KERN_NO_SPACE error.
15953 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
15955         * wcsmbs/uchar.h: Test __STDC_VERSION__.
15957 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
15959         * nscd/aicache.c (addhstaiX): Do not cache negative results of
15960         transient errors.
15961         * nscd/grpcache.c (cache_addgr): Likewise.
15962         * nscd/hstcache.c (cache_addhst): Likewise.
15963         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15964         * nscd/pwdcache.c (cache_addpw): Likewise.
15965         * nscd/servicescache.c (cache_addserv): Likewise.
15967 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
15969         * malloc/malloc.c: Various cleanups.
15970         * malloc/hooks.c: Likewise.
15972         * stdlib/Makefile (tests): Add bug-fmtmsg1.
15973         * stdlib/bug-fmtmsg1.c: New file.
15975         * stdlib/fmtmsg.c (init): Add missing unlock.
15976         Patch by Peng Haitao <penght@cn.fujitsu.com>.
15978 2012-01-12  Marek Polacek  <polacek@redhat.com>
15980         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15981         and _GNU_SOURCE.
15983 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15985         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15986         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15987         macro to ensure uniqueness of label name.
15988         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15989         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15991 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
15993         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15995         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15996         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15997         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15998         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16000 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16002         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16004         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16005         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16006         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16008         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16010         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16011         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16012         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16013         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16015         * math/bits/math-finite.h: Add ldexp support.
16017 2012-01-10  Marek Polacek  <polacek@redhat.com>
16019         * locale/programs/localedef.h (show_archive_content): Add noreturn
16020         attribute.
16022 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16024         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16026 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16028         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16030         * io/Makefile (headers): Add bits/poll2.h.
16032 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16035         typo #include statement.
16037 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16039         * include/sys/cdefs.h: Define __attribute_alloc_size.
16040         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16041         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16042         * elf/pldd.c: Likewise.
16043         * iconv/iconv_charmap.c: Likewise.
16044         * iconv/iconvconfig.c: Likewise.
16045         * iconv/strtab.c: Likewise.
16046         * locale/programs/locale.c: Likewise.
16047         * locale/programs/localedef.h: Likewise.
16048         * locale/programs/simple-hash.c: Likewise.
16049         * nscd/nscd.h: Likewise.
16050         * nss/makedb.c: Likewise.
16051         * sysdeps/generic/ldconfig.h: Likewise.
16052         * locale/programs/localedef.c: Remove xmalloc prototype.
16053         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16055 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16057         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16058         appropriate.
16060 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16062         * math/Makefile (tests): Add tst-CMPLX.
16063         * math/tst-CMPLX.c: New file.
16065         * math/complex.h (CMPLXL): Fix typo.
16067         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16068         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16069         GLIBC_2.16.
16070         * debug/tst-chk1.c: Add poll and ppoll tests.
16071         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16072         * include/sys/poll.h: Add hidden proto for ppoll.
16073         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16074         * sysdeps/mach/hurd/ppoll.c: Likewise.
16075         * io/ppoll.c: Likewise.
16076         * debug/poll_chk.c: New file.
16077         * debug/ppoll_chk.c: New file.
16078         * include/bits/poll2.h: New file.
16079         * io/bits/poll2.h: New file.
16081         [BZ #1350]
16082         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16084         * configure.in: static is always set to yes.  Remove.
16085         * config.make.in: Don't set build-static.
16086         * Makeconfig: Remove use of build-static.
16087         * dlfcn/Makefile: Likewise.
16088         * elf/Makefile: Likewise.
16089         * math/Makefile: Likewise.
16090         * misc/Makefile: Likewise.
16091         * nptl/Makefile: Likewise.
16092         * sysdeps/mach/hurd/Makefile: Likewise.
16094         * configure.in: PWD_P is not used anymore.
16095         * config.make.in: Remove PWD_P entry.
16097         * configure.in: Remove last remnants of RANLIB.
16098         No need to check for signed size_t anymore.
16099         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16100         and IA-64.
16101         Remove __builtin_expect test because we require at least gcc 3.4.
16102         * aclocal.m4: Likewise.
16104         * wcsmbs/mbrtoc16.c: Implement using towc function.
16105         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16106         * wcsmbs/wcsmbsload.c: Likewise.
16107         * iconv/gconv_simple.c: Likewise.
16108         * iconv/gconv_int.h: Likewise.
16109         * iconv/gconv_builtin.h: Likewise.
16110         * iconv/iconv_prog.c: Remove CHAR16 handling.
16112         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16114         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16116         * configure.in: Remove --with-elf and --enable-bounded options.
16117         Dont set base_machine for ia64.  More non-ELF conditions removed.
16118         Remove testing and setting of leading underscore information.
16119         * config.make.in (build-bounded): Set to no.
16120         * config.h.in: Remove NO_UNDERSCORES entry.
16121         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16122         them.
16123         * csu/start.c: Remove !NO_UNDERSCORE code.
16124         * locale/localeinfo.h: Likewise.
16125         * sysdeps/generic/machine-gmon.h: Likewise.
16126         * sysdeps/generic/sysdep.h: Likewise.
16127         * sysdeps/i386/sysdep.h: Likewise.
16128         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16129         * sysdeps/mach/sysdep.h: Likewise.
16130         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16131         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16132         * sysdeps/sh/sysdep.h: Likewise.
16133         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16134         * sysdeps/unix/i386/sysdep.S: Likewise.
16135         * sysdeps/unix/sparc/start.c: Likewise.
16136         * sysdeps/unix/sparc/sysdep.S: Likewise.
16137         * sysdeps/unix/sparc/sysdep.h: Likewise.
16138         * sysdeps/unix/start.c: Likewise.
16139         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16140         * sysdeps/x86_64/sysdep.h: Likewise.
16142 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16144         [BZ #13553]
16145         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16146         for non-gcc.
16147         * argp/argp-fmtstream.h: Use const instead __const.
16148         * argp/argp.h: Likewise.
16149         * assert/assert.h: Likewise.
16150         * bits/fenv.h: Likewise.
16151         * bits/sched.h: Likewise.
16152         * bits/sigset.h: Likewise.
16153         * bits/sigthread.h: Likewise.
16154         * catgets/nl_types.h: Likewise.
16155         * conform/data/pthread.h-data: Likewise.
16156         * crypt/crypt-private.h: Likewise.
16157         * crypt/crypt.h: Likewise.
16158         * crypt/crypt_util.c: Likewise.
16159         * ctype/ctype.h: Likewise.
16160         * debug/execinfo.h: Likewise.
16161         * debug/mbsnrtowcs_chk.c: Likewise.
16162         * debug/mbsrtowcs_chk.c: Likewise.
16163         * debug/wcsnrtombs_chk.c: Likewise.
16164         * debug/wcsrtombs_chk.c: Likewise.
16165         * debug/wcstombs_chk.c: Likewise.
16166         * dirent/dirent.h: Likewise.
16167         * dlfcn/dlfcn.h: Likewise.
16168         * elf/neededtest4.c: Likewise.
16169         * grp/grp.h: Likewise.
16170         * gshadow/gshadow.h: Likewise.
16171         * iconv/gconv.h: Likewise.
16172         * iconv/gconv_int.h: Likewise.
16173         * iconv/gconv_simple.c: Likewise.
16174         * iconv/iconv.h: Likewise.
16175         * iconv/loop.c: Likewise.
16176         * iconv/skeleton.c: Likewise.
16177         * include/aio.h: Likewise.
16178         * include/aliases.h: Likewise.
16179         * include/argz.h: Likewise.
16180         * include/arpa/inet.h: Likewise.
16181         * include/assert.h: Likewise.
16182         * include/dirent.h: Likewise.
16183         * include/dlfcn.h: Likewise.
16184         * include/execinfo.h: Likewise.
16185         * include/fcntl.h: Likewise.
16186         * include/fenv.h: Likewise.
16187         * include/glob.h: Likewise.
16188         * include/grp.h: Likewise.
16189         * include/libintl.h: Likewise.
16190         * include/mntent.h: Likewise.
16191         * include/netdb.h: Likewise.
16192         * include/pwd.h: Likewise.
16193         * include/rpc/netdb.h: Likewise.
16194         * include/sched.h: Likewise.
16195         * include/search.h: Likewise.
16196         * include/shadow.h: Likewise.
16197         * include/signal.h: Likewise.
16198         * include/stdio.h: Likewise.
16199         * include/stdlib.h: Likewise.
16200         * include/string.h: Likewise.
16201         * include/sys/socket.h: Likewise.
16202         * include/sys/stat.h: Likewise.
16203         * include/sys/statfs.h: Likewise.
16204         * include/sys/statvfs.h: Likewise.
16205         * include/sys/syslog.h: Likewise.
16206         * include/sys/time.h: Likewise.
16207         * include/sys/uio.h: Likewise.
16208         * include/time.h: Likewise.
16209         * include/unistd.h: Likewise.
16210         * include/utmp.h: Likewise.
16211         * include/wchar.h: Likewise.
16212         * include/wctype.h: Likewise.
16213         * inet/aliases.h: Likewise.
16214         * inet/arpa/inet.h: Likewise.
16215         * inet/netinet/ether.h: Likewise.
16216         * inet/netinet/in.h: Likewise.
16217         * intl/libintl.h: Likewise.
16218         * io/bits/fcntl2.h: Likewise.
16219         * io/fcntl.h: Likewise.
16220         * io/ftw.h: Likewise.
16221         * io/sys/poll.h: Likewise.
16222         * io/sys/stat.h: Likewise.
16223         * io/sys/statfs.h: Likewise.
16224         * io/sys/statvfs.h: Likewise.
16225         * io/utime.h: Likewise.
16226         * libio/bits/stdio.h: Likewise.
16227         * libio/bits/stdio2.h: Likewise.
16228         * libio/libio.h: Likewise.
16229         * libio/libioP.h: Likewise.
16230         * libio/stdio.h: Likewise.
16231         * locale/lc-ctype.c: Likewise.
16232         * locale/locale.h: Likewise.
16233         * login/utmp.h: Likewise.
16234         * malloc/arena.c: Likewise.
16235         * malloc/malloc.c: Likewise.
16236         * malloc/malloc.h: Likewise.
16237         * malloc/mcheck.c: Likewise.
16238         * malloc/mtrace.c: Likewise.
16239         * math/bits/mathcalls.h: Likewise.
16240         * math/fenv.h: Likewise.
16241         * math/math_private.h: Likewise.
16242         * misc/bits/error.h: Likewise.
16243         * misc/bits/syslog.h: Likewise.
16244         * misc/err.h: Likewise.
16245         * misc/error.h: Likewise.
16246         * misc/fstab.h: Likewise.
16247         * misc/mntent.h: Likewise.
16248         * misc/regexp.h: Likewise.
16249         * misc/search.h: Likewise.
16250         * misc/sgtty.h: Likewise.
16251         * misc/sys/mman.h: Likewise.
16252         * misc/sys/syslog.h: Likewise.
16253         * misc/sys/uio.h: Likewise.
16254         * misc/sys/xattr.h: Likewise.
16255         * misc/ttyent.h: Likewise.
16256         * nis/rpcsvc/ypclnt.h: Likewise.
16257         * nss/nss.h: Likewise.
16258         * posix/bits/unistd.h: Likewise.
16259         * posix/fnmatch.h: Likewise.
16260         * posix/glob.h: Likewise.
16261         * posix/sched.h: Likewise.
16262         * posix/spawn.h: Likewise.
16263         * posix/sys/wait.h: Likewise.
16264         * posix/unistd.h: Likewise.
16265         * posix/wordexp.h: Likewise.
16266         * pwd/pwd.h: Likewise.
16267         * resolv/netdb.h: Likewise.
16268         * resource/sys/resource.h: Likewise.
16269         * rt/aio.h: Likewise.
16270         * rt/bits/mqueue2.h: Likewise.
16271         * rt/mqueue.h: Likewise.
16272         * shadow/shadow.h: Likewise.
16273         * signal/signal.h: Likewise.
16274         * socket/send.c: Likewise.
16275         * socket/sendto.c: Likewise.
16276         * socket/sys/socket.h: Likewise.
16277         * stdio-common/printf.h: Likewise.
16278         * stdlib/bits/stdlib.h: Likewise.
16279         * stdlib/fmtmsg.h: Likewise.
16280         * stdlib/monetary.h: Likewise.
16281         * stdlib/stdlib.h: Likewise.
16282         * stdlib/ucontext.h: Likewise.
16283         * streams/stropts.h: Likewise.
16284         * string/argz.h: Likewise.
16285         * string/bits/string2.h: Likewise.
16286         * string/string.h: Likewise.
16287         * string/strings.h: Likewise.
16288         * sunrpc/rpc/auth.h: Likewise.
16289         * sunrpc/rpc/auth_des.h: Likewise.
16290         * sunrpc/rpc/clnt.h: Likewise.
16291         * sunrpc/rpc/netdb.h: Likewise.
16292         * sunrpc/rpc/pmap_clnt.h: Likewise.
16293         * sunrpc/rpc/xdr.h: Likewise.
16294         * sysdeps/generic/inttypes.h: Likewise.
16295         * sysdeps/generic/net/if.h: Likewise.
16296         * sysdeps/generic/sys/swap.h: Likewise.
16297         * sysdeps/gnu/net/if.h: Likewise.
16298         * sysdeps/gnu/utmpx.h: Likewise.
16299         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16300         * sysdeps/i386/i486/bits/string.h: Likewise.
16301         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16302         * sysdeps/s390/bits/string.h: Likewise.
16303         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16304         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16305         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16306         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16307         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16308         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16309         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16310         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16311         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16312         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16313         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16314         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16315         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16316         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16317         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16318         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16319         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16320         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16321         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16322         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16323         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16324         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16325         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16326         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16327         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16328         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16329         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16330         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16331         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16332         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16333         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16334         * sysvipc/sys/ipc.h: Likewise.
16335         * sysvipc/sys/msg.h: Likewise.
16336         * sysvipc/sys/sem.h: Likewise.
16337         * sysvipc/sys/shm.h: Likewise.
16338         * termios/termios.h: Likewise.
16339         * time/sys/time.h: Likewise.
16340         * time/time.h: Likewise.
16341         * wcsmbs/bits/wchar2.h: Likewise.
16342         * wcsmbs/uchar.h: Likewise.
16343         * wcsmbs/wchar.h: Likewise.
16344         * wctype/wctype.h: Likewise.
16346         [BZ #13551]
16347         * Makeconfig: Remove all but ELF support including AIX support.
16348         * Makerules: Likewise.
16349         * config.h.in: Likewise.
16350         * config.make.in: Likewise.
16351         * configure: Likewise.
16352         * configure.in: Likewise.
16353         * csu/Makefile: Likewise.
16354         * csu/version.c: Likewise.
16355         * debug/Makefile: Likewise.
16356         * dlfcn/Makefile: Likewise.
16357         * elf/Makefile: Likewise.
16358         * extra-lib.mk: Likewise.
16359         * iconv/Makefile: Likewise.
16360         * include/libc-symbols.h: Likewise.
16361         * include/shlib-compat.h: Likewise.
16362         * resolv/Makefile: Likewise.
16363         * resolv/res_libc.c: Likewise.
16364         * rt/Makefile: Likewise.
16365         * sysdeps/i386/asm-syntax.h: Likewise.
16366         * sysdeps/i386/sysdep.h: Likewise.
16367         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16368         * sysdeps/mach/sysdep.h: Likewise.
16369         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16370         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16371         * sysdeps/s390/asm-syntax.h: Likewise.
16372         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16373         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16374         * sysdeps/sh/sysdep.h: Likewise.
16375         * sysdeps/unix/sparc/sysdep.h: Likewise.
16376         * sysdeps/wordsize-32/divdi3.c: Likewise.
16377         * sysdeps/x86_64/sysdep.h: Likewise.
16379         * argp/Versions: Remove _argp_unlock_xxx.
16381         [BZ #13559]
16382         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16383         * abilist/libBrokenLocale.abilist: Likewise.
16384         * abilist/libanl.abilist: Likewise.
16385         * abilist/libc.abilist: Likewise.
16386         * abilist/libcrypt.abilist: Likewise.
16387         * abilist/libdl.abilist: Likewise.
16388         * abilist/libm.abilist: Likewise.
16389         * abilist/libnsl.abilist: Likewise.
16390         * abilist/libpthread.abilist: Likewise.
16391         * abilist/libresolv.abilist: Likewise.
16392         * abilist/librt.abilist: Likewise.
16393         * abilist/libthread_db.abilist: Likewise.
16394         * abilist/libutil.abilist: Likewise.
16395         * abilist/libnss_db.abilist: New file.
16397         * scripts/abilist.awk: Add support for indirect functions.
16399         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16401         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16403         * shlib-versions: Remove entries for ports architectures.
16405         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16406         files in ports.
16407         * elf/stackguard-macros.h: Remove support for IA-64.
16408         * elf/tst-auditmod1.c: Likewise.
16409         * sysdeps/generic/ldsodefs.h: Likewise.
16411         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16412         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16413         configure files.
16415         [BZ #13552]
16416         * configure.in: Remove --enable-omitfp support.
16417         * FAQ.in: Adjust.
16418         * config.make.in: Likewise.
16419         * Makeconfig: Likewise.
16420         * manual/install.texi: Likewise.
16422         In case anyone cares, the IA-64 architecture could move to ports.
16423         * sysdeps/ia64/*: Removed.
16424         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16425         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16427         [BZ #13555]
16428         * configure.in: Remove entries for unsupported architectures.
16430         [BZ #13533]
16431         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16432         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16433         routines.
16434         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16435         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16436         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16437         fall back to using wcrtomb.
16438         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16439         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16440         renaming.
16441         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16442         * wcsmbs/tst-c16c32-1.c: New file.
16444         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16445         local variable.
16447         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16449         * elf/tst-unique3.cc: Add explicit declaration of gets.
16450         * elf/tst-unique3lib.cc: Likewise.
16451         * elf/tst-unique3lib2.cc: Likewise.
16452         * elf/tst-unique4.cc: Likewise.
16454         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16456 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16458         [BZ #13566]
16459         * assert/assert.h (static_assert): Don't define for C++.
16460         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16461         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16463 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16465         * iconv/loop.c (single loop): Fix assertion in storing of
16466         remaining bytes.
16468         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16470 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16472         * posix/getconf.c: Update copyright year.
16473         * nss/getent.c: Likewise.
16474         * nss/makedb.c: Likewise.
16475         * iconv/iconvconfig.c: Likewise.
16476         * iconv/iconv_prog.c: Likewise.
16477         * elf/ldconfig.c: Likewise.
16478         * elf/pldd.c: Likewise.
16479         * elf/sotruss.ksh: Likewise.
16480         * catgets/gencat.c: Likewise.
16481         * csu/version.c: Likewise.
16482         * elf/ldd.bash.in: Likewise.
16483         * elf/sprof.c (print_version): Likewise.
16484         * locale/programs/locale.c: Likewise.
16485         * locale/programs/localedef.c: Likewise.
16486         * login/programs/pt_chown.c: Likewise.
16487         * nscd/nscd.c (print_version): Likewise.
16488         * debug/xtrace.sh: Likewise.
16489         * malloc/memusage.sh: Likewise.
16490         * malloc/mtrace.pl: Likewise.
16491         * debug/catchsegv.sh: Likewise.
16493 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16495         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16496         pure attribute.
16498 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16500         [BZ #13533]
16501         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16502         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16503         transformations.
16504         * iconv/gconv_int.h: Likewise.
16505         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16506         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16507         from libc for GLIBC_2.16.
16508         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16509         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16510         * wcsmbs/uchar.h: Really define mbstate_t.
16511         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16512         * wcsmbs/c16rtomb.c: New file.
16513         * wcsmbs/mbrtoc16.c: New file.
16514         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16515         for C/POSIX locale.
16516         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16517         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16519         * wcsmbs/wchar.h: Add missing __restrict.
16521 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16523         [BZ #13532]
16524         * time/Makefile (routines): Add timespec_get.
16525         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16526         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16527         timespec for ISO C11.
16528         * time/timespec_get.c: New file.
16529         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16530         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16532         [BZ #13531]
16533         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16534         * stdlib/stdlib.h: Declare aligned_alloc.
16535         * Versions.def: Add GLIBC_2.16 for libc.
16536         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16538         [BZ 13527]
16539         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16540         ISO C11.
16542         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16543         code.
16545         [BZ #13528]
16546         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16548         [BZ #13529]
16549         * assert/assert.h (static_assert): Define.
16551         * version.h: Update for 2.16 development version.
16553         [BZ #13526]
16554         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16555         _ISOC11_SOURCE.
16557         * version.h (RELEASE): Bump for 2.15 release.
16558         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16560         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16561         Patch by Marek Polacek <mpolacek@redhat.com>.
16563         * bits/byteswap.h: Protect long long constants with __extension__.
16564         * sysdeps/i386/bits/byteswap.h: Likewise.
16565         * sysdeps/ia64/bits/byteswap.h: Likewise.
16566         * sysdeps/s390/bits/byteswap.h: Likewise.
16567         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16569 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16571         [BZ #13540]
16572         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16573         destination buffer.
16574         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16576 2011-12-23  Marek Polacek  <polacek@redhat.com>
16578         * elf/dl-addr.c (determine_info): Add inline keyword.
16579         * elf/tst-auditmod4b.c (check_avx): Likewise.
16580         * elf/tst-auditmod6b.c (check_avx): Likewise.
16581         * elf/tst-auditmod6c.c (check_avx): Likewise.
16582         * elf/tst-auditmod7b.c (check_avx): Likewise.
16584 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16586         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16587         !__SSE_MATH__.
16589 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16591         [BZ #13540]
16592         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16593         processing for last bytes.
16595 2011-08-06  Bruno Haible  <bruno@clisp.org>
16597         [BZ #13061]
16598         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16599         U+0385, not to U+1FEE.
16601         [BZ #13062]
16602         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16603         entry for U+00A5 U+0301.
16605 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16607         [BZ #13166]
16608         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16609         buffer for the output is too small.
16611         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16612         optimization.
16614         [BZ #13185]
16615         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16616         SSE flags if possible.
16618 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16620         [BZ #13540]
16621         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16622         processing for last bytes.
16624 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16626         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16627         (syscall-list-default-options, syscall-list-default-condition)
16628         (syscall-list-includes): Define.
16629         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16630         list of ABIs and options and #if conditions for each ABI.  Do not
16631         handle common syscalls between ABIs specially.
16632         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16633         Remove.
16634         (syscall-list-variants, syscall-list-32bit-options)
16635         (syscall-list-32bit-condition, syscall-list-64bit-options)
16636         (syscall-list-64bit-condition): Define.
16637         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16638         (syscall-list-variants, syscall-list-32bit-options)
16639         (syscall-list-32bit-condition, syscall-list-64bit-options)
16640         (syscall-list-64bit-condition): Define.
16641         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16642         Remove.
16643         (syscall-list-variants, syscall-list-32bit-options)
16644         (syscall-list-32bit-condition, syscall-list-64bit-options)
16645         (syscall-list-64bit-condition): Define.
16646         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16647         Remove.
16648         (syscall-list-variants, syscall-list-32bit-options)
16649         (syscall-list-32bit-condition, syscall-list-64bit-options)
16650         (syscall-list-64bit-condition): Define.
16652 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16654         * locale/iso-639.def: Add brx entry.
16656         [BZ #13328]
16657         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16658         Proposed by Mariusz_Cukr <marcukr@op.pl>.
16660         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16661         __feraiseexcept_renamed.
16663 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16665         [BZ #13538]
16666         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16667         EPOLLET with unsigned values.
16668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16669         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16671         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16672         to large cancellation.
16673         * math/s_cacoshf.c: Likewise.
16674         * math/s_cacoshl.c: Likewise.
16676 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
16678         [BZ #13305]
16679         [BZ #12786]
16680         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16681         * math/s_cacoshf.c: Likewise.
16682         * math/s_cacoshl.c: Likewise.
16684 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
16686         [BZ #13439]
16687         * iconv/gconv.h: Define __GCONV_SWAP.
16688         * iconvdata/unicode.c: The swap bit must be stored in __flags.
16689         * iconvdata/utf-16.c: Likewise.
16690         * iconvdata/utf-32.c: Likewise.
16692 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16694         [BZ #13524]
16695         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16696         numerator after shifting it by one limb.
16698 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
16700         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16701         under [__USE_EXTERN_INLINES].
16703 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16705         [BZ #13446]
16706         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16708 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16710         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16711         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16712         optimized code.
16713         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16714         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16715         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16716         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16717         for strncasecmp/strncasecmp_l compilation.
16718         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16719         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16721 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
16723         [BZ #13484]
16724         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16725         of __asm__.
16727 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
16729         [BZ #13506]
16730         * time/tzfile.c (__tzfile_read): Check values from file header.
16732 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16734         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16735         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16736         * powerpc/powerpc32/dl-start.S: Likewise.
16737         * powerpc/powerpc32/elf/start.S: Likewise.
16738         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16739         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16740         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16741         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16742         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16743         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16744         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16745         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16746         * powerpc/powerpc32/fpu/s_round.S: Likewise.
16747         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16748         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16749         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16750         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16751         * powerpc/powerpc32/memset.S: Likewise.
16752         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16753         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16754         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16755         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16756         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16757         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16758         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16759         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16760         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16761         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16762         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16763         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16764         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16766 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16768         * math/libm-test.inc: Added more nearbyint tests.
16769         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16771         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16772         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16774 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
16776         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16777         FD_CLOEXEC.
16779 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16781         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16782         Add wcscpy-ssse3 wcscpy-c.
16783         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16784         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16785         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16786         * sysdeps/x86_64/wcschr.S: New file.
16787         * sysdeps/x86_64/wcsrchr.S: New file.
16788         * string/test-strcmp.c: Remove checking of wcscmp function for
16789         wrong alignments.
16790         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16791         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16792         wcsrchr-sse2 wcsrchr-c.
16793         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16794         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16795         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16796         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16797         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16798         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16799         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16800         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16801         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16802         * wcsmbc/wcschr.c (WCSCHR): New macro.
16804 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16806         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16807         * wcsmbs/test-wcsrchr.c: New file.
16808         * string/test-strrchr.c: Add wcsrchr support.
16809         (WIDE): New macro.
16810         * wcsmbs/test-wcscpy.c: New file.
16811         * string/test-strcpy.c: Add wcscpy support.
16812         (WIDE): New macro.
16814 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
16816         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16817         the inner loop.
16819 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
16821         [BZ #13472]
16822         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16824 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
16826         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16827         Minor optimizations.
16829         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16830         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16831         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16833 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
16835         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16836         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16837         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16838         for gcc to avoid warnings.
16839         * inet/Makefile (tests): Add tst-checks.
16840         * inet/tst-checks.c: New file.
16842         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16843         warning.
16845         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16846         __wmemcmp_sse2.
16848         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16849         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16851         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16853 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
16855         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16856         problem.
16858         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16860 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
16862         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16863         conditional on GCC version.
16864         (__arch_compare_and_exchange_val_8_acq)
16865         (__arch_compare_and_exchange_val_16_acq)
16866         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16867         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16868         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16870 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
16872         * sysdeps/sh/backtrace.c: New file.
16874 2011-12-02  Andreas Schwab  <schwab@redhat.com>
16876         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
16877         parenthesis.
16879 2011-12-01  Andreas Schwab  <schwab@redhat.com>
16881         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16882         falling back to utime.
16884 2011-11-30  Andreas Schwab  <schwab@redhat.com>
16886         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16887         expectations for float.
16889 2011-11-29  Andreas Schwab  <schwab@redhat.com>
16891         * locale/weight.h (findidx): Add parameter len.
16892         * locale/weightwc.h (findidx): Likewise.
16893         * posix/fnmatch_loop.c (FCT): Adjust caller.
16894         * posix/regcomp.c (build_equiv_class): Likewise.
16895         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16896         * posix/regexec.c (check_node_accept_bytes): Likewise.
16897         * string/strcoll_l.c (STRCOLL): Likewise.
16898         * string/strxfrm_l.c (STRXFRM): Likewise.
16900 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
16902         * Makefile.in: Remove CVSOPT handling.
16903         * configure.in: Remove use of AC_REVISION.
16904         * iconvdata/Makefile (distribute): No need to filter out CVS.
16905         * scripts/list-sources.sh: Remove CVS, subversion and monotone
16906         handling.
16908 2011-11-16  Andreas Schwab  <schwab@redhat.com>
16910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16911         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16912         [USE_AS_STRNCASECMP_L]: Likewise.
16913         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16914         NO_TLS_DIRECT_SEG_REFS.
16915         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16916         Fix argument offsets for non-PIC.
16917         [USE_AS_STRNCASECMP_L]: Likewise.
16918         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16919         NO_TLS_DIRECT_SEG_REFS.
16921 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16923         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16924         O_CLOEXEC.
16925         * locale/loadlocale.c (_nl_load_locale): Likewise.
16927 2011-11-15  Andreas Schwab  <schwab@redhat.com>
16929         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16930         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16931         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16932         (SYSCALL_GETTIME): Set errno on error.
16934         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16935         count references to noai6ai_cached.
16937 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16939         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16941         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16942         FD_CLOEXEC for /proc/self/maps.
16944         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16945         FD_CLOEXEC for /proc/meminfo.
16947         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16948         gai.conf.
16950         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
16951         FD_CLOEXEC for given file.
16953         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16955         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16956         FD_CLOEXEC for /etc/hosts.
16957         (_gethtent): Likewise.
16959         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16961         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16962         cancellation and set FD_CLOEXEC for /etc/netgroup.
16964         * nss/nss_files/files-key.c (search): Don't allow cancellation when
16965         reading /etc/publickey.
16967         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16968         allow cancellation when reading /etc/group.
16970         * nss/nss_files/files-alias.c (internal_setent): Don't allow
16971         cancellation.
16972         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
16974         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16975         when using data file.
16977         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16979         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16980         (write_nis_obj): Use "c" and "e" in fopen.
16982         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16984         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16986         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16988         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16990         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16991         locale.alias.
16993         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16995         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16997         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16999         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17000         file parsing and set FD_CLOEXEC.
17002 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17004         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17006 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17008         * malloc/arena.c (arena_get2): Don't call reused_arena when
17009         _int_new_arena failed.
17011 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17013         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17014         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17015         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17016         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17017         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17018         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17019         to compile strcasecmp and strncasecmp.
17020         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17021         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17025 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17027         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17028         locale-defines.sym to gen-as-const-headers.
17029         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17030         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17031         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17032         to compile strcasecmp and strncasecmp.
17033         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17034         strcasecmp_l and strncasecmp_l.
17035         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17036         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17037         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17038         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17039         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17040         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17041         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17042         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17043         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17044         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17045         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17047 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17049         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17050         result of SYSDEP_GETTIME_CPU to retval.
17051         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17052         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17054         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17055         variable.
17057         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17058         mantissa words.
17059         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17061         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17062         from unused variable.
17064         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17065         DWARF definitions.
17066         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17067         for assembling.
17069         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17070         over namespaces.
17072         * sunrpc/rpc_prot.c (rejected): Fix case value.
17074         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17075         unsigned long long int to avoid warnings in shift.
17077         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17078         of use of trans.
17079         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17080         variable tmp.
17082         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17083         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17084         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17086         * nis/nis_table.c (nis_list): Use variable of correct type for
17087         result of __follow_path call.
17089 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17091         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17092         of math functions ceil, trunc, floor, round, and sqrt, when
17093         avaliable on the platform.
17094         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17095         name clash.
17096         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17097         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17098         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17100 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17102         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17103         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17105 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17107         * include/unistd.h: Fix __readlink return type.
17108         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17110 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17112         * stdlib/ucontext.h: Undo last change for makecontext.
17114 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17116         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17118         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17119         * setjmp/setjmp.h: Mark functions as non-leaf.
17120         * setjmp/bits/setjmp2.h: Likewise.
17121         * stdlib/ucontext.h: Likewise.
17123 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17125         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17126         (reused_arena): Don't check arena limit.
17127         (arena_get2): Atomically check arena limit.
17129 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17131         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17132         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17134         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17135         instructions.
17137 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17139         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17140         handler when locking.
17142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17143         Fix size of allocated buffer.
17145 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17147         [BZ #10103]
17148         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17149         declarations for long double functions.
17150         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17152         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17154 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17156         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17157         installed.
17159         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17160         is disabled.
17162 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17164         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17166 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17168         * include/alloca.h (stackinfo_alloca_round): Define.
17169         (extend_alloca): Use it.
17170         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17171         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17172         here.
17174         * scripts/check-local-headers.sh: Ignore libaudit.h.
17176         * nscd/Makefile (extra-objs): Make recursively expanded.
17178 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17180         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17181         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17183         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17184         * posix/tst-rfc3484-2.c: Likewise.
17185         * posix/tst-rfc3484-3.c: Likewise.
17187         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17188         process_vm_writev.
17189         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17190         process_vm_writev.
17191         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17192         process_vm_writev from libc using GLIBC_2.15 version.
17194         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17196 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17198         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17199         stack usage.
17201 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17203         [BZ #13367]
17204         * nss/getent.c (initgroups_keys): Show error message in case no group
17205         names are given.
17207         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17208         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17209         __bump_nl_timestamp.
17210         * nscd/connections (nscd_init): When host database is served open
17211         netlink socket and request notification about configuration changes.
17212         (main_loop_poll): Track netlink file descriptor and bump timestamp
17213         in case data becomes available.
17214         (main_loop_epoll): Likewise.
17215         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17216         (database_pers_head): Add extra_data fileds.
17217         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17218         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17219         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17220         Adjust caller.
17221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17222         in6ai data, call __free_in6ai.
17223         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17224         Add -DHAVE_NETLINK.
17225         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17226         interface information.  Reuse previous data if netlink timestamp
17227         is not changed.
17228         (__bump_nl_timestamp): New function.
17229         (__free_in6ai): New function.
17231 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17233         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17234         close_not_cancel_no_status here.
17235         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17237 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17239         [BZ #13276]
17240         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17241         return value.
17243         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17244         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17245         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17247 2011-07-03  Andreas Jaeger  <aj@suse.de>
17249         [BZ #10709]
17250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17251         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17252         * math/libm-test.inc (sin_test): Add test case.
17254 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17256         [BZ #13337]
17257         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17258         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17260         * elf/chroot_canon.c (chroot_canon): Cleanups.
17262         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17264         [BZ #13335]
17265         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17266         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17268         * string/test-strchr.c: Make usable for strchrnul testing.
17269         * string/test-strchrnul.c: New file.
17270         * string/Makefile (strop-tests): Add strchrnul.
17272         * po/it.po: Update from translation team.
17273         * po/es.po: Likewise.
17275 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17277         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17278         the three constants needed as parameters.  Drop the others.
17279         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17280         __m128i_strloadu_tolower.
17281         Create and initialize variable zero and use it in all the places
17282         where _mm_setzero_si128 was used.
17284         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17285         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17286         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17287         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17288         anymore.
17289         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17290         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17291         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17292         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17293         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17294         __mpranred, __mptan.
17295         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17296         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17297         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17298         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17299         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17300         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17301         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17302         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17303         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17305 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17307         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17308         redefine if SHARED.
17309         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17311         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17312         wide char related routines to wcsmbs subdir.
17314 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17316         [BZ #13344]
17317         * misc/sys/cdefs.h (__THROWNL): Define.
17318         * posix/unistd.h: Use __THREADNL instead of __THREAD
17319         for memory synchronization functions.
17321 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17323         [BZ #13349]
17324         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17325         doesn't exist.
17326         * manual/stdio.texi (Obstack Streams): Node removed.
17328 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17330         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17331         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17332         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17334         * math/math_private.h (math_force_eval): Allow non-addressable
17335         arguments.
17336         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17338 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17340         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17341         file is not needed.
17343         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17344         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17345         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17346         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17347         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17348         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17349         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17350         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17351         Add AVX variants.
17352         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17353         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17354         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17355         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17356         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17357         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17358         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17359         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17360         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17361         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17362         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17363         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17364         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17365         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17366         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17367         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17368         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17369         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17370         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17372         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17373         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17375         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17376         place.  Use VEX encoding when compiling for AVX.
17378 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17380         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17381         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17383         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17385 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17387         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17388         useless if() expression.
17389         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17390         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17391         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17392         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17393         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17394         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17395         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17396         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17397         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17398         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17399         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17400         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17401         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17402         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17403         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17404         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17405         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17406         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17407         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17409         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17411 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17413         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17414         condition.
17415         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17417 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17419         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17420         .text section.  Avoid duplicate constants.
17421         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17422         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17423         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17424         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17425         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17428         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17429         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17430         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17431         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17432         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17433         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17434         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17435         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17436         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17437         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17438         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17439         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17440         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17441         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17442         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17443         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17444         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17445         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17446         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17447         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17448         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17449         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17450         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17451         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17452         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17453         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17454         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17455         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17456         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17457         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17458         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17459         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17460         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17461         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17462         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17463         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17464         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17465         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17467 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17469         * sysdeps/x86_64/dla.h: Move to ...
17470         * sysdeps/x86_64/fpu/dla.h: ...here.
17471         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17472         situations.  Use __builtin_fma only for gcc 4.6 and up.
17474         * config.make.in: Add have-mfma4 entry.
17475         * configure.in: Substitute libc_cv_cc_fma4.
17476         * math/Makefile (dbl-only-routines): Add sincostab.
17477         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17478         Use __sincostab not sincos.
17479         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17480         name is a macro.
17481         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17482         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17483         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17485         using __copysign.
17486         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17487         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17488         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17489         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17490         and __inv.
17491         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17492         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17493         __copysign.
17494         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17495         define aliases when function name is a macro.
17496         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17497         sysdeps/ieee754/dbl-64/sincos.tbl.
17498         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17499         fma4-enabled routines.
17500         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17501         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17502         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17503         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17504         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17505         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17506         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17507         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17508         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17509         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17510         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17511         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17512         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17513         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17514         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17515         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17516         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17517         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17518         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17519         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17520         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17521         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17522         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17523         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17524         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17525         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17526         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17527         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17528         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17529         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17531         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17532         rename.
17533         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17535         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17536         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17538         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17539         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17540         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17542 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17544         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17546 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17548         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17550         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17551         prediction.
17552         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17554         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17555         Remove unused variable magic_bits.
17556         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17558         * string/strnlen.c: Define and use STRNLEN macro.
17559         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17560         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17561         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17562         * wcsmbs/wcslen.c: Define and use WCSLEN.
17563         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17564         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17565         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17566         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17567         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17568         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17569         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17571 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17574         strnlen-sse2-no-bsf.
17575         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17576         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17577         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17578         Add strnlen support.
17579         (USE_AS_STRNLEN): New macro.
17580         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17581         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17582         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17583         * sysdeps/x86_64/wcslen.S: New file.
17585 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17587         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17588         XMM-moves are used for copying on small sizes.
17590 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17592         * wcsmbs/Makefile (strop-tests): Add wcschr.
17593         * wcsmbs/test-wcschr.c: New file.
17594         * string/test-strchr.c: Update.
17595         Add wcschr support.
17596         (WIDE): New macro.
17598 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17600         * wcsmbs/Makefile (strop-tests): Add wcslen.
17601         * wcsmbs/test-wcslen.c: New file.
17602         * string/test-strlen.c: Update.
17603         Add wcslen support.
17604         (WIDE): New macro.
17606 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17608         * po/it.po: Update from translation team.
17610 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17612         * sysdeps/x86_64/wcscmp.S: Update.
17613         Fix wrong comparison semantics.
17614         wcscmp shall use signed comparison not unsigned.
17615         Don't use substraction to avoid overflow bug.
17616         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17617         * wcsmbc/wcscmp.c: Likewise.
17618         * string/test-strcmp.c: Likewise.
17619         Add new tests to check cases with negative values.
17621 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17623         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17624         * sysdeps/x86_64/dla.h: ...here.  New file.
17625         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17630         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17633         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17635 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
17637         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17638         __ynl_finite aliases.
17640 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17644         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17645         define DLA_FMA.
17646         [DLA_FMA] (EMULV): Use DLA_FMA.
17647         [DLA_FMA] (MUL12): Use EMULV.
17648         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17649         that are not needed.
17650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17658 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
17660         * math/s_nan.c: Undef __nan.
17661         * math/s_nanf.c: Undef __nanf.
17662         * math/s_nanl.c: Undef __nanl.
17663         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17664         "math_private.h".
17666 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
17668         * math/s_catan.c: Add branch predictions.
17669         * math/s_catanf.c: Likewise.
17670         * math/s_catanh.c: Likewise.
17671         * math/s_catanhf.c: Likewise.
17672         * math/s_catanhl.c: Likewise.
17673         * math/s_catanl.c: Likewise.
17674         * math/s_cexp.c: Likewise.
17675         * math/s_cexpf.c: Likewise.
17676         * math/s_cexpl.c: Likewise.
17677         * math/s_clog.c: Likewise.
17678         * math/s_clog10.c: Likewise.
17679         * math/s_clog10f.c: Likewise.
17680         * math/s_clog10l.c: Likewise.
17681         * math/s_clogf.c: Likewise.
17682         * math/s_clogl.c: Likewise.
17683         * math/s_csqrt.c: Likewise.
17684         * math/s_csqrtf.c: Likewise.
17685         * math/s_csqrtl.c: Likewise.
17686         * math/s_ctanf.c: Likewise.
17687         * math/s_ctanh.c: Likewise.
17688         * math/s_ctanhf.c: Likewise.
17689         * math/s_ctanhl.c: Likewise.
17690         * math/s_ctanl.c: Likewise.
17692         * math/math_private.h: Define __nan, __nanf, __nanl.
17693         * math/s_cacosh.c: Include <math_private.h>.
17694         * math/s_cacoshl.c: Likewise.
17695         * math/s_casinh.c: Likewise.
17696         * math/s_casinhf.c: Likewise.
17697         * math/s_casinhl.c: Likewise.
17698         * math/s_ccos.c: Rely entire on ccosh.
17699         * math/s_ccosf.c: Rely entire on ccoshf.
17700         * math/s_ccosl.c: Rely entirely on ccoshl.
17701         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
17702         Remove tests for FE_INVALID.
17703         * math/s_ccoshf.c: Likewise.
17704         * math/s_ccoshl.c: Likewise.
17705         * math/s_csin.c: Likewise.
17706         * math/s_csinf.c: Likewise.
17707         * math/s_csinh.c Likewise.
17708         * math/s_csinhf.c: Likewise.
17709         * math/s_csinhl.c: Likewise.
17710         * math/s_csinl.c: Likewise.
17711         * math/s_ctan.c: Likewise.
17712         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17713         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17714         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17716 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
17718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17719         compilation problems.
17721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17722         __builtin_expect.
17724 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
17726         * sysdeps/i386/configure.in: Test for -mfma4 option.
17727         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17728         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17729         COMMON_CPUID_INDEX_80000001.
17730         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17731         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17732         use it if FMA3 is not supported.
17733         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17735         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17736         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17738 2011-10-20  Andreas Schwab  <schwab@redhat.com>
17740         [BZ #12892]
17741         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17742         it would create a cycle with a link time dependency.
17744 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
17746         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17747         instruction.
17748         * string/Makefile (strop-tests): Add rawmemchr.
17749         * string/test-rawmemchr.c: New file.
17751         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
17753         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
17754         when compiling str{,n}casecmp and when AVX is available.  Hook up
17755         new optimized code in initializers.
17757 2011-10-19  Andreas Schwab  <schwab@redhat.com>
17759         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17760         __feraiseexcept instead of feraiseexcept.
17762 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
17764         * math/math_private.h: Define defaults for libc_fetestexcept and
17765         libc_feupdateenv.
17766         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17767         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17768         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17769         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17770         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17771         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17772         libc_fetestexcept and libc_feupdateenv.
17774         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17775         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17776         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17777         * sysdeps/x86_64/fpu/math_private.h: Define special version of
17778         libc_feholdexcept_setround.
17780         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17781         Add s_nearbyint-c and s_nearbyintf-c.
17782         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17783         nearbyintf inlines.
17784         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17785         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17786         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17787         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17789         * math/math_private.h: Define defaults for libc_fegetround,
17790         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17791         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17792         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17793         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17794         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17795         standard functions.
17796         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17797         Remove comments and hacks for old compiler versions.
17798         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17799         libc_fegetround, libc_fesetround, libc_feholdexcept, and
17800         libc_feholdexceptl.
17802 2011-10-18  Andreas Schwab  <schwab@redhat.com>
17804         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17805         (__feraiseexcept_renamed): Add __NTH.
17806         (feraiseexcept): Add __NTH.  Rename local variables to fix
17807         namespace violations.
17809 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
17811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17813         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17815         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17816         recently added interfaces.
17817         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17819         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17820         about macro parameter expansion.
17822         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17823         __NO_MATH_INLINES is defined.  Cleanups.
17825         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17826         and __floorf is target has SSE4.1.
17827         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17828         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17829         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17830         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17832         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17833         name.
17834         (floorf): Likewise.
17836         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17838 2011-10-17  Andreas Schwab  <schwab@redhat.com>
17840         * misc/sys/cdefs.h: Fix last change.
17842         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17843         database lookup.
17845 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
17847         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17849         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17850         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17851         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17852         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17853         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17854         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17855         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17856         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17857         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17858         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17859         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17860         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17861         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17862         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17863         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17864         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17865         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17866         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17867         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17868         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17869         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17870         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17872         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17873         ceil, ceilf, floor, floorf.
17875         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17876         Perform IRELATIVE relocations last.
17878         * elf/do-rel.h: Add another parameter nrelative, replacing the
17879         local variable with the same name.  Change name of the function
17880         to end in Rel or Rela (uppercase).
17881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17882         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
17883         elf_dynamic_do_##reloc function.
17885 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17887         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17888         is sufficient, at least on modern CPUs.
17890         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17892         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17893         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17895         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17896         __expl_finite.
17897         * math/bits/math-finite.h: Add entries for exp.
17898         * math/e_expl.c: Add __*_finite alias.
17899         * sysdeps/i386/fpu/e_exp.S: Likewise.
17900         * sysdeps/i386/fpu/e_expf.S: Likewise.
17901         * sysdeps/i386/fpu/e_expl.c: Likewise.
17902         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17903         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17904         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17905         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17906         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17907         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17908         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17910         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17911         is sufficient, at least on modern CPUs.
17913         * ctype/ctype-info.c (__ctype_init): Define.
17914         * include/ctype.h (__ctype_init): Declare.
17915         (__ctype_b_loc): The variable is always initialized.
17916         (__ctype_toupper_loc): Likewise.
17917         (__ctype_tolower_loc): Likewise.
17918         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17919         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17921 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
17923         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17925         * configure.in: Also look in $cxxmachine/include for C++ system
17926         headers.
17928 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17930         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17931         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17932         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17933         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
17934         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17935         (USE_AS_WMEMCMP): New macro.
17936         Fixing indents.
17937         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17938         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17939         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17940         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17941         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17942         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17943         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17944         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17945         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17946         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17947         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17948         (USE_AS_WMEMCMP): New macro.
17949         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17950         * sysdeps/string/test-memcmp.c: Update.
17951         Fix simple_wmemcmp.
17952         Add new tests.
17953         * wcsmbs/wmemcmp.c: Update.
17954         (WMEMCMP): New macro.
17955         Fix overflow bug.
17957 2011-10-12  Andreas Jaeger  <aj@suse.de>
17959         [BZ #13268]
17960         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17962 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17964         * libio/iofwide.c (do_length): Avoid warning.
17966         * ctype/ctype.h (__isctype_f): Add missing __THROW.
17968 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
17970         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17972         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17973         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17974         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17975         * sysdeps/i386/i686/fpu/e_log.S: New file.
17976         * sysdeps/i386/i686/fpu/e_logf.S: New file.
17977         * sysdeps/i386/i686/fpu/e_logl.S: New file.
17979         * ctype/ctype.h: Add support for inlined isXXX functions when
17980         compiling C++ code.
17982 2011-10-14  Andreas Schwab  <schwab@redhat.com>
17984         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17986         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17988 2011-10-13  Roland McGrath  <roland@hack.frob.com>
17990         [BZ #13291]
17991         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17993 2011-10-13  Andreas Schwab  <schwab@redhat.com>
17995         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17996         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17997         feraiseexcept.
17999         * sysdeps/x86_64/memrchr.S: Check for zero size.
18001         * string/stratcliff.c: Add memrchr tests.
18003 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18005         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18006         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18007         rawmemchr-sse2 rawmemchr-sse2-bsf.
18008         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18009         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18010         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18011         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18012         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18013         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18014         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18015         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18016         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18017         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18018         * string/memrchr.c (MEMRCHR): New macro.
18020 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18022         Add integration with gcc's -ffinite-math-only and optimize wrapper
18023         functions in libm.
18024         * Versions.def: Define GLIBC_2.15 version for libm.
18025         * math/Makefile (headers): Add bits/math-finite.h.
18026         * math/bits/math-finite.h: New file.
18027         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18028         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18029         * math/e_acoshl.c: Add __*_finite alias.
18030         * math/e_acosl.c: Likewise.
18031         * math/e_asinl.c: Likewise.
18032         * math/e_atan2l.c: Likewise.
18033         * math/e_atanhl.c: Likewise.
18034         * math/e_coshl.c: Likewise.
18035         * math/e_exp10.c: Likewise.
18036         * math/e_exp10f.c: Likewise.
18037         * math/e_exp10l.c: Likewise.
18038         * math/e_exp2l.c: Likewise.
18039         * math/e_fmodl.c: Likewise.
18040         * math/e_gammal_r.c: Likewise.
18041         * math/e_hypotl.c: Likewise.
18042         * math/e_j0l.c: Likewise.
18043         * math/e_j1l.c: Likewise.
18044         * math/e_jnl.c: Likewise.
18045         * math/e_lgammal_r.c: Likewise.
18046         * math/e_log10l.c: Likewise.
18047         * math/e_log2l.c: Likewise.
18048         * math/e_logl.c: Likewise.
18049         * math/e_powl.c: Likewise.
18050         * math/e_sinhl.c: Likewise.
18051         * math/e_sqrtl.c: Likewise.
18052         * math/e_scalb.c: Completely rewritten and optimized.
18053         * math/e_scalbf.c: Likewise.
18054         * math/e_scalbl.c: Likewise.
18055         * math/w_acos.c: Likewise.
18056         * math/w_acosf.c: Likewise.
18057         * math/w_acosl.c: Likewise.
18058         * math/w_acosh.c: Likewise.
18059         * math/w_acoshf.c: Likewise.
18060         * math/w_acoshl.c: Likewise.
18061         * math/w_asin.c: Likewise.
18062         * math/w_asinf.c: Likewise.
18063         * math/w_asinl.c: Likewise.
18064         * math/w_atan2.c: Likewise.
18065         * math/w_atan2f.c: Likewise.
18066         * math/w_atan2l.c: Likewise.
18067         * math/w_atanh.c: Likewise.
18068         * math/w_atanhf.c: Likewise.
18069         * math/w_atanhl.c: Likewise.
18070         * math/w_exp10.c: Likewise.
18071         * math/w_exp10f.c: Likewise.
18072         * math/w_exp10l.c: Likewise.
18073         * math/w_fmod.c: Likewise.
18074         * math/w_fmodf.c: Likewise.
18075         * math/w_fmodl.c: Likewise.
18076         * math/w_j0.c: Likewise.
18077         * math/w_j0f.c: Likewise.
18078         * math/w_j0l.c: Likewise.
18079         * math/w_j1.c: Likewise.
18080         * math/w_j1f.c: Likewise.
18081         * math/w_j1l.c: Likewise.
18082         * math/w_jn.c: Likewise.
18083         * math/w_jnf.c: Likewise.
18084         * math/w_log.c: Likewise.
18085         * math/w_logf.c: Likewise.
18086         * math/w_logl.c: Likewise.
18087         * math/w_log10.c: Likewise.
18088         * math/w_log10f.c: Likewise.
18089         * math/w_log10l.c: Likewise.
18090         * math/w_log2.c: Likewise.
18091         * math/w_log2f.c: Likewise.
18092         * math/w_log2l.c: Likewise.
18093         * math/w_pow.c: Likewise.
18094         * math/w_powf.c: Likewise.
18095         * math/w_powl.c: Likewise.
18096         * math/w_remainder.c: Likewise.
18097         * math/w_remainderf.c: Likewise.
18098         * math/w_remainderl.c: Likewise.
18099         * math/w_scalb.c: Likewise.
18100         * math/w_scalbf.c: Likewise.
18101         * math/w_scalbl.c: Likewise.
18102         * math/w_sqrt.c: Likewise.
18103         * math/w_sqrtf.c: Likewise.
18104         * math/w_sqrtl.c: Likewise.
18105         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18106         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18107         used.
18108         * math/math_private.h: Declare __kernel_standard_f.
18109         * math/w_cosh.c: Remove cruft and optimize a bit.
18110         * math/w_coshf.c: Likewise.
18111         * math/w_coshl.c: Likewise.
18112         * math/w_exp2.c: Likewise.
18113         * math/w_exp2f.c: Likewise.
18114         * math/w_exp2l.c: Likewise.
18115         * math/w_hypot.c: Likewise.
18116         * math/w_hypotf.c: Likewise.
18117         * math/w_hypotl.c: Likewise.
18118         * math/w_lgamma.c: Likewise.
18119         * math/w_lgamma_r.c: Likewise.
18120         * math/w_lgammaf.c: Likewise.
18121         * math/w_lgammaf_r.c: Likewise.
18122         * math/w_lgammal.c: Likewise.
18123         * math/w_lgammal_r.c: Likewise.
18124         * math/w_sinh.c: Likewise.
18125         * math/w_sinhf.c: Likewise.
18126         * math/w_sinhl.c: Likewise.
18127         * math/w_tgamma.c: Likewise.
18128         * math/w_tgammaf.c: Likewise.
18129         * math/w_tgammal.c: Likewise.
18130         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18131         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18132         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18133         Minor optimizations.  Pretty printing.  Remove cruft.
18134         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18135         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18136         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18137         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18138         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18139         * sysdeps/i386/fpu/e_asin.S: Likewise.
18140         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18141         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18142         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18143         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18144         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18145         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18146         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18147         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18148         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18149         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18150         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18151         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18152         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18153         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18154         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18155         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18156         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18157         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18158         * sysdeps/i386/fpu/e_log.S: Likewise.
18159         * sysdeps/i386/fpu/e_log10.S: Likewise.
18160         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18161         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18162         * sysdeps/i386/fpu/e_log2.S: Likewise.
18163         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18164         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18165         * sysdeps/i386/fpu/e_logf.S: Likewise.
18166         * sysdeps/i386/fpu/e_logl.S: Likewise.
18167         * sysdeps/i386/fpu/e_pow.S: Likewise.
18168         * sysdeps/i386/fpu/e_powf.S: Likewise.
18169         * sysdeps/i386/fpu/e_powl.S: Likewise.
18170         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18171         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18172         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18173         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18174         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18175         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18176         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18177         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18178         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18179         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18180         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18181         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18182         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18183         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18184         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18185         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18186         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18187         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18189         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18190         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18193         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18195         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18196         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18197         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18198         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18199         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18200         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18201         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18202         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18203         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18204         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18205         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18206         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18207         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18208         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18209         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18210         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18211         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18212         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18213         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18214         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18215         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18216         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18217         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18218         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18219         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18220         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18221         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18222         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18223         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18224         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18225         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18226         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18227         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18228         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18229         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18230         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18231         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18232         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18234         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18235         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18236         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18237         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18238         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18239         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18244         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18247         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18248         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18253         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18254         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18255         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18256         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18257         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18258         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18259         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18260         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18261         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18262         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18263         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18264         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18265         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18266         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18267         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18268         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18269         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18270         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18271         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18272         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18273         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18274         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18275         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18276         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18277         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18278         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18279         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18280         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18281         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18282         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18283         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18284         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18285         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18286         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18287         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18288         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18289         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18290         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18291         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18292         (__isnanf): Likewise.
18293         (__isinf_ns): Likewise.
18294         (__isinf_nsf): Likewise.
18295         (__finite): Likewise.
18296         (__finitef): Likewise.
18297         (__ieee754_sqrt): Define as macro.
18298         (__ieee754_sqrtf): Define as macro.
18299         (__ieee754_sqrtl): Define as macro.
18300         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18301         inlined copy.
18302         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18303         __FINITE_MATH_ONLY__ consistent.
18304         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18306 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18308         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18309         of rawmemchr.
18311         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18313 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18315         * po/ja.po: Update from translation team.
18317 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18319         * locale/programs/locarchive.c (prepare_address_space): New function.
18320         (create_archive, enlarge_archive, open_archive): Use it.
18322         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18323         inside [SHARED], where it is used.
18325         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18327         * nss/getent.c (netgroup_keys): Remove unused variable.
18328         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18330 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18332         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18333         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18334         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18335         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18336         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18337         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18338         * math/Makefile (libm-calls): Add s_isinf_ns.
18339         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18340         * math/multc3.c: Likewise.
18341         * math/s_casin.c: Likewise.
18342         * math/s_casinf.c: Likewise.
18343         * math/s_casinl.c: Likewise.
18344         * math/s_ccos.c: Likewise.
18345         * math/s_ccosf.c: Likewise.
18346         * math/s_ccosl.c: Likewise.
18347         * math/s_ctan.c: Likewise.
18348         * math/s_ctanf.c: Likewise.
18349         * math/s_ctanh.c: Likewise.
18350         * math/s_ctanhf.c: Likewise.
18351         * math/s_ctanhl.c: Likewise.
18352         * math/s_ctanl.c: Likewise.
18353         * math/w_fmod.c: Likewise.
18354         * math/w_fmodf.c: Likewise.
18355         * math/w_fmodl.c: Likewise.
18356         * math/w_remainder.c: Likewise.
18357         * math/w_remainderf.c: Likewise.
18358         * math/w_remainderl.c: Likewise.
18359         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18360         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18361         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18363         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18364         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18365         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18366         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18368         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18369         of the number.
18370         * stdio-common/printf_fphex.c: Likewise.
18371         * stdio-common/printf_size.c: Likewise.
18373         * math/e_exp10.c: Include math_private.h using <...> not "...".
18374         * math/e_exp10f.c: Likewise.
18375         * math/e_exp10l.c: Likewise.
18376         * math/e_exp2l.c: Likewise.
18377         * math/e_j0l.c: Likewise.
18378         * math/e_j1l.c: Likewise.
18379         * math/e_jnl.c: Likewise.
18380         * math/e_lgammal_r.c: Likewise.
18381         * math/e_rem_pio2l.c: Likewise.
18382         * math/e_scalb.c: Likewise.
18383         * math/e_scalbf.c: Likewise.
18384         * math/e_scalbl.c: Likewise.
18385         * math/k_cosl.c: Likewise.
18386         * math/k_sinl.c: Likewise.
18387         * math/k_tanl.c: Likewise.
18388         * math/s_cacoshf.c: Likewise.
18389         * math/s_catan.c: Likewise.
18390         * math/s_catanf.c: Likewise.
18391         * math/s_catanh.c: Likewise.
18392         * math/s_catanhf.c: Likewise.
18393         * math/s_catanhl.c: Likewise.
18394         * math/s_catanl.c: Likewise.
18395         * math/s_ccosh.c: Likewise.
18396         * math/s_ccoshf.c: Likewise.
18397         * math/s_ccoshl.c: Likewise.
18398         * math/s_cexp.c: Likewise.
18399         * math/s_cexpf.c: Likewise.
18400         * math/s_cexpl.c: Likewise.
18401         * math/s_clog.c: Likewise.
18402         * math/s_clog10.c: Likewise.
18403         * math/s_clog10f.c: Likewise.
18404         * math/s_clog10l.c: Likewise.
18405         * math/s_clogf.c: Likewise.
18406         * math/s_clogl.c: Likewise.
18407         * math/s_csin.c: Likewise.
18408         * math/s_csinf.c: Likewise.
18409         * math/s_csinh.c: Likewise.
18410         * math/s_csinhf.c: Likewise.
18411         * math/s_csinhl.c: Likewise.
18412         * math/s_csinl.c: Likewise.
18413         * math/s_csqrt.c: Likewise.
18414         * math/s_csqrtf.c: Likewise.
18415         * math/s_csqrtl.c: Likewise.
18416         * math/s_ctan.c: Likewise.
18417         * math/s_ctanf.c: Likewise.
18418         * math/s_ctanh.c: Likewise.
18419         * math/s_ctanhf.c: Likewise.
18420         * math/s_ctanhl.c: Likewise.
18421         * math/s_ctanl.c: Likewise.
18422         * math/s_ldexp.c: Likewise.
18423         * math/s_ldexpf.c: Likewise.
18424         * math/s_ldexpl.c: Likewise.
18425         * math/s_significand.c: Likewise.
18426         * math/s_significandf.c: Likewise.
18427         * math/s_significandl.c: Likewise.
18428         * math/w_acos.c: Likewise.
18429         * math/w_acosf.c: Likewise.
18430         * math/w_acosh.c: Likewise.
18431         * math/w_acoshf.c: Likewise.
18432         * math/w_acoshl.c: Likewise.
18433         * math/w_acosl.c: Likewise.
18434         * math/w_asin.c: Likewise.
18435         * math/w_asinf.c: Likewise.
18436         * math/w_asinl.c: Likewise.
18437         * math/w_atan2.c: Likewise.
18438         * math/w_atan2f.c: Likewise.
18439         * math/w_atan2l.c: Likewise.
18440         * math/w_atanh.c: Likewise.
18441         * math/w_atanhf.c: Likewise.
18442         * math/w_atanhl.c: Likewise.
18443         * math/w_cosh.c: Likewise.
18444         * math/w_coshf.c: Likewise.
18445         * math/w_coshl.c: Likewise.
18446         * math/w_dremf.c: Likewise.
18447         * math/w_exp10.c: Likewise.
18448         * math/w_exp10f.c: Likewise.
18449         * math/w_exp10l.c: Likewise.
18450         * math/w_exp2.c: Likewise.
18451         * math/w_exp2f.c: Likewise.
18452         * math/w_fmod.c: Likewise.
18453         * math/w_fmodf.c: Likewise.
18454         * math/w_fmodl.c: Likewise.
18455         * math/w_hypot.c: Likewise.
18456         * math/w_hypotf.c: Likewise.
18457         * math/w_hypotl.c: Likewise.
18458         * math/w_j0.c: Likewise.
18459         * math/w_j0f.c: Likewise.
18460         * math/w_j0l.c: Likewise.
18461         * math/w_j1.c: Likewise.
18462         * math/w_j1f.c: Likewise.
18463         * math/w_j1l.c: Likewise.
18464         * math/w_jn.c: Likewise.
18465         * math/w_jnf.c: Likewise.
18466         * math/w_jnl.c: Likewise.
18467         * math/w_lgamma.c: Likewise.
18468         * math/w_lgamma_r.c: Likewise.
18469         * math/w_lgammaf.c: Likewise.
18470         * math/w_lgammaf_r.c: Likewise.
18471         * math/w_lgammal.c: Likewise.
18472         * math/w_lgammal_r.c: Likewise.
18473         * math/w_log.c: Likewise.
18474         * math/w_log10.c: Likewise.
18475         * math/w_log10f.c: Likewise.
18476         * math/w_log10l.c: Likewise.
18477         * math/w_log2.c: Likewise.
18478         * math/w_log2f.c: Likewise.
18479         * math/w_log2l.c: Likewise.
18480         * math/w_logf.c: Likewise.
18481         * math/w_logl.c: Likewise.
18482         * math/w_pow.c: Likewise.
18483         * math/w_powf.c: Likewise.
18484         * math/w_powl.c: Likewise.
18485         * math/w_remainder.c: Likewise.
18486         * math/w_remainderf.c: Likewise.
18487         * math/w_remainderl.c: Likewise.
18488         * math/w_scalb.c: Likewise.
18489         * math/w_scalbf.c: Likewise.
18490         * math/w_scalbl.c: Likewise.
18491         * math/w_sinh.c: Likewise.
18492         * math/w_sinhf.c: Likewise.
18493         * math/w_sinhl.c: Likewise.
18494         * math/w_sqrt.c: Likewise.
18495         * math/w_sqrtf.c: Likewise.
18496         * math/w_sqrtl.c: Likewise.
18497         * math/w_tgamma.c: Likewise.
18498         * math/w_tgammaf.c: Likewise.
18499         * math/w_tgammal.c: Likewise.
18501         * po/ja.po: Update from translation team.
18503 2011-09-29  Andreas Jaeger  <aj@suse.de>
18505         [BZ #13179]
18506         * sunrpc/netname.c (netname2host): Fix logic.
18508         [BZ #6779]
18509         [BZ #6783]
18510         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18511         correctly.
18512         * math/w_remainder.c (__remainder): Likewise.
18513         * math/w_remainderf.c (__remainderf): Likewise.
18514         * math/libm-test.inc (remainder_test): Add test cases.
18516 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18518         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18519         sdiv_qrnnd.
18521 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18523         * string/test-memcmp.c: Avoid unncessary #defines.
18524         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18526 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18528         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18529         Use new sse2 version for core i3 - i7 as it's faster
18530         than sse42 version.
18531         (bit_Prefer_PMINUB_for_stringop): New.
18532         * sysdeps/x86_64/rawmemchr.S: Update.
18533         Replace with faster SSE2 version.
18534         * sysdeps/x86_64/memrchr.S: New file.
18535         * sysdeps/x86_64/memchr.S: Update.
18536         Replace with faster SSE2 version.
18538 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18540         * elf/dl-load.c (lose): Add cast to avoid warning.
18542 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18544         * po/ca.po: Update from translation team.
18546         * inet/getnetgrent_r.c: Hook up nscd.
18547         * nscd/Makefile (routines): Add nscd_netgroup.
18548         (nscd-modules): Add netgroupcache.
18549         (CFLAGS-netgroupcache.c): Define.
18550         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18551         (cache_search): Add const to second parameter.
18552         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18553         INNETGR.
18554         (dbs): Add netgrdb entry.
18555         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18556         (verify_persistent_db): Handle netgrdb.
18557         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18558         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18559         GETFDNETGR.
18560         (netgroup_response_header): Define.
18561         (innetgroup_response_header): Define.
18562         (datahead): Add netgroup_response_header and innetgroup_response_header
18563         elements.
18564         * nscd/nscd.conf: Add entries for netgroup cache.
18565         * nscd/nscd.h (dbtype): Add netgrdb.
18566         (_PATH_NSCD_NETGROUP_DB): Define.
18567         (netgroup_iov_disabled): Declare.
18568         (xmalloc, xcalloc, xrealloc): Move declarations here.
18569         (cache_search): Adjust prototype.
18570         Add netgroup-related prototypes.
18571         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18572         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18573         (__nscd_innetgr): Declare.
18574         * nscd/selinux.c (perms): Use access_vector_t as element type and
18575         add netgroup-related initializers.
18576         * nscd/netgroupcache.c: New file.
18577         * nscd/nscd_netgroup.c: New file.
18578         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18579         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18580         For four parameters use innetgr.
18581         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18582         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18583         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18584         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18586         * nscd/connections.c (register_traced_file): Don't register file
18587         for disabled databases.
18589 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18591         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18593         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18594         from tree and freeing node.
18596 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18598         * nss/nsswitch.c (__nss_database_lookup): Handle
18599         nss_parse_service_list out of memory case.
18601 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18603         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18604         out of memory case.
18606 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18608         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18609         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18610         pass it down.
18611         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18612         elf_machine_rela, elf_machine_lazy_rel.
18613         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18614         (ELF_DYNAMIC_DO_REL): Likewise.
18615         (ELF_DYNAMIC_DO_RELA): Likewise.
18616         (ELF_DYNAMIC_RELOCATE): Likewise.
18617         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18618         to ELF_DYNAMIC_DO_REL.
18619         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18620         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18621         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18622         elf_machine_rela.
18623         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18624         skip_ifunc, don't call ifunc function if non-zero.
18625         (elf_machine_rela): Likewise.
18626         (elf_machine_lazy_rel): Likewise.
18627         (elf_machine_lazy_rela): Likewise.
18628         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18629         (elf_machine_lazy_rel): Likewise.
18630         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18631         Likewise.
18632         (elf_machine_lazy_rel): Likewise.
18633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18634         Likewise.
18635         (elf_machine_lazy_rel): Likewise.
18636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18637         (elf_machine_lazy_rel): Likewise.
18638         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18639         (elf_machine_lazy_rel): Likewise.
18640         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18641         (elf_machine_lazy_rel): Likewise.
18642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18643         (elf_machine_lazy_rel): Likewise.
18644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18645         (elf_machine_lazy_rel): Likewise.
18646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18647         (elf_machine_lazy_rel): Likewise.
18649 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
18651         * nss/nss_files/files-init.c (_nss_files_init): Use static
18652         initialization for all the *_traced_file variables.
18654 2011-09-28  Andreas Schwab  <schwab@redhat.com>
18656         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18658 2011-09-27  Roland McGrath  <roland@hack.frob.com>
18660         [BZ #13226]
18661         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18663 2011-09-27  Andreas Schwab  <schwab@redhat.com>
18665         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18666         Reread the line before reparsing it.
18668 2011-09-26  Andreas Schwab  <schwab@redhat.com>
18670         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18672 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
18673             Maxim Kuvyrkov  <maxim@codesourcery.com>
18674             Joseph Myers  <joseph@codesourcery.com>
18676         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18677         if needed for __stack_chk_guard.
18679 2011-09-19  Roland McGrath  <roland@hack.frob.com>
18681         * sysdeps/posix/spawni.c (script_execute): Always define it.
18682         It will be optimized away if unused.
18683         (maybe_script_execute): New function.
18684         (__spawni): Call it.
18686         * Makerules: Don't include tls.make.
18687         (config-tls): Always set to thread.
18688         * tls.make.c: File removed.
18690 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
18692         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18693         * config.make.in (CPPFLAGS-config): New substituted variable.
18695 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18697         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18699         [BZ #13192]
18700         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18701         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18703 2011-09-15  Roland McGrath  <roland@hack.frob.com>
18705         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18706         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18708         (CALL_FAIL): Likewise.
18709         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18710         (CALL_FAIL): Macro removed.
18711         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18713 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
18715         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18716         for __FINITE_MATH_ONLY__ == 1.
18718 2011-09-15  Andreas Schwab  <schwab@redhat.com>
18720         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18721         __ieee754_sqrt instead of sqrt.
18722         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18723         __ieee754_sqrtf instead of sqrtf.
18724         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18725         __floorf instead of floorf.
18726         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18727         __floorf, __truncf instead of floorf, truncf.
18729 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
18731         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18733         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18734         __extern_always_inline.
18735         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18736         32-bit.
18738 2011-09-14  Andreas Schwab  <schwab@redhat.com>
18740         * elf/rtld.c (dl_main): Also relocate in dependency order when
18741         doing symbol dependency testing.
18743 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
18745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18746         Always define `refsym'.
18748 2011-09-13  Andreas Schwab  <schwab@redhat.com>
18750         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18751         (__FD_ELT): Renamed from __FDELT.
18752         * misc/bits/select2.h (__FD_ELT): Likewise.
18753         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18754         __FD_MASK instead of __FDELT, __FDMASK.
18755         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18756         Likewise.
18757         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18758         Likewise.
18760         * elf/Makefile (gen-ldd): Fix pattern.
18762         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18763         (init_tls): Likewise.
18765 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
18767         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18769 2011-09-12  Andreas Schwab  <schwab@redhat.com>
18771         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18772         `struct cmsghdr *' instead of `void *'.
18773         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18774         Likewise.
18776 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
18778         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18779         if non-absolute.
18780         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18781         ldd_rewrite_script.
18783 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
18785         * configure.in: Remove --with-tls option.
18786         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18787         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18788         out in case it is missing.
18789         * sysdeps/ia64/elf/configure.in: Likewise.
18790         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18791         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18792         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18793         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18794         * sysdeps/sh/elf/configure.in: Likewise.
18795         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18796         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18797         * sysdeps/x86_64/elf/configure.in: Likewise.
18798         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18799         * sysdeps/mach/hurd/tls.h: Likewise.
18801         [BZ #13067]
18802         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18804         [BZ #13090]
18805         * configure.in: Fix use of AC_INIT.
18807         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18809 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
18811         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18812         __set_errno.
18813         * malloc/hooks.c: Likewise.
18815         [BZ #11929]
18816         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
18817         variables statically.
18818         (narenas): Initialize.
18819         (list_lock): Initialize.
18820         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
18821         initializtion of main_arena and list_lock.  Small cleanups.
18822         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18823         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
18824         Add initializers to main_arena and mp_.
18825         (malloc_state): Remove pagesize member.  Change all users to use
18826         GLRO(dl_pagesize).
18828         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18829         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
18830         is always initialized.
18832         * malloc/malloc.c: Removed unused configurations and dead code.
18833         * malloc/arena.c: Likewise.
18834         * malloc/hooks.c: Likewise.
18835         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18837         * include/tls.h: Removed.  USE___THREAD must always be defined.
18838         * bits/libc-tsd.h: Don't handle !USE___THREAD.
18839         * elf/dl-libc.c: Likewise.
18840         * elf/dl-tsd.c: Likewise.
18841         * include/errno.h: Likewise.
18842         * include/netdb.h: Likewise.
18843         * include/resolv.h: Likewise.
18844         * inet/herrno-loc.c: Likewise.
18845         * inet/herrno.c: Likewise.
18846         * malloc/arena.c: Likewise.
18847         * malloc/hooks.c: Likewise.
18848         * malloc/malloc.c: Likewise.
18849         * resolv/res-state.c: Likewise.
18850         * resolv/res_libc.c: Likewise.
18851         * sysdeps/i386/dl-machine.h: Likewise.
18852         * sysdeps/ia64/dl-machine.h: Likewise.
18853         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18854         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18855         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18856         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18857         * sysdeps/sh/dl-machine.h: Likewise.
18858         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18859         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18860         * sysdeps/unix/i386/sysdep.S: Likewise.
18861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18862         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18864         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18865         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18867         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18871         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18872         * sysdeps/x86_64/dl-machine.h: Likewise.
18873         * tls.make.c: Likewise.
18875         * configure.in: Remove --with-__thread option.  Make tests for
18876         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18877         tls_model attribute fail if no support is available.  Remove
18878         USE_IN_LIBIO.
18879         * Makeconfig: Adjust for dropped configure option.  All features are
18880         now mandatory.
18881         * Makerules: Likewise.
18882         * Versions.def: Likewise.
18883         * argp/argp-fmtstream.c: Likewise.
18884         * argp/argp-fmtstream.h: Likewise.
18885         * argp/argp-help.c: Likewise.
18886         * assert/assert.c: Likewise.
18887         * config.h.in: Likewise.
18888         * config.make.in: Likewise.
18889         * configure: Likewise.
18890         * configure.in: Likewise.
18891         * csu/Versions: Likewise.
18892         * csu/init.c: Likewise.
18893         * elf/tst-audit2.c: Likewise.
18894         * elf/tst-tls10.c: Likewise.
18895         * elf/tst-tls10.h: Likewise.
18896         * elf/tst-tls11.c: Likewise.
18897         * elf/tst-tls12.c: Likewise.
18898         * elf/tst-tls14.c: Likewise.
18899         * elf/tst-tlsmod11.c: Likewise.
18900         * elf/tst-tlsmod12.c: Likewise.
18901         * elf/tst-tlsmod13.c: Likewise.
18902         * elf/tst-tlsmod13a.c: Likewise.
18903         * elf/tst-tlsmod14a.c: Likewise.
18904         * elf/tst-tlsmod15b.c: Likewise.
18905         * elf/tst-tlsmod16a.c: Likewise.
18906         * elf/tst-tlsmod16b.c: Likewise.
18907         * elf/tst-tlsmod7.c: Likewise.
18908         * elf/tst-tlsmod8.c: Likewise.
18909         * elf/tst-tlsmod9.c: Likewise.
18910         * gmon/gmon.c: Likewise.
18911         * grp/fgetgrent_r.c: Likewise.
18912         * grp/putgrent.c: Likewise.
18913         * hurd/fopenport.c: Likewise.
18914         * include/libc-symbols.h: Likewise.
18915         * include/tls.h: Likewise.
18916         * intl/gettextP.h: Likewise.
18917         * intl/loadinfo.h: Likewise.
18918         * locale/global-locale.c: Likewise.
18919         * locale/localeinfo.h: Likewise.
18920         * mach/devstream.c: Likewise.
18921         * malloc/arena.c: Likewise.
18922         * malloc/set-freeres.c: Likewise.
18923         * misc/err.c: Likewise.
18924         * misc/getttyent.c: Likewise.
18925         * misc/mntent_r.c: Likewise.
18926         * posix/getopt.c: Likewise.
18927         * posix/wordexp.c: Likewise.
18928         * pwd/fgetpwent_r.c: Likewise.
18929         * resolv/Versions: Likewise.
18930         * resolv/res_hconf.c: Likewise.
18931         * shadow/fgetspent_r.c: Likewise.
18932         * shadow/putspent.c: Likewise.
18933         * stdio-common/printf_fphex.c: Likewise.
18934         * stdio-common/tmpfile.c: Likewise.
18935         * stdlib/abort.c: Likewise.
18936         * stdlib/fmtmsg.c: Likewise.
18937         * sunrpc/auth_unix.c: Likewise.
18938         * sunrpc/clnt_perr.c: Likewise.
18939         * sunrpc/clnt_tcp.c: Likewise.
18940         * sunrpc/clnt_udp.c: Likewise.
18941         * sunrpc/clnt_unix.c: Likewise.
18942         * sunrpc/openchild.c: Likewise.
18943         * sunrpc/svc_simple.c: Likewise.
18944         * sunrpc/svc_tcp.c: Likewise.
18945         * sunrpc/svc_udp.c: Likewise.
18946         * sunrpc/svc_unix.c: Likewise.
18947         * sunrpc/xdr.c: Likewise.
18948         * sunrpc/xdr_array.c: Likewise.
18949         * sunrpc/xdr_rec.c: Likewise.
18950         * sunrpc/xdr_ref.c: Likewise.
18951         * sunrpc/xdr_stdio.c: Likewise.
18953 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18955         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18957 2011-07-03  Andreas Jaeger  <aj@suse.de>
18959         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18960         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18961         regenerate with gen-libm-tests.pl.
18963 2010-05-12  Petr Baudis  <pasky@suse.cz>
18965         [BZ #11589]
18966         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18967         around j0() zero points by switching to j1().
18968         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18969         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18971         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18973 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18975         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18976         instead of 0.
18977         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18978         instead of 0.                              .
18979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18980         Patch in part by Pavel Roskin <proski@gnu.org>.
18982         [BZ #13138]
18983         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18984         realloc.
18985         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
18986         Free memory block if necessary.
18988         [BZ #12847]
18989         * libio/genops.c (INTDEF): For string streams the _lock pointer can
18990         be NULL.  Don't lock in this case.
18992 2011-09-09  Roland McGrath  <roland@hack.frob.com>
18994         * elf/elf.h (ELFOSABI_GNU): New macro.
18995         (ELFOSABI_LINUX): Define to that.
18997 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
18999         * string/strncat.c (strncat): Undef the symbol in case it has been
19000         defined in bits/string.h.
19002 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19004         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19006         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19007         link map.
19009 2011-08-17  Andreas Jaeger  <aj@suse.de>
19011         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19013 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19014             Ian Lance Taylor  <iant@google.com>
19016         * math/libm-test.inc (lround_test): New testcase.
19017         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19019 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19021         * Makefile: Remove support for automatic cvs check-ins.
19022         * Makerules: Likewise.
19023         * config.make.in: Likewise.
19024         * configure.in: Likewise.
19025         * intl/Makefile: Likewise.
19026         * locale/Makefile: Likewise.
19027         * po/Makefile: Likewise.
19028         * posix/Makefile: Likewise.
19029         * sysdeps/gnu/Makefile: Likewise.
19030         * sysdeps/mach/hurd/Makefile: Likewise.
19031         * sysdeps/sparc/sparc32/Makefile: Likewise.
19033         [BZ #13118]
19034         * posix/Makefile (bug-regex32-ENV): Define.
19035         Patch by John Stanley <jpsinthemix@verizon.net>.
19037         * misc/Makefile (headers): Add bits/select2.h.
19038         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19039         * misc/bits/select2.h: New file.
19040         * include/bits/select2.h: New file.
19041         * debug/Makefile (routines): Add fdelt_chk.
19042         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19043         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19044         FD_ISSET.
19045         * debug/fdelt_chk.c: New file.
19047         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19048         * wcsmbs/test-wmemcmp.c: Likewise.
19049         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19050         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19052 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19054         * string/Makefile (strop-tests): Add memcmp.
19055         * string/test-wmemcmp.c: New file.
19056         * string/test-memcmp.c: Add wmemcmp support.
19058 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19060         [BZ #13153]
19061         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19062         2011-07-19 change.
19064         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19065         garbage value in a __mach_port_mod_refs call in the cases of the
19066         task-self and thread-self ports.
19068 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19070         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19072 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19074         * elf/dl-load.c (lose): Check for non-null L.
19076 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19078         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19080         * elf/dl-libc.c (dlerror_run): Pass back error code from
19081         dl_catch_error.
19083         [BZ #13123]
19084         * elf/dl-load.c (lose): Free l_origin if it is valid.
19086         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19087         names.
19088         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19089         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19090         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19091         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19092         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19093         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19095 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19097         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19098         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19099         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19100         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19101         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19102         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19103         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19104         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19105         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19106         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19108 2011-08-15  Alan Modra  <amodra@gmail.com>
19110         [BZ #13092]
19111         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19112         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19113         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19114         ppc_mcount to static-only-routines.
19115         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19116         __mcount_internal.
19117         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19118         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19120 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19122         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19123         for finite and infinity parameters.
19125 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19128         and add nop instructions for throughput optimization.
19129         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19131 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19133         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19134         aligned copy for power7 with vector-scalar instructions.
19135         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19137 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19139         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19140         AVX check.
19142 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19144         [BZ #13144]
19145         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19146         last change.
19148 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19150         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19151         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19152         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19153         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19154         clock_gettime.
19156 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19158         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19159         Forgot to demangle the pointer.
19161         * sysdeps/i386/sysdep.h: Define atom_text_section.
19162         * sysdeps/x86_64/sysdep.h: Likewise.
19163         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19164         section with atom_text_section.
19165         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19166         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19167         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19168         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19169         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19171         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19172         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19173         already be defined.  Change to take two parameters and don't assign
19174         result to variable.  Adjust all users.
19175         Define INTERNAL_GETTIME if not already defined.
19176         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19177         call.
19178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19179         HAVE_CLOCK_GETTIME_VSYSCALL.
19180         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19182         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19183         gettimeofday vsyscall, just use time.
19185 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19187         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19188         <errno.h>.
19190 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19192         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19193         syscall on x86-64.
19194         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19195         syscall.
19196         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19197         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19198         syscall if possible.
19200 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19202         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19203         e_ident.  Don't pass to find_mapsXX.
19204         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19206 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19209         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19210         * sysdeps/x86_64/multiarch/strchr.S: Update.
19211         Check bit_slow_BSF bit.
19212         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19213         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19214         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19216 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19218         [BZ #13134]
19219         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19220         before glibc 2.15.
19221         (tryshell): Define.
19222         (__spawni): Change last parameter to be flag.  Test
19223         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19224         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19225         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19226         * posix/spawni.c: Likewise.
19227         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19228         * posix/spawnp.c: Likewise.  Change normal version to use
19229         SPAWN_XFLAGS_USE_PATH.
19230         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19231         SPAWN_XFLAGS_TRY_SHELL.
19233         [BZ #13150]
19234         * posix/glob.h: Remove gcc 1.x support.
19236         [BZ #13068]
19237         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19239 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19242         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19243         strrchr-sse2-bsf
19244         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19245         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19246         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19247         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19248         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19249         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19251 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19253         * sysdeps/x86_64/wcscmp.S: New file.
19255         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19256         wcscmp-c wcscmp-sse2
19257         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19258         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19259         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19260         * wcsmbs/wcscmp.c: Allow renaming.
19262 2011-09-05  David S. Miller  <davem@davemloft.net>
19264         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19265         stack slot, rather than the struct return pointer slot.
19266         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19267         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19269         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19271 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19273         * po/ja.po: Update from translation team.
19275         [BZ #13144]
19276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19277         kernel in 64-bit binaries.
19279 2011-09-01  David S. Miller  <davem@davemloft.net>
19281         * elf/elf.h (HWCAP_SPARC_*): Move to..
19282         * sysdeps/sparc/sysdep.h: this new file and add new values.
19283         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19284         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19285         _DL_HWCAP_COUNT to 24.
19286         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19287         entries.
19288         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19289         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19290         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19292         instead of magic constants.
19293         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19295 2011-08-31  David S. Miller  <davem@davemloft.net>
19297         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19298         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19299         Reimplement to do errno handling inline.
19300         (SYSCALL_ERROR_HANDLER): New macro.
19301         (__SYSCALL_STRING): Do not do errno handling in asm.
19302         (__CLONE_SYSCALL_STRING): Delete.
19303         (__INTERNAL_SYSCALL_STRING): Delete.
19304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19305         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19306         (PSEUDO): Reimplement to do errno handling inline.
19307         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19308         (SYSCALL_ERROR_HANDLER): New macro.
19309         (__SYSCALL_STRING): Do not do errno handling in asm.
19310         (__CLONE_SYSCALL_STRING): Delete.
19311         (__INTERNAL_SYSCALL_STRING): Delete.
19312         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19313         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19314         i386.
19315         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19316         (inline_syscall*): Add 'err' argument.
19317         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19318         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19319         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19320         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19322         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19323         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19325 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19327         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19329 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19331         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19332         directive.
19334 2011-08-24  David S. Miller  <davem@davemloft.net>
19336         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19338 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19340         * elf/Makefile: Add rules to build and run unload8 test.
19341         * elf/unload8.c: New file.
19342         * elf/unload8mod1.c: New file.
19343         * elf/unload8mod1x.c: New file.
19344         * elf/unload8mod2.c: New file.
19345         * elf/unload8mod3.c: New file.
19347         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19348         it wasn't used.
19350 2011-08-23  David S. Miller  <davem@davemloft.net>
19352         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19353         subtract stack bias.
19354         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19355         %sp not %fp in calculations.
19356         (_JMPBUF_UNWINDS_ADJ): Likewise.
19358         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19359         (aio_suspend): Call it to force an exception region around the
19360         AIO_MISC_WAIT() invocation.
19362 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19364         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19365         backslash.
19367 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19369         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19370         protection macro.
19371         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19372         and <dl-machine.h>.
19373         (Elf64_FuncDesc): Remove.
19375 2011-08-22  David S. Miller  <davem@davemloft.net>
19377         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19378         sigaltstack check, add missing cfi directives.
19379         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19380         missing cfi directives, and sigaltstack handling.
19382 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19384         [BZ #11724]
19385         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19386         object is seen twice.
19387         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19389         * elf/Makefile (distribute): Add tst-initorder2.c.
19390         (tests): Add tst-initorder2.
19391         (modules-names): Add tst-initorder2a tst-initorder2b
19392         tst-initorder2c tst-initorder2d.  Add rules to build them.
19393         ($(objpfx)tst-initorder2.out): New rule.
19394         * elf/tst-initorder2.c: New file.
19395         * elf/tst-initorder2.exp: New file.
19397 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19399         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19401         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19402         dependencies back to end of function.
19404         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19405         $(elfobjdir)/ld.so.
19407 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19409         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19410         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19412         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19413         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19414         of __vdso_gettimeofday.
19415         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19416         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19417         attribute_hidden.
19418         (_libc_vdso_platform_setup): Remove initialization of
19419         __vdso_gettimeofday and __vdso_time.
19421 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19423         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19424         and fgetc_unlocked.
19425         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19426         getc_unlocked.
19428         * elf/dl-open.c (add_to_global): Report additions to the global scope
19429         for LD_DEBUG=scopes.
19430         (dl_open_worker): Also print scope of newly loaded dependencies.
19431         (_dl_show_scope): Indicate if there is no scope.
19433         [BZ #13114]
19434         * stdio-common/Makefile (tests): Add bug24.
19435         * stdio-common/bug24.c: New file.
19437 2011-08-19  Andreas Jaeger  <aj@suse.de>
19439         [BZ #13114]
19440         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19441         non-existant file when using close-on-exec mode.
19443 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19445         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19446         the very first instruction.
19448         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19449         the CFI state in the end.
19450         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19451         inclusion of dl-trampoline.h.
19452         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19454 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19456         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19457         expectations for long double.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19460         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19462 2011-08-14  David S. Miller  <davem@davemloft.net>
19464         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19465         artificual limit depends upon the system page size.
19467 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19469         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19470         * resolv/Makefile: Define CFLAGS-libresolv.
19472 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19474         * nss/makedb.c (compute_tables): Make variables used in nested
19475         function static.
19477 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19479         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19480         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19481         if buffer was too small.
19483         * elf/pldd.c (main): Attach to all threads in the process.
19484         Rewrite /proc handling to use *at functions.
19486 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19488         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19489         specifies first scope to show.
19490         (dl_open_worker): Update callers.  Move printing scope of new
19491         object to before the relocation.
19492         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19493         * sysdeps/generic/ldsodefs.h: Update declaration.
19495         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19496         string for the scope number.
19498 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19500         * nscd/servicescache.c (cache_addserv): Make sure written is always
19501         initialized.
19503 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19505         * sysdeps/i386/i486/bits/atomic.h
19506         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19507         statement expression, so as to suppress "set but not used" warning.
19508         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19510         * string/strncat.c (STRNCAT): Use prototype definition.
19512         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19513         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19514         -Iprograms here.
19515         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19516         (localedef-modules): Add localedef.
19517         (locale-modules): Add locale.
19519         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19520         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19521         to avoid a warning.
19523 2011-08-14  David S. Miller  <davem@davemloft.net>
19525         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19526         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19528 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19530         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19531         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19532         * elf/rtld.c (dl_main): Set l_name of vDSO.
19533         Call _dl_show_scope when DL_DEBUG_SCOPES.
19534         (process_dl_debug): Recognize scopes flag and also set it for all.
19535         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19536         Declare _dl_show_scope.
19538         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19539         (do_dlopen): Pass caller_dlopen to dl_open.
19540         (__libc_dlopen_mode): Initialize caller_dlopen.
19542         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19543         of libc.  Make tolower call locale-independent.  Optimize a bit by
19544         using isdigit instead of isalnum.
19545         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19547 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19549         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19550         was a dependency or dynamically loaded.
19552 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19554         * intl/l10nflist.c: Allow architecture-specific pop function.
19555         * sysdeps/x86_64/l10nflist.c: New file.
19557         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19558         classification.
19560 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19562         * include/dirent.h: Add libc_hidden_proto for scandirat and
19563         scandirat64.  Don't declare __scandirat64.
19564         * dirent/scandirat.c: Add libc_hidden_def.
19565         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19566         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19568 2011-08-10  David S. Miller  <davem@davemloft.net>
19570         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19571         enum.
19572         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19573         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19574         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19576 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19578         * Versions.def [libc]: Add GLIBC_2.15.
19579         * dirent/Makefile (routines): Add scandirat and scandirat64.
19580         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19581         GLIBC_2.15.
19582         * dirent/dirent.h: Declare scandirat and scandirat64.
19583         * dirent/scandirat.c: New file.
19584         * dirent/scandirat64.c: New file.
19585         * sysdeps/wordsize-64/scandirat.c: New file.
19586         * sysdeps/wordsize-64/scandirat64.c: New file.
19587         * dirent/opendir.c: Define opendirat.
19588         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19589         using scandirat.
19590         * dirent/scandir64.c: Adjust for scandir.c change.
19591         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19592         __scandirat64, and __scandir_cancel_handler.
19593         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19594         additional parameter and use openat instead of open (outside of ld.so).
19595         Add new __opendir as wrapper around __opendirat.
19596         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19597         here without requiring old scandirat implementation.
19599 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19601         * dirent/scandir.c (cancel_handler): Renamed to
19602         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19603         defined.  Adjust users.
19604         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19605         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19607 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19609         * string/test-string.h (IMPL): Use __STRING to expand name and then
19610         stringify it.
19612         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19613         of cleanups.
19615 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19617         * string/Makefile: Update.
19618         (strop-tests): Append strncat.
19619         * string/test-wcscmp.c: New file.
19620         New comprehensive test for wcscmp.
19621         * string/test-strcmp.c: Update.
19622         (WIDE): New define.
19624 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19626         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19627         line.
19629 2011-07-26  Andreas Schwab  <schwab@redhat.com>
19631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19632         encoding to ACE if AI_IDN.
19634 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
19636         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19637         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19639 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19641         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19642         Fix overflow bug in strncat.
19643         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19645         * string/test-strncat.c: Update.
19646         Add new tests for checking overflow bugs.
19648 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19651         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19652         * sysdeps/i386/i686/multiarch/strcat.S: New file.
19653         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19654         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19655         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19656         * sysdeps/i386/i686/multiarch/strncat.S: New file.
19657         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19658         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19661         (USE_AS_STRCAT): Define.
19662         Add strcat and strncat support.
19663         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19665 2011-07-25  Andreas Schwab  <schwab@redhat.com>
19667         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19668         __n bigger than INT_MAX+1.
19669         (__strncmp_g): Likewise.
19671 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
19673         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19674         * libio/stido.h: Likewise.
19676         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19677         (AF_NFC): Define.
19678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19679         (AF_NFC): Define.
19681         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19682         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19683         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19684         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19685         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19687         [BZ #13021]
19688         * scripts/test-installation.pl: Don't expect libnss_test1 to be
19689         installed.
19691         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19692         typo.
19693         (_dl_x86_64_save_sse): Likewise.
19695 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
19697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19698         OSXSAVE.
19699         (_dl_x86_64_save_sse): Likewise.
19701         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19703         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19705 2011-07-21  Andreas Schwab  <schwab@redhat.com>
19707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19708         change.
19709         (_dl_x86_64_save_sse): Use correct AVX check.
19711 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19713         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19714         bug in strncpy/strncat.
19715         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19717 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
19719         * string/tester.c (test_strcat): Add tests for different alignments
19720         of source and destination.
19721         (test_strncat): Likewise.
19723 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19725         [BZ #12852]
19726         * posix/glob.c (glob): Check passed in values before using them in
19727         expressions to avoid some overflows.
19728         (glob_in_dir): Likewise.
19730         [BZ #13007]
19731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19732         check for AVX enablement so that we don't crash with old kernels and
19733         new hardware.
19734         * elf/tst-audit4.c: Add same checks here.
19735         * elf/tst-audit6.c: Likewise.
19737         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19739 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
19741         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19743 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
19745         * po/cs.po: Update from translation team.
19746         * po/bg.po: Likewise.
19748 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
19750         * misc/sys/cdefs.h: Add support for const attribute.
19751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19752         to gnu_dev_{major,minor,makedev} functions.
19754 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
19756         * intl/dcigettext.c (get_output_charset): Add missing bracket.
19758 2011-07-20  Andreas Schwab  <schwab@redhat.com>
19760         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19761         strlen results.
19763 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19766         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19767         register in order to avoid conflicts with the soft frame pointer
19768         being held in r11 when necessary.
19769         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19770         (INTERNAL_VSYSCALL_NCS): Likewise.
19772 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
19774         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19775         * elf/dl-fini.c (_dl_fini): Adjust caller.
19776         * elf/dl-close.c (_dl_close_worker): Likewise.
19777         * sysdeps/generic/ldsodefs.h: Adjust declaration.
19779 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19781         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19782         "aux_cache->nlibs < 0".
19784         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19785         in the reload-count case.
19787 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19790         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19791         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19792         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19793         * sysdeps/x86_64/multiarch/strcat.S: New file.
19794         * sysdeps/x86_64/multiarch/strncat.S: New file.
19795         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19796         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19797         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19798         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19799         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19800         (USE_AS_STRCAT): Define.
19801         Add strcat and strncat support.
19802         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19803         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19804         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19805         * string/strncat.c: Update.
19806         (USE_AS_STRNCAT): Define.
19807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19808         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19809         and i7.
19810         * sysdeps/x86_64/multiarch/init-arch.h
19811         (bit_Prefer_PMINUB_for_stringop): New.
19812         (index_Prefer_PMINUB_for_stringop): Likewise.
19813         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19814         bit_Prefer_PMINUB_for_stringop.
19816 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19818         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19819         buffer64.
19820         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19821         of casting of buffer.
19822         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19823         buffer32 and buffer64.
19824         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19825         writes instead of casting of buffer.
19826         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19827         buffer32.
19828         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19829         casting of buffer.
19831 2011-07-19  Andreas Schwab  <schwab@redhat.com>
19833         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19835 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19837         * nscd/nscd.c (termination_handler): Don't do anything for a database
19838         if it has not yet been initialized.
19840 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19842         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19844 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19846         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19848 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19850         * po/nl.po: Update from translation team.
19851         * po/sv.po: Likewise.
19853 2011-07-16  Roland McGrath  <roland@hack.frob.com>
19855         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19856         now disallowed by GCC.
19858         * configure.in (use-default-link): Default to yes if a test -shared
19859         link meets our qualifications.
19860         * configure: Regenerated.
19862         * config.make.in (output-format): New variable.
19863         * configure.in: Check for ld --print-output-format support.
19864         * configure: Regenerated.
19865         * Makerules ($(common-objpfx)format.lds)
19866         [$(output-format) != unknown]: Just use $(output-format),
19867         instead of the linker-script munging.
19869 2011-07-14  Roland McGrath  <roland@hack.frob.com>
19871         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19872         of $(common-objpfx)shlib.lds.
19873         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19875         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19876         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19878         * configure.in (-z relro check): Adjust test code to add a large
19879         writable data section after it.
19880         * configure: Regenerated.
19882 2011-07-11  Roland McGrath  <roland@hack.frob.com>
19884         * configure.in (-z relro check): Fix test code to make the variable
19885         truly const.
19886         * configure: Regenerated.
19888 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
19890         * nscd/nscd.h (struct traced_file): Define.
19891         (struct database_dyn): Remove inotify_descr, reset_res, and filename
19892         elements.  Add traced_files.
19893         (inotify_fd): Declare.
19894         (register_traced_file): Declare.
19895         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19896         (inotify_fd): Export.
19897         (resolv_conf_descr): Remove.
19898         (nscd_init): Move inotify descriptor creation to main.
19899         Don't register files for notification here.
19900         (register_traced_file): New function.
19901         (invalidate_cache): Don't use reset_res to determine whether to call
19902         res_init, go through the list of registered files.
19903         (main_loop_poll): The inotify descriptors are now stored in the
19904         structures for the traced files.
19905         (main_loop_epoll): Likewise
19906         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
19907         to __nss_disable_nscd.
19908         * nscd/cache.c (prune_cache): There is no single inotify descriptor
19909         for a database anymore.  Check the records for all the registered
19910         files instead.
19911         * nss/Makefile (libnss_files-routines): Add files-init.
19912         (libnss_db-routines): Add db-init.
19913         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19914         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19915         * nss/nss_db/db-init.c: New file.
19916         * nss/nss_files/files-init.c: New file.
19917         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
19918         __nss_lookup_function.
19919         (__nss_lookup_function): Call nss_load_library.
19920         (nss_load_all_libraries): New function.
19921         (__nss_disable_nscd): Take parameter with callback function for files
19922         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
19923         used for the cached services.
19924         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19925         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19926         options for features to all the files in nscd.
19928         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19930 2011-07-10  Roland McGrath  <roland@hack.frob.com>
19932         * csu/elf-init.c (__libc_csu_init): Comment typo.
19934 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
19936         * po/pl.po: Update from translation team.
19937         * po/ja.po: Likewise.
19938         * po/ru.po: Likewise.
19939         * po/ko.po: Likewise.
19940         * po/fr.po: Likewise.
19942 2011-07-09  Roland McGrath  <roland@hack.frob.com>
19944         * configure.in (.ctors/.dtors header and trailer check):
19945         Use an empirical test on a built program.
19946         * configure: Regenerated.
19948         * configure.in (-z relro check): Use an empirical test on a built DSO.
19949         Detect, but do not require, on ia64.
19950         * configure: Regenerated.
19952         * configure.in (READELF): Find it with AC_CHECK_TOOL.
19953         Update tests that use readelf to use $READELF instead.
19954         * configure: Regenerated.
19956 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
19958         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19959         if the result is not used.
19961 2011-07-05  Andreas Jaeger  <aj@suse.de>
19963         [BZ#9696]
19964         * stdlib/tst-strtod.c: Add testcase.
19966 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
19968         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19969         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19970         The latter has a higher limit.  Take additional parameter to pass to
19971         the new function.
19972         (__pathconf): Pass file to __statfs_link_max.
19973         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19974         __statfs_link_max.
19975         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19976         __statfs_link_max.
19978         [BZ #12868]
19979         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19980         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19981         Handle Lustre.
19982         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19983         (__statfs_filesize_max): Likewise.
19984         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19986 2011-07-05  Andreas Jaeger  <aj@suse.de>
19988         * resolv/res_comp.c (dn_skipname): Remove unused variable.
19990 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
19992         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19993         `status' variable.
19994         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19995         Likewise.
19997 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
19999         * Makefile (strop-tests): Add strncat.
20000         * string/test-strncat.c: New file.
20002 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20004         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20006 2011-06-21  Andreas Jaeger  <aj@suse.de>
20008         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20009         Copy rule from iconvdata/Makefile.
20011 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20013         [BZ #12922]
20014         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20015         but no long options are defined, just return 'W'.
20017 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20019         [BZ #9696]
20020         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20022 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20024         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20025         netgroups to read.
20026         (innetgr): Likewise.
20028 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20030         * config.make.in (install_root): Default to $(DESTDIR).
20032 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20034         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20036 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20038         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20040         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20041         containing directory rather than embedding absolute directory names.
20043         * scripts/check-local-headers.sh: Rewritten using awk.
20044         Match by word, not by line.  Print error messages for matches.
20045         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20047         * Makerules [shlib-lds-flags empty]:
20048         ($(common-objpfx)libc_pic.opts): New target.
20049         ($(common-objpfx)libc_pic.os.clean): New target.
20050         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20052         * config.make.in (OBJCOPY): New variable.
20053         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20054         * configure: Regenerated.
20056         * config.make.in (use-default-link): New variable.
20057         * configure.in (use_default_link): Grok --with-default-link to set it.
20058         * configure: Regenerated.
20059         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20060         (shlib-lds, shlib-lds-flags): Define to empty.
20062         * Makerules (shlib-lds): New variable.
20063         (shlib-lds-flags): New variable.
20064         (build-shlib, build-moduile, build-module-asneeded): Use it.
20065         ($(common-objpfx)libc.so): Use $(shlib-lds).
20066         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20067         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20069         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20070         DT_FLAGS/DT_FLAGS_1 with zero flags.
20072         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20073         linker script munging.
20075 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20077         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20078         as 128-bit value.
20079         * crypt/sha512.c (sha512_process_block): Perform total addition using
20080         128-bit if possible.
20081         (__sha512_finish_ctx): Likewise.
20082         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20083         as 64-bit value.
20084         * crypt/sha256.c (SWAP64): Define.
20085         (sha256_process_block): Perform total addition using 64-bit if
20086         possible.
20087         (__sha256_finish_ctx): Likewise.
20089 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20091         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20092         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20093         * nscd/hstcache.c (cache_addhst): Likewise.
20094         * nscd/grpcache.c (cache_addgr): Likewise.
20095         * nscd/aicache.c (addhstaiX): Likewise
20096         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20098 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20100         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20101         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20102         * nscd/hstcache.c (cache_addhst): Likewise.
20103         * nscd/grpcache.c (cache_addgr): Likewise.
20104         * nscd/aicache.c (addhstaiX): Likewise
20106 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20108         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20109         domain only when needed.
20111 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20114         is always restored.
20116 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20118         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20119         are re-adding the entry.
20120         * nscd/servicescache.c (cache_addserv): Likewise.
20122 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20124         * sysdeps/generic/dl-irel.h: fix protection against multiple
20125         inclusions.
20126         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20128 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20130         [BZ #12935]
20131         * malloc/memusage.sh: Fix quoting in message.
20132         * debug/xtrace.sh: Likewise.
20134         * configure.in: Remove support for --experimental-malloc option, make
20135         it the default.
20136         * config.make.in: Likewise.
20137         * malloc/Makefile: Likewise.
20139 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20141         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20142         two-byte characters.
20144 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20146         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20147         AC_CACHE_CHECK invocation.
20148         * configure: Regenerated.
20150         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20152 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20154         [BZ #12350]
20155         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20156         bit from old_res_options.
20158         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20160         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20161         value type for setfct.
20163 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20166         __gettimeofday instead of gettimeofday.
20168 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20170         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20172 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20174         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20176         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20177         info.
20179 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20182         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20183         strcpy-sse2-unaligned strncpy-sse2-unaligned
20184         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20185         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20186         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20187         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20188         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20189         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20190         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20191         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20192         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20193         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20194         (STRCPY): Support SSE2 and SSSE3 versions.
20196 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20198         [BZ #12874]
20199         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20200         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20201         kernels which artificially limit size of requests.
20203 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20205         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20206         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20207         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20208         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20209         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20210         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20211         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20212         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20213         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20214         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20215         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20216         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20217         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20218         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20219         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20221         Enable unaligned load optimization for Intel Core i3, i5 and i7
20222         processors.
20223         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20224         Define.
20225         (index_Fast_Unaligned_Load): Define.
20226         (HAS_FAST_UNALIGNED_LOAD): Define.
20228 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20230         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20232 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20234         [BZ #12907]
20235         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20236         until it is clear that the information is realy needed.
20237         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20239 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20243 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20245         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20246         /sys/devices/system/cpu/online if it is usable.
20248         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20249         reading the information from the /proc filesystem to once a second.
20251 2011-06-21  Andreas Jaeger  <aj@suse.de>
20253         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20254         NULL after inclusion of kernel headers.
20256 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20258         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20259         calls to internal_setent.
20261         [BZ #12885]
20262         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20263         addresses using gethostbyname4_r ignore IPv4 addresses.
20265         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20266         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20268         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20270 2011-06-20  David S. Miller  <davem@davemloft.net>
20272         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20273         inclusions.
20274         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20276         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20277         (elf_irel): Use it.
20278         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20279         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20280         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20281         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20282         * sysdeps/x86_64/dl-irel.h: Likewise.
20284         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20285         * elf/dl-sym.c: Likewise.
20287 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20289         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20290         need to dereference resplen2.
20292 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20294         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20296 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20298         * Makeconfig: Define vardbdir and inst_vardbdir.
20299         * nss/Makefile: Add rules to install db-Makefile.
20301         * nss/nss_db/db-XXX.c: Cleanup.
20303         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20304         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20305         GLIBC_PRIVATE.
20306         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20307         * nss/makedb.c: Implement -g option to specify that value strings
20308         are generated and should not be added to table iterated over for
20309         get*ent calls.
20310         * nss/nss_db/db-initgroups.c: New file.
20312         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20313         interface.
20315         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20316         (internal_getgrouplist): Adjust to name change.
20317         Update use_initgroups_entry if this is not the first call.
20318         * nss/databases.def: Add initgroups entry.
20320         * nss/makedb.c (compute_tables): Check result of multiple hash table
20321         sizes to minimize maximum chain length.
20323 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20325         * Versions.def: Add entry for libnss_db.
20326         * shlib-versions: Likewise.
20327         * nss/Makefile: Add rules to build libnss_db.
20328         * nss/Versions: Add libnss_db information.  Organize libnss_files
20329         entries better.
20330         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20331         makedb progra.  Some minor improvements to generate smaller files.
20332         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20333         here from...
20334         * nss/makedb.c: ...here.
20335         Improve database format to be smaller and require less memory at
20336         runtime.
20337         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20338         db anymore.
20339         * nss/nss_db/db-netgrp.c: Likewise.
20340         * nss/nss_db/db-open.c: Likewise.
20341         * nss/nss_files/flies-XXX.x: Adjust comments.
20342         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20343         * nss/nss_files/files-grp.c: Likewise.
20344         * nss/nss_files/files-hosts.c: Likewise.
20345         * nss/nss_files/files-network.c: Likewise.
20346         * nss/nss_files/files-proto.c: Likewise.
20347         * nss/nss_files/files-pwd.c: Likewise.
20348         * nss/nss_files/files-rpc.c: Likewise.
20349         * nss/nss_files/files-service.c: Likewise.
20350         * nss/nss_files/files-sgrp.c: Likewise.
20351         * nss/nss_files/files-spwd.c: Likewise.
20352         * nss/nss_db/db-alias.c: Removed.
20353         * nss/nss_db/dummy-db.h: Removed.
20355 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20357         * nss/makedb.c: Rewritten to not use database library.
20358         * nss/Makefile: Update to build new makedb program.
20360 2011-06-14  Andreas Jaeger  <aj@suse.de>
20362         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20363         memset declaration.
20365 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20368         tmpbuf.
20370 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20372         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20373         * elf/Makefile ($(objpfx)ld.so): Likewise.
20375         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20376         Don't list ld.so twice in dependencies.
20378         * posix/bug-regex31.c: Include <stdlib.h>.
20380         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20382         * nis/nss_compat/compat-spwd.c
20383         (getspent_next_nss_netgr): Remove unused variable.
20384         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20386         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20387         nonmembers" output to use the right array.
20389         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20391         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20393         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20394         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20395         * catgets/gencat.c (read_input_file): Likewise.
20396         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20398         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20399         variable definition inside #if's controlling its use.
20401         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20403         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20405         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20407         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20408         unreachable code.
20410         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20412         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20413         * configure: Regenerated.
20415         * Makerules: Revert last change.
20416         * elf/Makefile: Likewise.
20418 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20420         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20421         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20422         (reloc-link): Likewise.
20424 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20426         * elf/Makefile: Add rules to build pldd.
20427         * elf/pldd.c: New file.
20428         * elf/pldd-xx.c: New file.
20430 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20432         * version.h: Update for 2.15 development version.
20434 2011-06-07  David S. Miller  <davem@davemloft.net>
20436         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20437         ifuncs.
20438         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20439         elf_machine_lazy_rel): Likewise.
20440         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20441         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20442         elf_machine_lazy_rel): Likewise.
20443         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20444         dl_hwcap via passed in argument.
20445         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20446         Likewise.
20448 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20450         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20452 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20454         [BZ #12849]
20455         * manual/fdl-1.1.texi: New file, verbatim from:
20456         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20457         * manual/lgpl-2.1.texi: New file, verbatim from:
20458         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20459         * manual/Makefile (licenses): New variable, list those new file names.
20460         (texis): Use it.
20461         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20463         * manual/fdl.texi: File removed.
20464         * manual/lesser.texi: File removed.
20465         * manual/libc.texinfo (Copying, Documentation License):
20466         Use new @include file names, put @appendix directive before @include.
20468 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20470         [BZ #12841]
20471         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20472         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20473         (mq_open): Add __NTH.
20475 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20478         Assume Intel Core i3/i5/i7 processor if AVX is available.
20480 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20482         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20483         typo.
20485 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20487         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20488         memory.  Use alloca_account.  Fix memory leak when retrying.
20490 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20492         * version.h (RELEASE): Bump for 2.14 release.
20493         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20495         * config.make.in (RANLIB): Remove entry.
20497 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20499         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20500         (libc.pot): Work around missing support for .ksh extension in xgettext.
20502         [BZ #12684]
20503         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20504         if both request failed.
20505         (send_dg): In case of server errors clear resplen or *resplen2.
20507         [BZ #12454]
20508         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20509         when there are multiple maps.
20510         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20511         (_dl_fini): Remove test here.
20513         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20515 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20517         [BZ #12350]
20518         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20519         bit from old_res_options.
20520         (gaih_inet): Likewise.
20522         [BZ #11099]
20523         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20524         as signed.
20526         * resolv/res_init.c (res_setoptions): Make the code more compact.
20528         [BZ #11558]
20529         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20530         set RES_USEVC.
20532         [BZ #11634]
20533         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20535         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20537         [BZ #11781]
20538         * malloc/malloc.h: Declare malloc hook variables as volatile.
20540         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20541         in last patch.
20543         [BZ #11799]
20544         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20545         raise in the comment.
20546         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20547         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20548         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20550 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20552         [BZ #12811]
20553         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20554         grow the buffers more if it already has to be sufficient.
20555         (build_wcs_upper_buffer): Likewise.
20556         * posix/regexec.c (check_matching): Likewise.
20557         (clean_state_log_if_needed): Likewise.
20558         (extend_buffers): Don't enlarge buffers beyond size of the input
20559         buffer.
20560         Patches mostly by Emil Wojak <emil@wojak.eu>.
20561         * posix/bug-regex32.c: New file.
20562         * posix/Makefile (tests): Add bug-regex32.
20564         * locale/findlocale.c (_nl_find_locale): Return right away if
20565         _nl_explode_name failed.
20566         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20568         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20570         * debug/xtrace.sh: Unify messages.
20571         * malloc/memusage.sh: Likewise.
20573         [BZ #12813]
20574         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20575         time symbol from vDSO.  Substitute with vsyscall if not available.
20576         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20577         __vdso_time.
20579         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20580         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20581         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20582         Add sendmmsg and internal_sendmmsg.
20583         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20584         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20585         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20587         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20588         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20589         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20591 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20593         [BZ #12813]
20594         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20595         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20596         available.
20597         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20598         __vdso_getcpu.
20600         [BZ #12814]
20601         * iconvdata/Makefile (tests): Add bug-iconv9.
20602         * iconvdata/bug-iconv9.c: New file.
20604 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20606         [BZ #12814]
20607         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20609 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20611         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20612         (struct user_regs_struct): Change intcs field back to cs.
20614 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20616         * po/ja.po: Update from translation team.
20618 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20620         [BZ #12795]
20621         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20622         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20624 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20626         * stdlib/longlong.h: Update from GCC.
20628 2011-05-23  Andreas Schwab  <schwab@redhat.com>
20630         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20631         parameter name.
20632         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20633         Add parameter name.
20634         (__sysconf): Pass it down.
20636 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
20638         [BZ #12671]
20639         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20640         some situations.
20641         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20642         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20643         add in in __libc_use_alloca calls.  Adjust callers.
20644         (glob): Use malloc in some situations.
20646         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20647         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20648         pltexit.
20650 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
20652         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20653         and CLOCK_BOOTTIME_ALARM.
20655         [BZ #12782]
20656         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20657         is returned.
20659         * string/_strerror.c (__strerror_r): Print negative errors as signed
20660         numbers.
20662         [BZ #12777]
20663         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20664         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20665         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20667         * configure.in: Fix typo in redirection and correct removal of test
20668         files in two cases.
20670         [BZ #12788]
20671         * locale/setlocale.c (new_composite_name): Fix test to check for
20672         identical name of all categories.
20674         [BZ #12792]
20675         * libio/filedoalloc.c (local_isatty): New function.
20676         (_IO_file_doallocate): Use local_isatty.
20677         * stdio-common/perror.c (perror): In case a new stream is used
20678         forward the stream error.
20679         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20680         error flag.
20682 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
20684         [BZ #11869]
20685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20686         alloca.
20687         * include/alloca.h (extend_alloca_account): Define.
20689         [BZ #11857]
20690         * posix/regex.h: Fix comments with documentation of user-accessible
20691         fields after compilation and describe correct free'ing of pattern
20692         after re_compile_pattern.
20693         Patch by Reuben Thomas <rrt@sc3d.org>.
20695 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
20697         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20698         and -mno-altivec to prevent the compiler from using Altivec and/or
20699         VSX instructions when the corresponding registers are not available.
20701 2011-05-19  Andreas Schwab  <schwab@redhat.com>
20703         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20705 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
20707         * libio/freopen.c (freopen): Use __dup2, not dup2.
20708         * libio/freopen64.c (freopen64): Likewise.
20710 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20712         [BZ #12775]
20713         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20714         * math/Makefile (tests): Add test-powl.
20715         (CFLAGS-test-powl.c): Define.
20716         * math/test-powl.c: New file.
20718 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20720         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20722 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
20724         [BZ #11837]
20725         * iconvdata/gb18030.c: Update to GB18020-2005.
20727 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
20729         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20730         RE_SYNTAX_POSIX_AWK): Update to match recent development.
20731         Patch by Aharon Robbins <arnold@skeeve.com>.
20733         [BZ #11892]
20734         * stdlib/putenv.c (putenv): Don't always create copy of the variable
20735         on the stack.
20737         [BZ #11895]
20738         * misc/pselect.c (__pselect): Handle timeout value errors hidden
20739         through underflows.
20741         [BZ #12766]
20742         * misc/error.c (error_at_line): Ensure file_name and old_file_name
20743         point to strings before performing equality test for error_one_per_line
20744         mode.
20746         [BZ #11697]
20747         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20749         [BZ #11820]
20750         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20751         (struct user_fpregs_struct): Avoid __uint*_t types.
20753         [BZ #6420]
20754         * malloc/mtrace.c (tr_where): Add additional parameter to point to
20755         symbol info.  Use it instead of calling _dl_addr locally.
20756         (lock_and_info): New function.
20757         (tr_freehook): Call lock_and_info and pass symbol info as additional
20758         parameter to tr_where.
20759         (tr_mallochook): Likewise.
20760         (tr_reallochook): Likewise.
20761         (tr_memalignhook): Likewise.
20763         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
20764         used and couldn't be at all thread-safe.
20766 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
20768         * libio/freopen.c (freopen): Don't close old file descriptor
20769         before the new one is opened.  Instead dup the new file descriptor
20770         to the old one after the new stream is created.
20771         * libio/freopen64.c (freopen64): Likewise.
20772         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20773         * libio/fileops.c (_IO_new_file_close_it): Handle new
20774         _IO_FLAGS2_NOCLOSE flag.
20775         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20776         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20777         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20778         _IO_FLAGS2_NOCLOSE flag.
20779         * include/unistd.h: Add hidden_proto for dup3.
20780         Define __have_dup3.
20781         * io/dup3.c: Define hidden symbol.
20782         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20784         [BZ #7101]
20785         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20786         when an incomplete long option is used.
20787         * posix/tst-getopt_long1.c: New file.
20788         * posix/Makefile (tests): Add tst-getopt_long1.
20790         [BZ #10138]
20791         * scripts/config.guess: Update from autoconf-2.68.
20792         * scripts/config.sub: Likewise.
20794         [BZ #10157]
20795         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20796         tests into ...
20797         (has_cpuclock): ...this.  New function.
20798         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20799         macro here based on has_cpuclock code.
20801         [BZ #10149]
20802         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20803         First byte (not low byte) is now always NUL.
20804         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20806         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20807         Use non-cancelable interfaces.
20809         [BZ #9809]
20810         * locale/iso-639.def: Add entry for Sorani.
20812         [BZ #11901]
20813         * include/stdlib.h: Move include protection to the right place.
20814         Define abort_msg_s.  Declare __abort_msg with it.
20815         * stdlib/abort.c (__abort_msg): Adjust type.
20816         * assert/assert.c (__assert_fail_base): New function.  Majority
20817         of code from __assert_fail.  Allocate memory for __abort_msg with
20818         mmap.
20819         (__assert_fail): Now call __assert_fail_base.
20820         * assert/assert-perr.c: Remove bulk of implementation.  Use
20821         __assert_fail_base.
20822         * include/assert.hL Declare __assert_fail_base.
20823         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20824         mmap.
20825         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20827 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
20829         [BZ #11952]
20830         [BZ #12453]
20831         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20832         until all modules are registered in the DTV.
20833         * elf/Makefile: Add rules to build and run tst-tls19.
20834         * elf/tst-tls19.c: New file.
20835         * elf/tst-tls19mod1.c: New file.
20836         * elf/tst-tls19mod2.c: New file.
20837         * elf/tst-tls19mod3.c: New file.
20838         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20840         [BZ #12083]
20841         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20842         correctly.
20844         [BZ #12601]
20845         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20846         two-byte sequence errors.
20847         * iconvdata/Makefile (tests): Add bug-iconv8.
20848         * iconvdata/bug-iconv8.c: New file.
20850         [BZ #12626]
20851         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20852         buf2 definition.
20854         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20856         [BZ #12432]
20857         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20858         (dummy_getcfa): New function.
20859         (init): Get _Unwind_GetCFA address, use dummy if not found.
20860         (backtrace_helper): In recursion check, also check whether CFA changes.
20861         (__backtrace): Completely initialize arg.
20863         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20864         storing incomplete byte sequence in state object.  Avoid testing for
20865         guaranteed too small input if we know there is enough data available.
20867 2011-05-11  Andreas Schwab  <schwab@redhat.com>
20869         * Makeconfig (+link-pie): Indent.
20870         * Rules (binaries-pie): Define if $(have-fpie) and
20871         $(build-shared).
20872         (binaries-shared): Also filter out $(binaries-pie).
20873         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20874         * nscd/Makefile (others-pie): Add nscd.
20875         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20876         ($(objpfx)nscd): Remove command override.
20877         * login/Makefile (others-pie): Add pt_chown.
20878         ($(objpfx)pt_chown): Remove command override.
20879         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20880         remove command overrides.
20882 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
20884         * libio/tst_putwc.c: Fix error messages.
20886         [BZ #12724]
20887         * libio/fileops.c (_IO_new_file_close_it): Always flush when
20888         currently writing and seek to current position when not.
20889         * libio/Makefile (tests): Add bug-fclose1.
20890         * libio/bug-fclose1.c: New file.
20892 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
20894         [BZ #12511]
20895         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20896         don't set DF_1_NODELETE here.
20897         (do_lookup_x): When entering new entry test for copy relocation
20898         and if necessary set DF_1_NODELETE flag.
20899         * elf/tst-unique4.cc: New file.
20900         * elf/tst-unique4.h: New file.
20901         * elf/tst-unique4lib.cc: New file.
20902         * elf/Makefile: Add rules to build and run tst-unique4.
20903         Patch by Piotr Bury <pbury@goahead.com>.
20905 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
20907         [BZ #12052]
20908         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20910         [BZ #12625]
20911         * misc/mntent_r.c (addmntent): Flush the stream after the output
20913         [BZ #12393]
20914         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20915         (is_trusted_path_normalize): Skip initial colon.  Append slash
20916         to empty buffer.  Duplicate is_trusted_path code but allow
20917         constructed patch to be prefix.
20918         (is_dst): Allow $ORIGIN followed by /.
20919         (_dl_dst_substitute): Correct clearing of check_for_trusted.
20920         Correct testing of result of is_trusted_path_normalize
20921         (decompose_rpath): Fix warning.
20923 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
20925         [BZ #11257]
20926         * grp/initgroups.c (internal_getgrouplist): When we found the service
20927         list through the initgroups entry in nsswitch.conf do not always
20928         continue on a successful lookup.  Don't always use the
20929         __nss_group_database value if it is set.
20930         * nss/nsswitch.conf (initgroups): Change action for successful db
20931         lookup to continue for compatibility.
20933 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
20935         [BZ #11532]
20936         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20937         and CP774 modules.
20938         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20939         and CP774 modules.
20940         * iconvdata/tst-tables.sh: Likewise.
20941         * iconvdata/cp770.c: New file.
20942         * iconvdata/cp771.c: New file.
20943         * iconvdata/cp772.c: New file.
20944         * iconvdata/cp773.c: New file.
20945         * iconvdata/cp774.c: New file.
20946         * iconvdata/testdata/CP770: New file.
20947         * iconvdata/testdata/CP770..UTF8: New file.
20948         * iconvdata/testdata/CP771: New file.
20949         * iconvdata/testdata/CP771..UTF8: New file.
20950         * iconvdata/testdata/CP772: New file.
20951         * iconvdata/testdata/CP772..UTF8: New file.
20952         * iconvdata/testdata/CP773: New file.
20953         * iconvdata/testdata/CP773..UTF8: New file.
20954         * iconvdata/testdata/CP774: New file.
20955         * iconvdata/testdata/CP774..UTF8: New file.
20957         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20958         END CHARMAP line.
20959         * iconvdata/gen-8bit-gap.sh: Likewise.
20960         * iconvdata/gen-8bit.sh: Likewise.
20962         * locale/iso-639.def: Add ary entry.
20964         [BZ #11258]
20965         * locale/C-translit.h.in: Add U20A1 transliteration.
20967         [BZ #12178]
20968         * locale/iso-639.def: Add wae entry.
20969         Patch by Kevin Bortis <bortis@translate-wae.ch>.
20971         [BZ #12545]
20972         * locale/programs/localedef.c (construct_output_path): Use ssize_t
20973         for n.
20975         [BZ #12711]
20976         * locale/C-translit.h.in: Add entry for U20B9.
20977         Patch by pravin.d.s@gmail.com.
20979 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
20981         [BZ #12713]
20982         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20983         ENAMETOOLONG use generic getcwd.
20984         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
20985         in rtld.  Use *stat64.
20986         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20987         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20988         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20989         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20990         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20991         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20992         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20993         __fstatat64 macros.
20994         * include/dirent.h: Add libc_hidden_proto for rewinddir.
20995         * dirent/rewinddir.c: Add libc_hidden_def.
20996         * sysdeps/mach/hurd/rewinddir.c: Likewise.
20997         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
20999         * include/dirent.h (__alloc_dir): Add flags parameter.
21000         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21001         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21002         __alloc_dir.
21003         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21004         from fdopendir if O_CLOEXEC is already set.
21006 2011-03-15  Alan Modra  <amodra@gmail.com>
21008         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21009         l_tls_firstbyte_offset non-zero.  Save padding offset in
21010         l_tls_firstbyte_offset for later use.
21011         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21012         freeing static tls block.
21014 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21016         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21017         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21018         being defined by the kernel headers.
21020 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21022         [BZ #12734]
21023         * resolv/resolv.h: Define RES_NOTLDQUERY.
21024         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21025         no-tld-query and set RES_NOTLDQUERY.
21026         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21027         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21028         modern BIND to search name as TLD unless forbidden.
21030 2011-05-07  Petr Baudis  <pasky@suse.cz>
21031             Ulrich Drepper  <drepper@gmail.com>
21033         [BZ #12393]
21034         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21035         (is_trusted_path): ...to here.
21036         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21037         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21038         using is_trusted_path_normalize() in setuid scripts.
21040 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21042         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21043         __BEGIN/__END_DECLS.
21045 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21047         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21048         NSS_STATUS_NOTFOUND if no record was found.
21050 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21052         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21053         (headers-not-in-tirpc): Remove rpc/netdb.h
21054         * resolv/netdb.h: Revert last change.
21056 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21058         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21059         circular dependency between libgcc.a and libc.a.
21061 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21063         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21064         * nis/Makefile: Don't install rpcsvc/*.
21065         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21066         instead of <rpc/types.h>.
21067         (MAXHOSTNAMELEN): Define.
21069 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21071         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21073 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21075         [BZ #12714]
21076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21077         gethostbyname4_r when IPv6 results are possible.
21079 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21081         [BZ #12723]
21082         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21083         _PC_PIPE_BUF handling.
21085 2011-04-30  Bruno Haible  <bruno@clisp.org>
21087         [BZ #12717]
21088         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21089         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21090         to 'int'.
21091         * inet/getnameinfo.c (getnameinfo): Likewise.
21093 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21095         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21096         to groups setting in database lookup.
21097         * nss/nsswitch.conf: Add initgroups entry.
21099 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21101         [BZ #12685]
21102         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21103         mode string.
21104         Patch by Eric Blake <eblake@redhat.com>.
21106 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21108         * sunrpc/Makefile (need-export-routines): Add svc_run.
21109         (routines): Remove svc_run.
21110         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21111         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21112         * sunrpc/svc_run.c (svc_run): Likewise.
21113         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21115 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21117         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21118         problem in reallocation in last patch.
21120 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21122         * sunrpc/Makefile: Move inclusion of Rules.
21124 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21126         * nss/nss_files/files-initgroups.c: New file.
21127         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21128         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21129         _nss_files_initgroups_dyn.
21131 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21133         * elf/elf.h (R_ARM_IRELATIVE): Define.
21135 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21137         * po/ru.po: Update from translation team.
21139 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21141         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21142         dependencies.
21144 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21146         [BZ #12653]
21147         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21148         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21149         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21150         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21151         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21153 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21155         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21156         differing bytes.
21157         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21158         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21159         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21161 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21163         [BZ #12420]
21164         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21165         storing it.
21166         * stdlib/bug-getcontext.c: New file.
21167         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21169 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21171         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21172         instructions into .machine "z9-109".
21173         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21174         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21176 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21178         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21179         between environment variables and auxiliary vector.
21181 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21183         * Makefile: Add rules to build linkobj/libc.so.
21184         * include/libc-symbols.h: Define libc_hidden_nolink.
21185         * include/rpc/auth.h: Mark functions which are to be hidden.
21186         * include/rpc/auth_des.h: Likewise.
21187         * include/rpc/auth_unix.h: Likewise.
21188         * include/rpc/clnt.h: Likewise.
21189         * include/rpc/des_crypt.h: Likewise.
21190         * include/rpc/key_prot.h: Likewise.
21191         * include/rpc/pmap_clnt.h: Likewise.
21192         * include/rpc/pmap_prot.h: Likewise.
21193         * include/rpc/pmap_rmt.h: Likewise.
21194         * include/rpc/rpc_msg.h: Likewise.
21195         * include/rpc/svc.h: Likewise.
21196         * include/rpc/svc_auth.h: Likewise.
21197         * include/rpc/xdr.h: Likewise.
21198         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21199         * nss/Makefile: Likewise.
21200         * sunrpc/Makefile: Don't install headers.  Build library with normal
21201         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21202         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21203         for the compat linking library.  Remove use of INTDEF/INTUSE.
21204         * sunrpc/auth_none.c: Likewise.
21205         * sunrpc/auth_unix.c: Likewise.
21206         * sunrpc/authdes_prot.c: Likewise.
21207         * sunrpc/authuxprot.c: Likewise.
21208         * sunrpc/clnt_gen.c: Likewise.
21209         * sunrpc/clnt_perr.c: Likewise.
21210         * sunrpc/clnt_raw.c: Likewise.
21211         * sunrpc/clnt_simp.c: Likewise.
21212         * sunrpc/clnt_tcp.c: Likewise.
21213         * sunrpc/clnt_udp.c: Likewise.
21214         * sunrpc/clnt_unix.c: Likewise.
21215         * sunrpc/des_crypt.c: Likewise.
21216         * sunrpc/des_soft.c: Likewise.
21217         * sunrpc/get_myaddr.c: Likewise.
21218         * sunrpc/key_call.c: Likewise.
21219         * sunrpc/key_prot.c: Likewise.
21220         * sunrpc/netname.c: Likewise.
21221         * sunrpc/pm_getmaps.c: Likewise.
21222         * sunrpc/pm_getport.c: Likewise.
21223         * sunrpc/pmap_clnt.c: Likewise.
21224         * sunrpc/pmap_prot.c: Likewise.
21225         * sunrpc/pmap_prot2.c: Likewise.
21226         * sunrpc/pmap_rmt.c: Likewise.
21227         * sunrpc/publickey.c: Likewise.
21228         * sunrpc/rpc_cmsg.c: Likewise.
21229         * sunrpc/rpc_common.c: Likewise.
21230         * sunrpc/rpc_dtable.c: Likewise.
21231         * sunrpc/rpc_prot.c: Likewise.
21232         * sunrpc/rpc_thread.c: Likewise.
21233         * sunrpc/rtime.c: Likewise.
21234         * sunrpc/svc.c: Likewise.
21235         * sunrpc/svc_auth.c: Likewise.
21236         * sunrpc/svc_authux.c: Likewise.
21237         * sunrpc/svc_raw.c: Likewise.
21238         * sunrpc/svc_run.c: Likewise.
21239         * sunrpc/svc_simple.c: Likewise.
21240         * sunrpc/svc_tcp.c: Likewise.
21241         * sunrpc/svc_udp.c: Likewise.
21242         * sunrpc/svc_unix.c: Likewise.
21243         * sunrpc/svcauth_des.c: Likewise.
21244         * sunrpc/xcrypt.c: Likewise.
21245         * sunrpc/xdr.c: Likewise.
21246         * sunrpc/xdr_array.c: Likewise.
21247         * sunrpc/xdr_float.c: Likewise.
21248         * sunrpc/xdr_intXX_t.c: Likewise.
21249         * sunrpc/xdr_mem.c: Likewise.
21250         * sunrpc/xdr_rec.c: Likewise.
21251         * sunrpc/xdr_ref.c: Likewise.
21252         * sunrpc/xdr_sizeof.c: Likewise.
21253         * sunrpc/xdr_stdio.c: Likewise.
21255 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21257         [BZ #12650]
21258         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21259         * sysdeps/ia64/dl-tls.h: Likewise.
21260         * sysdeps/powerpc/dl-tls.h: Likewise.
21261         * sysdeps/s390/dl-tls.h: Likewise.
21262         * sysdeps/sh/dl-tls.h: Likewise.
21263         * sysdeps/sparc/dl-tls.h: Likewise.
21264         * sysdeps/x86_64/dl-tls.h: Likewise.
21265         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21267 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21269         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21270         rpath element also skip the following colon.
21271         (expand_dynamic_string_token): Add is_path parameter and pass
21272         down to DL_DST_REQUIRED and _dl_dst_substitute.
21273         (decompose_rpath): Call expand_dynamic_string_token with
21274         non-zero is_path.  Ignore empty rpaths.
21275         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21276         with zero is_path.
21278 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21281         Make cancelable.
21283 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21285         [BZ #12655]
21286         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21287         Patch by Filipe David Manana <fdmanana@apache.org>.
21289 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21292         Maintain aligned stack.
21293         (CHECK_RSP): Remove unused macro.
21295 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21297         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21298         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21300 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21302         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21304         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21306 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21308         [BZ #12518]
21309         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21310         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21311         * sysdeps/x86_64/memmove.c: New file.
21312         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21313         (memcpy): Renamed to ...
21314         (__new_memcpy): This.
21315         (memcpy): Provide GLIBC_2_14 memcpy.
21316         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21317         (memcpy): Provide GLIBC_2_2_5 memcpy.
21319 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21321         [BZ #12631]
21322         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21324 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21326         * misc/syncfs.c: New file.
21327         * misc/Makefile (routines): Add syncfs.
21328         * posix/unistd.h: Declare syncfs.
21329         * sysdeps/unix/syscalls.list: Add syncfs.
21331 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21333         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21334         open_by_handle_at.
21335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21337         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21338         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21340         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21343 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21345         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21346         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21347         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21351         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21353         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21354         sync_file_range.c with -fexceptions.
21355         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21356         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21357         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21358         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21359         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21360         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21361         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21362         sync_file_range as cancellation point
21363         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21364         now a wrapper around __call_sync_file_range with cancellation handling.
21365         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21366         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21367         function name to __call_sync_file_range.
21368         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21369         Add call_sync_file_range.
21371 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21374         bits/timex.h.
21376 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21378         * iconv/iconv.h: Fix typo in comment.
21379         * io/fcntl.h: Likewise.
21380         * libio/stdio.h: Likewise.
21381         * posix/spawn.h: Likewise.
21382         * posix/unistd.h: Likewise.
21383         * stdlib/stdlib.h: Likewise.
21384         * time/time.h: Likewise.
21385         * wcsmbs/wchar.h: Likewise.
21387         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21388         open_by_handle): Add.
21389         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21390         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21391         Augment a few comments.
21392         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21394         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21397         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21398         open_by_handle.
21400         * io/fcntl.h (AT_EMPTY_PATH): Define.
21402 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21404         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21405         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21406         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21407         to...
21408         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21409         * Versions.def: Add GLIBC_2.14.
21410         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21411         Export.
21413 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21415         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21416         round counter.
21417         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21419 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21421         [BZ #12597]
21422         * string/test-strncmp.c (do_page_test): New function.
21423         (check2): Likewise.
21424         (test_main): Call check2.
21425         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21427 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21429         [BZ #12587]
21430         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21431         Handle cache information in CPU leaf 4.
21432         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21434 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21436         [BZ #12583]
21437         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21438         character representation.
21439         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21441 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21443         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21444         END(__isnan) to END(__isnanf) to match function entry point/label
21445         EALIGN(__isnanf,...).
21447 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21449         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21451 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21453         [BZ #12510]
21454         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21455         copy from the symbol referenced in the relocation to initialize the
21456         used variable.
21457         Patch by Piotr Bury <pbury@goahead.com>.
21458         * elf/Makefile: Add rules to build and tst-unique3.
21459         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21460         * elf/tst-unique3.cc: New file.
21461         * elf/tst-unique3.h: New file.
21462         * elf/tst-unique3lib.cc: New file.
21463         * elf/tst-unique3lib2.cc: New file.
21465         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21467 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21469         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21470         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21471         to _start.
21473 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21475         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21476         to-be-loaded object along a path to loader is ld.so.
21478 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21479             Ulrich Drepper  <drepper@gmail.com>
21481         * sysdeps/x86_64/memset.S: After aligning destination, code
21482         branches to different locations depending on the value of
21483         misalignment, when multiarch is enabled. Fix this.
21485 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21487         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21488         Set _x86_64_preferred_memory_instruction for AMD processsors.
21489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21490         Set bit_Prefer_SSE_for_memop for AMD processors.
21492 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21494         * libio/fmemopen.c (fmemopen): Optimize a bit.
21496 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21498         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21500 2011-03-03  Roland McGrath  <roland@redhat.com>
21502         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21504 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21506         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21507         __bzero_ultra1 instead of __memset_ultra1.
21509 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21510             Ulrich Drepper  <drepper@gmail.com>
21512         [BZ #12509]
21513         * include/link.h (struct link_map): Add l_orig_initfini.
21514         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21515         returning unsuccessfully.
21516         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21517         close of a file loaded at startup, restore the original l_initfini
21518         list.
21519         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21520         list, store the pointer.
21521         * elf/Makefile ($(objpfx)noload-mem): New rule.
21522         (noload-ENV): Define.
21523         (tests): Add $(objpfx)noload-mem.
21524         * elf/noload.c: Include <memcheck.h>.
21525         (main): Call mtrace.  Close all opened handles.
21527 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21529         [BZ #12454]
21530         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21531         dependencies are missing.
21533 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21535         Fix __if_freereq crash: Unlike the generic version which uses free,
21536         Hurd needs munmap.
21537         * sysdeps/mach/hurd/ifreq.h: New file.
21539 2011-01-27  Petr Baudis  <pasky@suse.cz>
21540             Ulrich Drepper  <drepper@gmail.com>
21542         [BZ 12445]#
21543         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21544         to extend_alloca().
21545         * stdio-common/bug23.c: New file.
21546         * stdio-common/Makefile (tests): Add bug23.
21548 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21549             Ulrich Drepper  <drepper@gmail.com>
21551         [BZ #12489]
21552         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21553         before performing relro protection.  At old place add assertion
21554         to make sure nothing changed.
21556 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21557             Glauber de Oliveira Costa  <glommer@gmail.com>
21559         * elf/elf.h: Add new ARM TLS relocs.
21561 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21564         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21565         cast from r3.
21566         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21567         'tests' variable.
21568         * sysdeps/wordsize-64/tst-writev.c: New file.
21570 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21572         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21573         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21574         insns in _dl_start to prevent a TOC reference before relocs are
21575         resolved.
21577 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21579         [BZ #12469]
21580         * Makeconfig: Remove RANLIB definition.
21581         * Makerules: Don't use RANLIB.
21582         * aclocal.m4: Remove ranlib test.
21583         * configure.in: No need to check for ranlib.
21584         * elf/rtld-Rules: Don't use RANLIB.
21586 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21588         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21589         protection macro.
21590         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21591         inclusion protection macro.
21593         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21594         SIGRTMIN and SIGRTMAX and print information in that case only when
21595         SIGRTMIN is defined.
21597 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21599         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21600         arginfo fn returning -1.
21602         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21603         and thousands string is zero terminated.
21605 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21607         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21608         sysdeps/unix/sysv/linux/bits/socket.h.
21610 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21612         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21613         (__CPU_COUNT): Remove old macros.
21614         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21615         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21616         (__CPU_ALLOC, __CPU_FREE): Add macros.
21617         (__sched_cpualloc, __sched_cpufree): Add declarations.
21619 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21621         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21622         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21623         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21624         (readdhstai): Return value of addhstaiX call.
21625         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21626         (addgrbyX): Return value returned by cache_addgr.
21627         (readdgrbyname): Return value returned by addgrbyX.
21628         (readdgrbygid): Likewise.
21629         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21630         (addpwbyX): Return value returned by cache_addpw.
21631         (readdpwbyname): Return value returned by addhstbyX.
21632         (readdpwbyuid): Likewise.
21633         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21634         (addservbyX): Return value returned by cache_addserv.
21635         (readdservbyname): Return value returned by addservbyX:
21636         (readdservbyport): Likewise.
21637         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21638         (addhstbyX): Return value returned by cache_addhst.
21639         (readdhstbyname): Return value returned by addhstbyX.
21640         (readdhstbyaddr): Likewise.
21641         (readdhstbynamev6): Likewise.
21642         (readdhstbyaddrv6): Likewise.
21643         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21644         (readdinitgroups): Return value returned by addinitgroupsX.
21645         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21646         (prune_cache): Keep track of timeout value of re-added entries.
21647         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21648         * nscd/nscd.h: Adjust prototypes of readd* functions.
21650 2011-02-04  Roland McGrath  <roland@redhat.com>
21652         * nis/nis_server.c (nis_servstate): Use the right name for 0.
21653         (nis_stats): Likewise.
21654         * nis/nis_modify.c (nis_modify): Likewise.
21655         * nis/nis_remove.c (nis_remove): Likewise.
21656         * nis/nis_add.c (nis_add): Likewise.
21658         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21660         * posix/fnmatch_loop.c: Add some consts.
21662         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21664 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
21666         [BZ #12460]
21667         * config.make.in (config-cflags-novzeroupper): Define.
21668         * configure.in: Substitute libc_cv_cc_novzeroupper.
21669         * elf/Makefile (AVX-CFLAGS): Define.
21670         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21671         (CFLAGS-tst-auditmod4a.c): Likewise.
21672         (CFLAGS-tst-auditmod4b.c): Likewise.
21673         (CFLAGS-tst-auditmod6b.c): Likewise.
21674         (CFLAGS-tst-auditmod6c.c): Likewise.
21675         (CFLAGS-tst-auditmod7b.c): Likewise.
21676         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21678 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
21680         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21681         function to the callback.
21682         Patch partly by Jiri Olsa <jolsa@redhat.com>.
21684 2011-02-02  Andreas Schwab  <schwab@redhat.com>
21686         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21687         of errno.
21689 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
21691         [BZ #11724]
21692         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21693         of constructors.
21694         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21695         of destructors.
21696         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21698         [BZ #11724]
21699         * elf/Makefile: Add rules to build and run new test.
21700         * elf/tst-initorder.c: New file.
21701         * elf/tst-initorder.exp: New file.
21702         * elf/tst-initordera1.c: New file.
21703         * elf/tst-initordera2.c: New file.
21704         * elf/tst-initordera3.c: New file.
21705         * elf/tst-initordera4.c: New file.
21706         * elf/tst-initorderb1.c: New file.
21707         * elf/tst-initorderb2.c: New file.
21708         * elf/tst-order-a1.c: New file.
21709         * elf/tst-order-a2.c: New file.
21710         * elf/tst-order-a3.c: New file.
21711         * elf/tst-order-a4.c: New file.
21712         * elf/tst-order-b1.c: New file.
21713         * elf/tst-order-b2.c: New file.
21714         * elf/tst-order-main.c: New file.
21715         New test case by George Gensure <werkt0@gmail.com>.
21717 2010-10-01  Andreas Schwab  <schwab@redhat.com>
21719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21720         decoding ACE if AI_CANONIDN.
21722 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
21724         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21726 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
21728         * version.h (RELEASE): Bump for 2.13 release.
21729         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21731         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21733         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21734         MADV_NOHUGEPAGE.
21735         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21736         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21737         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21738         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21740         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21742         * posix/getconf.c: Update copyright year.
21743         * catgets/gencat.c: Likewise.
21744         * csu/version.c: Likewise.
21745         * debug/catchsegv.sh: Likewise.
21746         * debug/xtrace.sh: Likewise.
21747         * elf/ldconfig.c: Likewise.
21748         * elf/ldd.bash.in: Likewise.
21749         * elf/sprof.c (print_version): Likewise.
21750         * iconv/iconv_prog.c: Likewise.
21751         * iconv/iconvconfig.c: Likewise.
21752         * locale/programs/locale.c: Likewise.
21753         * locale/programs/localedef.c: Likewise.
21754         * malloc/memusage.sh: Likewise.
21755         * malloc/mtrace.pl: Likewise.
21756         * nscd/nscd.c (print_version): Likewise.
21757         * nss/getent.c: Likewise.
21759         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21760         PF_CAIF, and PF_ALG.
21761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21763 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
21765         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21766         (modules-names): Use them.
21767         (ifunc-test-modules, ifunc-pie-tests): Define.
21768         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21769         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21770         (test-extras): Likewise.
21771         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21772         $(compile-command.c).
21773         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21774         (all-built-dso): Define.
21775         (check-textrel.out, check-execstack.out): Depend on it.
21777         * configure.in: Don't override --enable-multi-arch.
21779 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
21781         [BZ #6812]
21782         * nscd/hstcache.c (tryagain): Define.
21783         (cache_addhst): Return tryagain not notfound for temporary errors.
21784         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21785         failed.
21787 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
21789         [BZ #10563]
21790         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21791         to make the syscall.
21792         * sysdeps/unix/sysv/linux/setgroups.c: New file.
21794         [BZ #12378]
21795         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21796         and fall back to matching as normal character if the string ends before
21797         the matching ']' is found.  This is what POSIX requires.
21798         * posix/testfnm.c: Adjust test result.
21799         * posix/globtest.sh: Adjust test result.  Add new test.
21800         * posix/tst-fnmatch.input: Likewise.
21801         * posix/tst-fnmatch2.c: Add new test.
21803 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
21805         * elf/Makefile (check-execstack): Revert last change.  Depend on
21806         check-execstack.h.
21807         (check-execstack.h): New target.
21808         (generated): Add check-execstack.h.
21809         * elf/check-execstack.c: Include "check-execstack.h".
21810         (main): Revert last change.
21811         (handle_file): Return zero if GNU_STACK is absent and
21812         DEFAULT_STACK_PERMS doesn't include PF_X.
21814 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
21816         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21817         in child fails because the descriptor is already closed.
21818         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21819         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21820         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21822         [BZ #12397]
21823         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21824         syscall.
21826         [BZ #10484]
21827         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21828         temporary buffer used to handle multi lookups locally.
21829         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21831 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21833         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21834         loader is ld.so.
21836 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
21838         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21839         alignment for SSE2.
21841 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21843         [BZ #12394]
21844         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21845         characters.  When rounding increased number of integer digits recompute
21846         number of groups.
21847         * stdio-common/tst-grouping.c: New file.
21848         * stdio-common/Makefile: Add rules to build and run tst-grouping.
21850 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
21852         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21853         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
21855         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21856         void.
21857         * bits/select.h: Likewise.
21859 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
21861         * po/ja.po: Update from translation team.
21863 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
21865         [BZ #11155]
21866         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21867         implementation just like for lxstat, fxstatat, et al.
21869 2010-12-27  Jim Meyering  <meyering@redhat.com>
21871         [BZ #12348]
21872         * posix/regexec.c (build_trtable): Return failure indication upon
21873         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
21875 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
21877         [BZ #12201]
21878         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21879         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21880         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21881         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21883         [BZ #12207]
21884         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21886         [BZ #12204]
21887         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21888         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21890 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21892         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21893         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21894         script has SORT_BY_INIT_PRIORITY.
21895         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21896         NO_CTORS_DTORS_SECTIONS is defined.
21897         * elf/soinit.c: Likewise.
21898         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21899         NO_CTORS_DTORS_SECTIONS is defined.
21900         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21901         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21902         * sysdeps/sh/init-first.c: Likewise.
21903         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21905 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
21907         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21908         always use the slow path.
21910 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
21912         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21913         similar rule which adds the sysdep directories to the header search in
21914         order to pick up the correct platform stackinfo.h.
21915         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21916         perform test if it is, otherwise return successfully without testing.
21917         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21918         DEFAULT_STACK_PERMS define in stackinfo.h.
21919         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21920         defined in stackinfo.h.
21921         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21922         DEFAULT_STACK_PERMS defined in stackinfo.h.
21923         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21924         * sysdeps/ia64/stackinfo.h: Likewise.
21925         * sysdeps/s390/stackinfo.h: Likewise.
21926         * sysdeps/sh/stackinfo.h: Likewise.
21927         * sysdeps/sparc/stackinfo.h: Likewise.
21928         * sysdeps/x86_64/stackinfo.h: Likewise.
21929         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21930         PF_X for powerpc64.  Retain PF_X for powerpc32.
21932 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
21934         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21935         accurately.
21936         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21937         GETDENTS_64BIT_ALIGNED.
21939 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
21941         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21943 2010-12-10  Andreas Schwab  <schwab@redhat.com>
21945         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21946         _GNU_SOURCE.
21948         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21949         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21950         Remove __restrict.
21951         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21952         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21954 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
21956         [BZ #11655]
21957         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21958         are initialized.
21960 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
21962         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21964 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
21966         * po/it.po: Update from translation team.
21968 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21970         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21971         unused codes.
21973 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
21975         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21977 2010-11-24  Andreas Schwab  <schwab@redhat.com>
21979         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21980         specially.
21981         (gaih_getanswer_slice): Likewise.
21983 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
21985         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21987 2010-05-31  Petr Baudis  <pasky@suse.cz>
21989         [BZ #11149]
21990         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21991         silently even in the chroot mode.
21993 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
21995         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21996         last patch a bit.  Pretty printing
21998 2010-05-31  Petr Baudis <pasky@suse.cz>
22000         [BZ #10085]
22001         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22002         initialization of skip_initgroups_dyn.
22004 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22006         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22007         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22009 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22011         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22013 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22015         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22016         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22017         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22018         ($(objpfx)tst-fnmatch-mem): New rule.
22019         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22020         * posix/tst-fnmatch.c (main): Call mtrace.
22022 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22025         Support Intel processor model 6 and model 0x2c.
22027 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22029         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22030           signed comparison.
22032 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22034         [BZ #12205]
22035         * string/test-strncasecmp.c (check_result): New function.
22036         (do_one_test): Use it.
22037         (check1): New function.
22038         (test_main): Use it.
22039         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22040         Support strcasecmp and strncasecmp.
22042 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22044         [BZ #12194]
22045         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22046         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22048 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22050         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22051         IFUNC support.
22052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22053         memset-x86-64.
22054         * sysdeps/x86_64/multiarch/bzero.S: New file.
22055         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22056         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22057         * sysdeps/x86_64/multiarch/memset.S: New file.
22058         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22060         Set bit_Prefer_SSE_for_memop for Intel processors.
22061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22062         Define.
22063         (index_Prefer_SSE_for_memop): Define.
22064         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22066 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22068         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22069         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22071 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22073         [BZ #12191]
22074         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22075         (__x86_64_raw_data_cache_size_half): Likewise.
22076         (__x86_64_raw_shared_cache_size): Likewise.
22077         (__x86_64_raw_shared_cache_size_half): Likewise.
22079         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22080         (__x86_64_raw_data_cache_size_half): Likewise.
22081         (__x86_64_raw_shared_cache_size): Likewise.
22082         (__x86_64_raw_shared_cache_size_half): Likewise.
22083         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22084         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22085         and __x86_64_raw_shared_cache_size_half.  Round
22086         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22087         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22088         to multiple of 256 bytes.
22090 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22092         [BZ #12167]
22093         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22094         of inacessible symlinks.  Verify result of symlink before returning it.
22095         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22096         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22098 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22100         * math/math.h (isinf): Fix typo in comment.
22102 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22104         * po/da.po: Update from translation team.
22106 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22108         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22109         is added to the list.
22111 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22112             Ulrich Drepper  <drepper@gmail.com>
22114         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22115         the global list here.  Move code to...
22116         (_dl_add_to_namespace_list): ...here.  New function.
22117         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22118         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22119         * elf/dl-load.c (lose): Don't remove the element from the list.
22120         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22121         (_dl_map_object): Likewise.
22123 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22125         [BZ #12159]
22126         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22127         into all bytes of SSE register.
22128         Patch by Richard Li <richardpku@gmail.com>.
22130 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22132         [BZ #12140]
22133         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22134         perturbing.
22136 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22138         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22139         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22140         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22141         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22143         submachine.
22144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22146 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22148         * include/dlfcn.h (__RTLD_SECURE): Define.
22149         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22150         mode & __RTLD_SECURE instead.
22151         (open_path): Rename preloaded parameter to secure.
22152         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22153         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22154         * elf/dl-deps.c (openaux): Likewise.
22155         * elf/rtld.c (struct map_args): Remove is_preloaded.
22156         (map_doit): Don't use it.
22157         (dl_main): Likewise.
22158         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22159         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22161 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22163         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22164         (sysd-rules-targets): Remove duplicates.
22165         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22166         rtld-%.$o dependency.
22168 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22170         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22171         _dl_map_object do it.
22173 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22175         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22176         fast fma builtins, define the macros in the C99 standard.
22177         (FP_FAST_FMAF): Likewise.
22178         (FP_FAST_FMAL): Likewise.
22179         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22181         * bits/mathdef.h: Update copyright year.
22182         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22184 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22186         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22187         builtins, define the macros in the C99 standard.
22188         (FP_FAST_FMAF): Likewise.
22189         (FP_FAST_FMAL): Likewise.
22190         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22191         multiply/add.
22192         (FP_FAST_FMAF): Likewise.
22194 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22196         [BZ #3268]
22197         * math/libm-test.inc (fma_test): Some new testcases.
22198         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22199         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22200         y and infinite z.  Do multiplication by C already in long double.
22201         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22203         y and infinite z.  Do bitwise or of inexact bit into u.d.
22204         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22205         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22206         * sysdeps/i386/fpu/s_fma.S: Removed.
22207         * sysdeps/i386/fpu/s_fmal.S: Removed.
22209 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22211         [BZ #3268]
22212         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22214         computation is not scheduled after fetestexcept.  Fix value
22215         of minimum denormal long double.
22217 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22219         [BZ #3268]
22220         * math/libm-test.inc (fma_test): Add some more tests.
22221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22222         correctly.
22224 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22226         * scripts/data/localplt-s390-linux-gnu.data: New file.
22227         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22229 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22231         [BZ #3268]
22232         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22233         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22234         instead of dbl-64.
22235         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22236         inlines.
22237         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22239         if one of x and y is very large and the other is subnormal.
22240         * sysdeps/s390/fpu/s_fmaf.c: New file.
22241         * sysdeps/s390/fpu/s_fma.c: New file.
22242         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22243         * sysdeps/powerpc/fpu/s_fma.S: New file.
22244         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22245         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22246         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22248 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22250         [BZ #3268]
22251         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22252         fma tests.
22253         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22254         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22255         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22256         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22257         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22258         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22259         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22261 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22263         [BZ #12078]
22264         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22265         * posix/bug-regex31.input: Add test case.
22267 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22269         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22270         * posix/bug-regex31.input: New file.
22272         [BZ #12078]
22273         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22274         (parse_sub_exp): Fix last change, use postorder.
22276         * posix/bug-regex31.c: New file.
22277         * posix/Makefile: Add rules to build and run bug-regex31.
22279         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22281         [BZ #12078]
22282         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22284         [BZ #12108]
22285         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22286         to have entries in sys_siglist.
22288         [BZ #12093]
22289         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22290         be NULL.
22292 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22294         [BZ #3268]
22295         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22296         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22297         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22298         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22299         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22300         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22301         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22302         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22303         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22304         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22305         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22306         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22307         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22308         * math/ftestexcept.c (fetestexcept): Likewise.
22309         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22310         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22311         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22312         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22313         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22314         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22315         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22317 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22319         [BZ #12107]
22320         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22321         newline.
22323 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22325         * string/bug-strstr1.c: New file.
22326         * string/Makefile: Add rules to build and run bug-strstr1.
22328 2010-10-05  Eric Blake  <eblake@redhat.com>
22330         [BZ #12092]
22331         * string/str-two-way.h (two_way_long_needle): Always clear memory
22332         when skipping input due to the shift table.
22334 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22336         [BZ #12005]
22337         * malloc/mcheck.c: Handle large requests.
22339         [BZ #12077]
22340         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22341         for strncmp and strncasecmp.
22342         * string/stratcliff.c: Add tests for strcmp and strncmp.
22343         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22345 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22347         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22348         __set_fpscr.
22350 2010-09-30  Andreas Jaeger  <aj@suse.de>
22352         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22353         (CGROUP_SUPER_MAGIC): Define.
22354         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22355         Handle btrfs and cgroup file systems.
22356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22357         Likewise.
22359 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22361         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22362         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22364 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22366         [BZ #12067]
22367         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22368         trying to locate the ELF header.
22370 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22372         [BZ #11611]
22373         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22374         Mask out sign-bit copies when constructing f_fsid.
22376 2010-09-24  Petr Baudis <pasky@suse.cz>
22378         * debug/stack_chk_fail_local.c: Add missing licence exception.
22379         * debug/warning-nop.c: Likewise.
22381 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22383         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22384         implementing getdents64 using getdents syscall, set d_type if
22385         __ASSUME_GETDENTS32_D_TYPE.
22387 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22389         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22390         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22392 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22394         [BZ #12037]
22395         * posix/unistd.h: Undo change of feature selection for ftruncate from
22396         2010-01-11.
22398 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22400         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22401         detection.
22403 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22405         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22406         fanotify_mark.
22407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22409 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22411         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22412         variables after CHECK_SP call.
22413         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22415 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22416             Ulrich Drepper  <drepper@redhat.com>
22418         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22419         re-relocationg ld.so.
22420         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22421         _dl_init_paths call.
22422         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22423         here anymore.
22425 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22427         * resolv/res_init.c (__res_vinit): Count the default server we added.
22429 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22430             Ulrich Drepper  <drepper@redhat.com>
22432         [BZ #11968]
22433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22434         (____longjmp_chk): Use %ebx for saving value across system call.
22435         Add unwind info.
22437 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22439         * manual/Makefile: Don't mix pattern rules with normal rules.
22441 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22443         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22444         operation.
22445         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22446         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22447         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22448         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22449         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22450         Likewise.
22452 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22454         [BZ #11979]
22455         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22456         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22458 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22460         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22461         * sysdeps/x86_64/addmul_1.S: Likewise.
22462         * sysdeps/x86_64/lshift.S: Likewise.
22463         * sysdeps/x86_64/mul_1.S: Likewise.
22464         * sysdeps/x86_64/rshift.S: Likewise.
22465         * sysdeps/x86_64/sub_n.S: Likewise.
22466         * sysdeps/x86_64/submul_1.S: Likewise.
22468 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22470         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22471         Define __sched_param instead of SCHED_* and sched_param when
22472         <bits/sched.h> is included with __need_schedparam defined.
22473         * bits/sched.h [__need_schedparam]
22474         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22475         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22476         (__defined_schedparam): Define to 1.
22477         (__sched_param): New structure, identical to sched_param.
22478         (__need_schedparam): Undefine.
22480 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22482         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22483         (epoll_create1): Declare.
22485         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22487 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22489         [BZ #7066]
22490         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22491         shifting retval into place.
22493 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22495         * nis/rpcsvc/nis.h: Update copyright notice.
22496         * nis/rpcsvc/nis.x: Likewise.
22497         * nis/rpcsvc/nis_callback.h: Likewise.
22498         * nis/rpcsvc/nis_callback.x: Likewise.
22499         * nis/rpcsvc/nis_object.x: Likewise.
22500         * nis/rpcsvc/nis_tags.h: Likewise.
22501         * nis/rpcsvc/yp.h: Likewise.
22502         * nis/rpcsvc/yp.x: Likewise.
22503         * nis/rpcsvc/ypupd.h: Likewise.
22504         * nis/yp_xdr.c: Likewise.
22505         * nis/ypupdate_xdr.c: Likewise.
22507         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22508         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22509         (pmap_getport): Use __libc_rpc_getport.
22510         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22511         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22512         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22514 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22517         fanotify_mark.
22519 2010-08-27  Roland McGrath  <roland@redhat.com>
22521         * sysdeps/i386/i686/multiarch/Makefile
22522         (CFLAGS-varshift.c): New variable.
22524 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22526         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22527         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22531         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22533 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22535         * sysdeps/x86_64/strlen.S: Unroll the loop.
22536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22537         strlen-sse2 strlen-sse2-bsf.
22538         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22539         __strlen_no_bsf if bit_Slow_BSF is set.
22540         (__strlen_sse42): Removed.
22541         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22542         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22544 2010-08-25  Roland McGrath  <roland@redhat.com>
22546         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22547         * sysdeps/x86_64/multiarch/varshift.c: New file.
22548         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22549         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22550         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22551         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22553 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22556         strlen-sse2 strlen-sse2-bsf.
22557         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22558         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22559         (__strlen_sse2): Removed.
22560         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22561         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22563         bit_Slow_BSF for Atom.
22564         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22565         (index_Slow_BSF): Define.
22566         (HAS_SLOW_BSF): Define.
22568 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22570         [BZ #10851]
22571         * resolv/res_init.c (__res_vinit): When no server address at all
22572         is given default to loopback.
22574 2010-08-24  Roland McGrath  <roland@redhat.com>
22576         * configure.in: Remove config-name.h generation.
22577         * configure: Regenerated.
22578         * config-name.in: File removed.
22579         * scripts/config-uname.sh: New file.
22580         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22581         ($(objdir)config-name.h): New target.
22583         * sunrpc/rpc_parse.h: Avoid nested comment.
22585 2010-08-24  Richard Henderson  <rth@redhat.com>
22586             Ulrich Drepper  <drepper@redhat.com>
22587             H.J. Lu  <hongjiu.lu@intel.com>
22589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22591         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22592         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22593         _mm_alignr_epi8 with _mm_loadu_si128.
22594         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22595         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22596         (__m128i_shift_right): Removed.
22597         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22598         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22599         * sysdeps/x86_64/multiarch/varshift.h: New file.
22600         * sysdeps/x86_64/multiarch/varshift.S: New file.
22602 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22604         * configure.in: Move assembler checks to before sysdep dir checking.
22606 2010-08-20  Petr Baudis  <pasky@suse.cz>
22608         * LICENSES: Sync the sunrpc license.
22610 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22612         * sunrpc/auth_des.c: Update copyright notice once again.
22613         * sunrpc/auth_none.c: Likewise.
22614         * sunrpc/auth_unix.c: Likewise.
22615         * sunrpc/authdes_prot.c: Likewise.
22616         * sunrpc/authuxprot.c: Likewise.
22617         * sunrpc/bindrsvprt.c: Likewise.
22618         * sunrpc/clnt_gen.c: Likewise.
22619         * sunrpc/clnt_perr.c: Likewise.
22620         * sunrpc/clnt_raw.c: Likewise.
22621         * sunrpc/clnt_simp.c: Likewise.
22622         * sunrpc/clnt_tcp.c: Likewise.
22623         * sunrpc/clnt_udp.c: Likewise.
22624         * sunrpc/clnt_unix.c: Likewise.
22625         * sunrpc/des_crypt.c: Likewise.
22626         * sunrpc/des_soft.c: Likewise.
22627         * sunrpc/get_myaddr.c: Likewise.
22628         * sunrpc/getrpcport.c: Likewise.
22629         * sunrpc/key_call.c: Likewise.
22630         * sunrpc/key_prot.c: Likewise.
22631         * sunrpc/openchild.c: Likewise.
22632         * sunrpc/pm_getmaps.c: Likewise.
22633         * sunrpc/pm_getport.c: Likewise.
22634         * sunrpc/pmap_clnt.c: Likewise.
22635         * sunrpc/pmap_prot.c: Likewise.
22636         * sunrpc/pmap_prot2.c: Likewise.
22637         * sunrpc/pmap_rmt.c: Likewise.
22638         * sunrpc/rpc/auth.h: Likewise.
22639         * sunrpc/rpc/auth_unix.h: Likewise.
22640         * sunrpc/rpc/clnt.h: Likewise.
22641         * sunrpc/rpc/des_crypt.h: Likewise.
22642         * sunrpc/rpc/key_prot.h: Likewise.
22643         * sunrpc/rpc/netdb.h: Likewise.
22644         * sunrpc/rpc/pmap_clnt.h: Likewise.
22645         * sunrpc/rpc/pmap_prot.h: Likewise.
22646         * sunrpc/rpc/pmap_rmt.h: Likewise.
22647         * sunrpc/rpc/rpc.h: Likewise.
22648         * sunrpc/rpc/rpc_des.h: Likewise.
22649         * sunrpc/rpc/rpc_msg.h: Likewise.
22650         * sunrpc/rpc/svc.h: Likewise.
22651         * sunrpc/rpc/svc_auth.h: Likewise.
22652         * sunrpc/rpc/types.h: Likewise.
22653         * sunrpc/rpc/xdr.h: Likewise.
22654         * sunrpc/rpc_clntout.c: Likewise.
22655         * sunrpc/rpc_cmsg.c: Likewise.
22656         * sunrpc/rpc_common.c: Likewise.
22657         * sunrpc/rpc_cout.c: Likewise.
22658         * sunrpc/rpc_dtable.c: Likewise.
22659         * sunrpc/rpc_hout.c: Likewise.
22660         * sunrpc/rpc_main.c: Likewise.
22661         * sunrpc/rpc_parse.c: Likewise.
22662         * sunrpc/rpc_parse.h: Likewise.
22663         * sunrpc/rpc_prot.c: Likewise.
22664         * sunrpc/rpc_sample.c: Likewise.
22665         * sunrpc/rpc_scan.c: Likewise.
22666         * sunrpc/rpc_scan.h: Likewise.
22667         * sunrpc/rpc_svcout.c: Likewise.
22668         * sunrpc/rpc_tblout.c: Likewise.
22669         * sunrpc/rpc_util.c: Likewise.
22670         * sunrpc/rpc_util.h: Likewise.
22671         * sunrpc/rpcinfo.c: Likewise.
22672         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22673         * sunrpc/rpcsvc/key_prot.x: Likewise.
22674         * sunrpc/rpcsvc/klm_prot.x: Likewise.
22675         * sunrpc/rpcsvc/mount.x: Likewise.
22676         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22677         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22678         * sunrpc/rpcsvc/rex.x: Likewise.
22679         * sunrpc/rpcsvc/rstat.x: Likewise.
22680         * sunrpc/rpcsvc/rusers.x: Likewise.
22681         * sunrpc/rpcsvc/sm_inter.x: Likewise.
22682         * sunrpc/rpcsvc/spray.x: Likewise.
22683         * sunrpc/rpcsvc/yppasswd.x: Likewise.
22684         * sunrpc/rtime.c: Likewise.
22685         * sunrpc/svc.c: Likewise.
22686         * sunrpc/svc_auth.c: Likewise.
22687         * sunrpc/svc_authux.c: Likewise.
22688         * sunrpc/svc_raw.c: Likewise.
22689         * sunrpc/svc_run.c: Likewise.
22690         * sunrpc/svc_simple.c: Likewise.
22691         * sunrpc/svc_tcp.c: Likewise.
22692         * sunrpc/svc_udp.c: Likewise.
22693         * sunrpc/svc_unix.c: Likewise.
22694         * sunrpc/svcauth_des.c: Likewise.
22695         * sunrpc/xcrypt.c: Likewise.
22696         * sunrpc/xdr.c: Likewise.
22697         * sunrpc/xdr_array.c: Likewise.
22698         * sunrpc/xdr_float.c: Likewise.
22699         * sunrpc/xdr_mem.c: Likewise.
22700         * sunrpc/xdr_rec.c: Likewise.
22701         * sunrpc/xdr_ref.c: Likewise.
22702         * sunrpc/xdr_sizeof.c: Likewise.
22703         * sunrpc/xdr_stdio.c: Likewise.
22705         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22706         handling.
22708 2010-08-19  Andreas Schwab  <schwab@redhat.com>
22710         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22712 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
22714         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22715         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22716         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22717         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22718         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22719         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22720         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22721         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22722         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22723         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22724         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22725         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22726         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22727         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22729 2010-07-26  Anton Blanchard  <anton@samba.org>
22731         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22732         * malloc/arena.c (heap_trim): Likewise.
22734 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
22736         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22737         here.  Not...
22738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22739         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22741 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22743         * sysdeps/i386/elf/Makefile: New file.
22745 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22747         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22748         from fanotify_init.
22749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22750         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22752 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
22754         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22755         of strncasecmp_l.
22756         * sysdeps/multiarch/strcmp.S: Likewise.
22758 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
22760         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22761         strncase_l-nonascii.
22762         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22763         Add strncase_l-ssse3.
22764         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22765         * sysdeps/x86_64/strcmp.S: Likewise.
22766         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22767         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22768         * sysdeps/x86_64/strncase.S: New file.
22769         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22770         * sysdeps/x86_64/strncase_l.S: New file.
22771         * string/Makefile (strop-tests): Add strncasecmp.
22772         * string/test-strncasecmp.c: New file.
22774         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22775         warning.
22777         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22778         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22780 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
22782         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22784 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
22786         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22787         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22788         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22790 2010-05-01  Alan Modra  <amodra@gmail.com>
22792         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22793         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22794         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22795         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22796         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22797         tidying.  Don't tail-call __sigjmp_save for static lib.
22798         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22799         save location.
22800         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22801         (CALL_MCOUNT): Add eh info, and nop after bl.
22802         (TAIL_CALL_SYSCALL_ERROR): New macro.
22803         (PSEUDO_RET): Use it.
22804         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22805         Correct save location of integer regs and cr.
22806         (_dl_profile_resolve): Correct cr save location.  Delete nops
22807         after bl when SHARED.  Reduce cfi size a little by better
22808         placement of cfi directives.
22809         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22810         make a stack frame.  Instead use parm save area as a temp.
22811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22812         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
22813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22814         Don't make a stack frame for parent, use parm save area.
22815         Increase child stack frame to 112 bytes.  Don't save unused reg,
22816         and adjust reg usage.  Set up cfi on error recovery and
22817         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22819         (__makecontext): Add dummy nop after jump to exit.
22820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22821         Use correct parm save area and cr save, reduce stack frame.
22822         Correct cfi for possible PSEUDO_RET frame setup.
22823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22824         Branch to local label emitted by PSEUDO_RET rather than
22825         __syscall_error.
22827 2010-08-12  Andreas Schwab  <schwab@redhat.com>
22829         [BZ #11904]
22830         * locale/programs/locale.c (print_assignment): New function.
22831         (show_locale_vars): Use it.
22833 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
22835         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22836         field.
22837         (struct statfs64): Likewise.
22838         (_STATFS_F_FLAGS): Define.
22839         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22840         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22841         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22842         (ST_VALID): Define locally.
22843         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22844         __statvfs_getflags, use the provided value.
22845         * sysdeps/unix/sysv/linux/kernel-features.h: Define
22846         __ASSUME_STATFS_F_FLAGS.
22848         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22850         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22851         Add sys/fanotify.h.
22852         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22853         fanotify_mask for GLIBC_2.13.
22854         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22855         fanotify_init and fanotify_mark.
22856         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22857         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22859         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22860         Add prlimit.
22861         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22862         prlimit64 for GLIBC_2.13.
22863         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22864         prlimit64.
22865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22866         syscall.
22867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22868         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22869         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22870         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
22872         add prlimit alias.
22873         * sysdeps/unix/sysv/linux/prlimit.c: New file.
22875         [BZ #11903]
22876         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22877         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22879         * nss/Makefile: Add rules to build and run tst-nss-test1.
22880         * shlib-versions: Add entry for libnss_test1.
22881         * nss/nss_test1.c: New file.
22882         * nss/tst-nss-test1.c: New file.
22884         * nss/nsswitch.c (__nss_database_custom): Define new variable.
22885         (__nss_configure_lookup): Set appropriate entry in
22886         __nss_configure_lookup to true.
22887         * nss/nsswitch.h: Define enum with indeces of databases in
22888         databases and __nss_database_custom arrays.  Declare
22889         __nss_database_custom.
22890         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22891         to avoid using nscd when custom rules are installed.
22892         * nss/getXXbyYY_r.c: Likewise.
22893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22895         * nss/nss_files/files-parse.c: Whitespace fixes.
22897 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
22899         [BZ #11883]
22900         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22901         * posix/fnmatch_loop.c: Likewise.
22903 2010-07-17  Andi Kleen  <ak@linux.intel.com>
22905         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22906         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22907         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22908         * Versions.def [GLIBC_2.13]: Add.
22910 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
22912         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22913         Also fail if tpwd after pwuid call is NULL.
22915 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22917         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22918         when converting to ms.
22920 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22922         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22923         EOPNOTSUPP errors with ENOTTY.
22924         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22925         EOPNOTSUPP errors with ENOTTY.
22927 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
22929         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22930         Add strcasecmp_l-ssse3.
22931         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22932         strcasecmp.
22933         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22934         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22935         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22937 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
22939         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22941         * string/Makefile (strop-tests): Add strcasecmp.
22942         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22943         strcasecmp_l-nonascii.
22944         (gen-as-const-headers): Add locale-defines.sym.
22945         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22946         * sysdeps/x86_64/strcasecmp.S: New file.
22947         * sysdeps/x86_64/strcasecmp_l.S: New file.
22948         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22949         * sysdeps/x86_64/locale-defines.sym: New file.
22950         * string/test-strcasecmp.c: New file.
22952         * string/test-strcasestr.c: Test both ends of the range of characters.
22953         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22955 2010-07-29  Roland McGrath  <roland@redhat.com>
22957         [BZ #11856]
22958         * manual/locale.texi (Yes-or-No Questions): Fix example code.
22960 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
22962         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22963         for ld.so.
22965 2010-07-27  Andreas Schwab  <schwab@redhat.com>
22967         * manual/memory.texi (Malloc Tunable Parameters): Document
22968         M_PERTURB.
22970 2010-07-26  Roland McGrath  <roland@redhat.com>
22972         [BZ #11840]
22973         * configure.in (-fgnu89-inline check): Set and substitute
22974         gnu89_inline, not libc_cv_gnu89_inline.
22975         * configure: Regenerated.
22976         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22978 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
22980         * string/test-strnlen.c: New file.
22981         * string/Makefile (strop-tests): Add strnlen.
22982         * string/tester.c (test_strnlen): Add a few more test cases.
22983         * string/tst-strlen.c: Better error reporting.
22985         * sysdeps/x86_64/strnlen.S: New file.
22987 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
22989         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22990         lower-latency instructions.
22992 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
22994         * string/test-strcasestr.c: New file.
22995         * string/test-strstr.c: New file.
22996         * string/Makefile (strop-tests): Add strstr and strcasestr.
22997         * string/str-two-way.h: Don't undefine MAX.
22998         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23000 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23002         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23003         strcasestr-nonascii.
23004         (CFLAGS-strcasestr-nonascii.c): Define.
23005         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23006         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23007         Remove unused attribute.
23009 2010-07-20  Roland McGrath  <roland@redhat.com>
23011         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23012         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23013         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23014         like LD_HWCAP_MASK can disable hwcaps.
23016 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23018         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23020 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23022         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23023         call in strcasestr.
23024         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23025         __strcasestr_sse42_nonascii.
23026         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23027         strcasestr-nonascii.c.
23028         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23030 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23032         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23033         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23034         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23035         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23037 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23039         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23040         fcntl.
23042 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23044         [BZ #11577]
23045         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23046         dl_signal_cerror.
23048 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23050         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23051         _PC_PIPE_BUF using F_GETPIPE_SZ.
23053 2010-07-05  Roland McGrath  <roland@redhat.com>
23055         * manual/arith.texi (Rounding Functions): Fix rint description
23056         implicit in round description.
23058 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23060         * elf/Makefile: Fix linking for a few tests to make recent linker
23061         happy.
23063 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23065         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23066         $(common-objpfx)libc_nonshared.a.
23068 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23070         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23071         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23072         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23073         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23074         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23075         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23076         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23077         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23092         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23093         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23094         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23095         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23096         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23097         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23098         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23099         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23100         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23101         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23102         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23103         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23119 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23121         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23122         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23123         * string/memmove.c (memmove): Renamed to ...
23124         (MEMMOVE): ...this.  Default to memmove.
23125         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23126         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23127         (END_CHK): Define.
23128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23129         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23130         mempcpy-ssse3-back memmove-ssse3-back.
23131         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23132         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23133         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23134         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23135         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23136         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23137         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23138         * sysdeps/x86_64/multiarch/memmove.c: New file.
23139         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23140         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23141         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23142         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23143         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23144         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23145         Define.
23146         (index_Fast_Copy_Backward): Define.
23147         (HAS_ARCH_FEATURE): Define.
23148         (HAS_FAST_REP_STRING): Define.
23149         (HAS_FAST_COPY_BACKWARD): Define.
23151 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23153         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23154         Restore proper fallback handling.
23156 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23158         [BZ #11701]
23159         * posix/group_member.c (__group_member): Correct checking loop.
23161         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23162         OOM in getpwuid_r correctly.  Return error number when the caller
23163         should return, otherwise -1.
23164         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23165         call returning > 0 value.
23166         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23168 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23170         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23171         libc_nonshared.a from targets in modules-names.
23173 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23175         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23176         requires it.
23178 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23180         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23181         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23182         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23183         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23185 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23187         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23189 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23191         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23192         and F_GETPIPE_SZ.
23193         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23194         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23195         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23197         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23198         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23200 2010-06-14  Roland McGrath  <roland@redhat.com>
23202         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23204 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23206         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23207         __REDIRECT followed by __THROW.
23208         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23209         * posix/getopt.h (getopt): Likewise.
23211 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23213         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23214         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23215         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23216         in AT_FLAGS.
23217         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23218         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23220 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23222         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23224 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23226         [BZ #11640]
23227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23228         Properly check family and model.
23230 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23232         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23234 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23236         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23238 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23240         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23241         symbol reference.
23243 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23245         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23246         symbol reference.
23248 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23250         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23251         and internal_recvmmsg.
23252         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23253         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23254         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23255         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23257         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23258         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23259         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23261 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23263         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23265 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23267         POWER7 optimizations.
23268         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23269         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23271 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23273         * version.h: Update for 2.13 development version.
23275 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23277         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23278         exceptions.  Return 0.
23280 2010-05-07  Roland McGrath  <roland@redhat.com>
23282         * elf/ldconfig.c (main): Add a const.
23284 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23286         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23287         (args_options): Add no-idn option.
23288         (ahosts_keys_int): Add idn_flags to ai_flags.
23289         (parse_option): Handle 'i' option to clear idn_flags.
23291         * malloc/malloc.c (_int_free): Possible race in the most recently
23292         added check.  Only act on the data if no current modification
23293         happened.
23295 See ChangeLog.17 for earlier changes.